fix: extensions
This commit is contained in:
parent
c001be6647
commit
7b38b34b1f
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user