fix(NA): noParse regex for windows on kbn optimizer (#65755)
This commit is contained in:
parent
034f2590f1
commit
d7f847e91d
1 changed files with 3 additions and 3 deletions
|
@ -137,9 +137,9 @@ export function getWebpackConfig(bundle: Bundle, worker: WorkerConfig) {
|
|||
// or which have require() statements that should be ignored because the file is
|
||||
// already bundled with all its necessary depedencies
|
||||
noParse: [
|
||||
/[\///]node_modules[\///]elasticsearch-browser[\///]/,
|
||||
/[\///]node_modules[\///]lodash[\///]index\.js$/,
|
||||
/[\///]node_modules[\///]vega-lib[\///]build[\///]vega\.js$/,
|
||||
/[\/\\]node_modules[\/\\]elasticsearch-browser[\/\\]/,
|
||||
/[\/\\]node_modules[\/\\]lodash[\/\\]index\.js$/,
|
||||
/[\/\\]node_modules[\/\\]vega-lib[\/\\]build[\/\\]vega\.js$/,
|
||||
],
|
||||
|
||||
rules: [
|
||||
|
|
Loading…
Reference in a new issue