Skip to content

Commit

Permalink
Ensure NormalModuleReplacementPlugin regexp matches paths on Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
jdalton committed Sep 17, 2018
1 parent 161e7b5 commit 13dfe74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webpack.config.js
Expand Up @@ -123,7 +123,7 @@ const config = {
PKG_VERSION
}),
new NormalModuleReplacementPlugin(
/acorn\/src\/regexp\.js/,
/acorn[\\/]src[\\/]regexp\.js/,
path.resolve("src/acorn/replacement/regexp.js")
),
new UnusedPlugin({
Expand Down

0 comments on commit 13dfe74

Please sign in to comment.