Skip to content

Commit

Permalink
webpack - fix regular expressions
Browse files Browse the repository at this point in the history
  • Loading branch information
jrieken committed Aug 30, 2018
1 parent 6ba2809 commit 051da84
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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/)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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/)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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/)
Expand Down

0 comments on commit 051da84

Please sign in to comment.