webpack - fix regular expressions

pull/57602/head
Johannes Rieken 2018-08-30 09:05:14 +02:00
parent 6ba28095df
commit 051da84e0f
3 changed files with 3 additions and 3 deletions

View File

@ -30,7 +30,7 @@ module.exports = withDefaults({
},
plugins: [
new webpack.NormalModuleReplacementPlugin(
/\/|\\vscode-languageserver\/|\\lib\/|\\files\.js/,
/(\/|\\)vscode-languageserver(\/|\\)lib(\/|\\)files\.js/,
require.resolve('./build/filesFillIn')
),
new webpack.IgnorePlugin(/vertx/)

View File

@ -34,7 +34,7 @@ module.exports = withDefaults({
},
plugins: [
new webpack.NormalModuleReplacementPlugin(
/\/|\\vscode-languageserver\/|\\lib\/|\\files\.js/,
/(\/|\\)vscode-languageserver(\/|\\)lib(\/|\\)files\.js/,
require.resolve('./build/filesFillIn')
),
new webpack.IgnorePlugin(/vertx/)

View File

@ -30,7 +30,7 @@ module.exports = withDefaults({
},
plugins: [
new webpack.NormalModuleReplacementPlugin(
/\/|\\vscode-languageserver\/|\\lib\/|\\files\.js/,
/(\/|\\)vscode-languageserver(\/|\\)lib(\/|\\)files\.js/,
require.resolve('./build/filesFillIn')
),
new webpack.IgnorePlugin(/vertx/)