Created
July 11, 2017 21:13
-
-
Save kompuser/71c090b3fd2eae1de92b61beb2bc2379 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
files: { | |
javascripts: { | |
joinTo: { | |
'js/vendor.js': /^(?!app)/, | |
'js/app.js': /^app/ | |
} | |
}, | |
stylesheets: { | |
joinTo: 'css/app.css' | |
}, | |
templates: { | |
joinTo: {'js/app.js': /^app\/templates/} | |
} | |
}, | |
npm: { | |
globals: { | |
$: 'jquery', | |
Marionette: 'backbone.marionette', | |
Backbone: 'backbone' | |
} | |
}, | |
plugins: { | |
babel: { | |
presets: ['es2015'], | |
ignore: [ | |
/^(node_modules)/ | |
] | |
}, | |
postcss: { | |
processors: [ | |
require('autoprefixer')(['last 8 versions']), | |
require('csswring')() | |
] | |
}, | |
sass: { | |
options: { | |
allowCache: true, | |
sourceMapEmbed: true | |
} | |
}, | |
swPrecache: { | |
autorequire: ['public/index.html'], | |
options: { | |
staticFileGlobs: ['public/**/!(*map*)'], | |
stripPrefix: 'public/' | |
} | |
} | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment