diff --git a/packages/core/src/server/webpack.js b/packages/core/src/server/webpack.js index f1dbe20..793532d 100644 --- a/packages/core/src/server/webpack.js +++ b/packages/core/src/server/webpack.js @@ -112,7 +112,7 @@ exports.executable = () => ([ exports.externals = nodeExternals; exports.regexFromExtensions = (exts) => ( - new RegExp(String.raw`(?:${exts.map((ext) => ext.replace('.', '\\.')).join('|')})$`) + new RegExp(String.raw`(?:${exts.map((ext) => ext.replaceAll('.', '\\.')).join('|')})$`) ); exports.webpack = webpack;