Fixed minimalist bundle not excluding ace

This commit is contained in:
jos 2016-10-28 21:28:15 +02:00
parent b179318dc6
commit a5145ca004
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ var compilerMinimalist = webpack({
}, },
plugins: [ plugins: [
bannerPlugin, 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.NormalModuleReplacementPlugin(new RegExp('^ajv$'), EMPTY),
new webpack.optimize.UglifyJsPlugin() new webpack.optimize.UglifyJsPlugin()
], ],