Permalink
Browse files

Enable uglify

  • Loading branch information...
koenbok committed May 28, 2016
1 parent a52a360 commit b9c33da0ce13325784ee017f0953dded760335f2
Showing with 4 additions and 6 deletions.
  1. +4 −6 gulpfile.coffee
@@ -81,14 +81,12 @@ gulp.task "webpack:release", ["version"], (callback) ->
filename: "build/framer.js"
sourceMapFilename: "[file].map"
pathinfo: false
# Uglify is disabled because it messes up the source maps in Safari.
plugins: [
new webpack.optimize.DedupePlugin(),
# new webpack.optimize.UglifyJsPlugin({
# mangle: false,
# compress: {warnings: false}
# })
new webpack.optimize.UglifyJsPlugin({
mangle: false
compress: {warnings: true}
})
]
webpackDev("webpack:release", config, callback)

0 comments on commit b9c33da

Please sign in to comment.