Comparing version 0.4.11 to 0.4.12
@@ -34,3 +34,4 @@ "use strict"; | ||
} | ||
plugins.push(new webpack.optimize.UglifyJsPlugin(uglifyOpts)); | ||
var UglifyJsPlugin = requireModule_1.default('uglifyjs-webpack-plugin'); | ||
plugins.push(new UglifyJsPlugin(uglifyOpts)); | ||
var loaderOpts = { minimize: true }; | ||
@@ -37,0 +38,0 @@ if (stack.hasAny('angular')) { |
{ | ||
"name": "spinjs", | ||
"version": "0.4.11", | ||
"version": "0.4.12", | ||
"scripts": { | ||
@@ -5,0 +5,0 @@ "clean": "rm -rf ./lib", |
@@ -33,3 +33,4 @@ import * as ip from 'ip'; | ||
} | ||
plugins.push(new webpack.optimize.UglifyJsPlugin(uglifyOpts)); | ||
const UglifyJsPlugin = requireModule('uglifyjs-webpack-plugin'); | ||
plugins.push(new UglifyJsPlugin(uglifyOpts)); | ||
const loaderOpts: any = { minimize: true }; | ||
@@ -36,0 +37,0 @@ if (stack.hasAny('angular')) { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
288346
4853