提交 a72ca7cc 编写于 作者: M Martin Aeschlimann

[css/html/json] adopt webpack ignore pattern to windows paths

上级 a351149e
...@@ -30,7 +30,7 @@ module.exports = withDefaults({ ...@@ -30,7 +30,7 @@ module.exports = withDefaults({
}, },
plugins: [ plugins: [
new webpack.NormalModuleReplacementPlugin( new webpack.NormalModuleReplacementPlugin(
/\/vscode-languageserver\/lib\/files\.js/, /\/|\\vscode-languageserver\/|\\lib\/|\\files\.js/,
require.resolve('./build/filesFillIn') require.resolve('./build/filesFillIn')
), ),
new webpack.IgnorePlugin(/vertx/) new webpack.IgnorePlugin(/vertx/)
......
...@@ -34,7 +34,7 @@ module.exports = withDefaults({ ...@@ -34,7 +34,7 @@ module.exports = withDefaults({
}, },
plugins: [ plugins: [
new webpack.NormalModuleReplacementPlugin( new webpack.NormalModuleReplacementPlugin(
/\/vscode-languageserver\/lib\/files\.js/, /\/|\\vscode-languageserver\/|\\lib\/|\\files\.js/,
require.resolve('./build/filesFillIn') require.resolve('./build/filesFillIn')
), ),
new webpack.IgnorePlugin(/vertx/) new webpack.IgnorePlugin(/vertx/)
......
...@@ -31,7 +31,7 @@ module.exports = withDefaults({ ...@@ -31,7 +31,7 @@ module.exports = withDefaults({
plugins: [ plugins: [
new webpack.NormalModuleReplacementPlugin( new webpack.NormalModuleReplacementPlugin(
/\/|\\vscode-languageserver\/|\\lib\/|\\files\.js/, /\/|\\vscode-languageserver\/|\\lib\/|\\files\.js/,
require.resolve('./build/files') require.resolve('./build/filesFillIn')
), ),
new webpack.IgnorePlugin(/vertx/) new webpack.IgnorePlugin(/vertx/)
], ],
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册