diff --git a/gulpfile.js b/gulpfile.js index 9d2a0627..7dd4f031 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -4,7 +4,6 @@ var jshint = require('gulp-jshint') var jsonlint = require('gulp-jsonlint') var standard = require('gulp-standard') var webpack = require('webpack') -var ngAnnotatePlugin = require('ng-annotate-webpack-plugin') var webpackConfig = require('./webpack.config').webpack var webpackStatusConfig = require('./res/common/status/webpack.config') var gettext = require('gulp-angular-gettext') @@ -130,12 +129,6 @@ gulp.task("webpack:build", function (callback) { "NODE_ENV": JSON.stringify('production') } }) - //new webpack.optimize.DedupePlugin(), - //new ngAnnotatePlugin({ - // add: true, - //}) - // TODO: mangle when ngmin works - //new webpack.optimize.UglifyJsPlugin({mangle: false}) ) myConfig.devtool = false @@ -164,10 +157,7 @@ gulp.task("webpack:others", function (callback) { "process.env": { "NODE_ENV": JSON.stringify('production') } - }), - new webpack.optimize.DedupePlugin() -// new ngminPlugin(), -// new webpack.optimize.UglifyJsPlugin({mangle: false}) + }) ) myConfig.devtool = false diff --git a/package.json b/package.json index 6c9ae3f6..86d1d6b6 100644 --- a/package.json +++ b/package.json @@ -119,7 +119,6 @@ "karma-webpack": "^1.6.0", "less": "^2.4.0", "less-loader": "^2.1.0", - "ng-annotate-webpack-plugin": "^0.1.2", "node-libs-browser": "^0.5.2", "node-sass": "^3.2.0", "phantomjs": "^1.9.18",