fix rule test for windows user
parent
c91fcbecca
commit
68cb00d20f
2
index.js
2
index.js
|
@ -98,7 +98,7 @@ function createLoaderRules(languages, features, workers, outputPath, publicPath)
|
||||||
};
|
};
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
test: /monaco-editor\/esm\/vs\/editor\/editor.(api|main).js/,
|
test: /monaco-editor[/\\]esm[/\\]vs[/\\]editor[/\\]editor.(api|main).js/,
|
||||||
use: [
|
use: [
|
||||||
{
|
{
|
||||||
loader: INCLUDE_LOADER_PATH,
|
loader: INCLUDE_LOADER_PATH,
|
||||||
|
|
Loading…
Reference in New Issue