Updated npm & bower dependencies.

Added ngMin webpack plugin.
This commit is contained in:
Gunther Brunner
2014-05-22 15:00:12 +09:00
parent e5cd4c855f
commit 8d6ba82126
2 changed files with 6 additions and 3 deletions

View File

@@ -10,11 +10,11 @@
"se7en-bootstrap-3": "git@ghe.amb.ca.local:stf/se7en-bootstrap-3.git#7a90ef40be7e944afae38e195dc4a74ec34cc258",
"socket.io-client": "~0.9.16",
"lodash": "~2.4.1",
"oboe": "~1.14.3",
"oboe": "~1.14.6",
"fa-borderlayout": "git@ghe.amb.ca.local:gunther-brunner/fa-borderlayout.git",
"Snap.svg": "~0.2.0",
"angular-localForage": "~0.2.1",
"ng-table": "git://github.com/esvit/ng-table.git#93b4846c346acb81f60032a00f8cbc99c98f6bf4",
"angular-localForage": "~0.2.3",
"ng-table": "git://github.com/esvit/ng-table.git#85fd295467211556bad433565ab332ce75ff40b7",
"jquery.terminal": "~0.8.7",
"stf-site": "git@ghe.amb.ca.local:stf/stf-site.git",
"angular-gettext": "~0.2.8",

View File

@@ -3,6 +3,7 @@ var gutil = require('gulp-util')
var jshint = require('gulp-jshint')
var jsonlint = require('gulp-jsonlint')
var webpack = require('webpack')
var ngminPlugin = require('ngmin-webpack-plugin')
var webpackConfig = require('./webpack.config.js')
var gettext = require('gulp-angular-gettext')
var jade = require('gulp-jade')
@@ -46,8 +47,10 @@ gulp.task("webpack:build", function (callback) {
}
}),
new webpack.optimize.DedupePlugin(),
new ngminPlugin(),
new webpack.optimize.UglifyJsPlugin()
)
myConfig.devtool = false
webpack(myConfig, function (err, stats) {
if (err) {