1
0
mirror of https://github.com/locomotivemtl/locomotive-boilerplate.git synced 2026-01-15 00:55:08 +08:00

Improving Browserify speeds

This commit is contained in:
dominiclord
2016-04-04 20:08:01 -04:00
parent 061380abf9
commit 6d3b8134f1
3 changed files with 6 additions and 11 deletions

View File

@@ -2,8 +2,10 @@ module.exports = {
dev: {
options: {
transform: [['babelify', { presets: ['es2015'] }]],
browserifyOptions: { debug: true },
exclude: ''
watch : true, // use watchify for incremental builds!
browserifyOptions : {
debug : true // source mapping
}
},
files: {
'www/assets/scripts/app.js': [

View File

@@ -1,11 +1,4 @@
module.exports = {
javascript_app: {
files: [
'assets/scripts/**/*.js',
'!assets/scripts/vendors/*.js'
],
tasks: ['browserify:dev', 'notify:javascript']
},
javascript_vendors: {
files: [
'assets/scripts/vendors/*.js'