From 68cb00d20f292d71becda58fbbb76e22e24f4705 Mon Sep 17 00:00:00 2001 From: Jiabin Peng Date: Thu, 6 Sep 2018 18:42:09 +0800 Subject: [PATCH] fix rule test for windows user --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,