diff --git a/gulpfile.js b/gulpfile.js index 5c6b22f..1027181 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -81,7 +81,7 @@ var compilerMinimalist = webpack({ }, plugins: [ bannerPlugin, - new webpack.NormalModuleReplacementPlugin(new RegExp('^./assets/ace$'), EMPTY), + new webpack.NormalModuleReplacementPlugin(new RegExp('/assets/ace$'), EMPTY), new webpack.NormalModuleReplacementPlugin(new RegExp('^ajv$'), EMPTY), new webpack.optimize.UglifyJsPlugin() ],