Skip to content

Commit

Permalink
πŸ› Add sourcemap generation for minified version
Browse files Browse the repository at this point in the history
  • Loading branch information
apertureless committed Feb 9, 2018
1 parent ef52d98 commit 9f9aa23
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions build/webpack.release.min.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@ var webpack = require('webpack')

config.output.filename = config.output.filename.replace(/\.js$/, '.min.js')

delete config.devtool

config.plugins = [
new webpack.optimize.ModuleConcatenationPlugin(),
new webpack.optimize.UglifyJsPlugin({
sourceMap: false,
sourceMap: true,
compress: {
warnings: false
}
Expand Down

0 comments on commit 9f9aa23

Please sign in to comment.