Exclude tower.vendor.js from BrowserSync polling, remove chunk stats plugin, update ui deps

This commit is contained in:
Leigh Johnson 2016-09-07 12:12:17 -04:00
parent c3b9050773
commit ffd9c4eb4d
4 changed files with 4741 additions and 8 deletions

View File

@ -5,7 +5,10 @@ module.exports = {
http: {
bsFiles: {
src: [
'static/**/*'
'static/**/*',
'!static/tower.vendor.js',
'!static/tower.vendor.map.js',
'!static/tower.js.map'
]
},
options: {

File diff suppressed because it is too large Load Diff

View File

@ -54,6 +54,7 @@
"karma-chrome-launcher": "^1.0.1",
"karma-coverage": "^1.1.1",
"karma-firefox-launcher": "^1.0.0",
"karma-html2js-preprocessor": "^1.0.0",
"karma-jasmine": "^1.0.2",
"karma-sauce-launcher": "^1.0.0",
"karma-sourcemap-loader": "^0.3.7",
@ -61,7 +62,6 @@
"less-plugin-autoprefix": "^1.4.2",
"load-grunt-configs": "^1.0.0",
"load-grunt-tasks": "^3.5.0",
"stats-webpack-plugin": "^0.4.0",
"time-grunt": "^1.4.0",
"webpack": "^1.13.1",
"webpack-dev-server": "^1.14.1"

View File

@ -1,6 +1,5 @@
var path = require('path'),
webpack = require('webpack'),
StatsPlugin = require('stats-webpack-plugin');
webpack = require('webpack');
var vendorPkgs = [
'angular',
@ -55,9 +54,6 @@ var dev = {
}),
// (chunkName, outfileName)
new webpack.optimize.CommonsChunkPlugin('vendor', 'tower.vendor.js'),
new StatsPlugin('stats.json', {
chunkModules: true
})
],
module: {
preLoaders: [{