mirror of
https://github.com/openstf/stf
synced 2025-10-04 02:09:32 +02:00
Removed ng-annotate-webpack-plugin because it doesn't annotate always, and build time increases exponentially.
This commit is contained in:
parent
adce1ba835
commit
9b568dac93
2 changed files with 1 additions and 12 deletions
12
gulpfile.js
12
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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue