webpack - fix regular expressions
parent
6ba28095df
commit
051da84e0f
|
@ -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/)
|
||||
|
|
|
@ -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/)
|
||||
|
|
|
@ -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/)
|
||||
|
|
Loading…
Reference in New Issue