fix rule test for windows user

This commit is contained in:
Jiabin Peng 2018-09-06 18:42:09 +08:00 committed by GitHub
parent c91fcbecca
commit 68cb00d20f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,