Skip to content

Commit 9d7e0d9

Browse files
authored
fix(NA): noParse regex for windows on kbn optimizer (#65755) (#65794)
1 parent a48c224 commit 9d7e0d9

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

packages/kbn-optimizer/src/worker/webpack.config.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,9 @@ export function getWebpackConfig(bundle: Bundle, worker: WorkerConfig) {
135135
// or which have require() statements that should be ignored because the file is
136136
// already bundled with all its necessary depedencies
137137
noParse: [
138-
/[\///]node_modules[\///]elasticsearch-browser[\///]/,
139-
/[\///]node_modules[\///]lodash[\///]index\.js$/,
140-
/[\///]node_modules[\///]vega-lib[\///]build[\///]vega\.js$/,
138+
/[\/\\]node_modules[\/\\]elasticsearch-browser[\/\\]/,
139+
/[\/\\]node_modules[\/\\]lodash[\/\\]index\.js$/,
140+
/[\/\\]node_modules[\/\\]vega-lib[\/\\]build[\/\\]vega\.js$/,
141141
],
142142

143143
rules: [

0 commit comments

Comments
 (0)