diff --git a/index.js b/index.js index 414e9aec..6879a300 100644 --- a/index.js +++ b/index.js @@ -98,7 +98,7 @@ function createLoaderRules(languages, features, workers, outputPath, publicPath) }; return [ { - test: /monaco-editor\/esm\/vs\/editor\/editor.(api|main).js/, + test: /monaco-editor[/\\]esm[/\\]vs[/\\]editor[/\\]editor.(api|main).js/, use: [ { loader: INCLUDE_LOADER_PATH,