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:
@@ -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': [
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user