- Updates webpack config file

- Adds an option to watch/compile just the JS files with webpack
This commit is contained in:
MrCasual
2015-10-21 15:24:51 -04:00
parent 0a771acb02
commit 0b1fc8f6c3
2 changed files with 10 additions and 1 deletions

View File

@ -6,6 +6,10 @@ var webpack = require('webpack'),
baseConfig = {
context: __dirname,
watch: {
aggregateTimeout: 300,
poll: true
},
output: {
path: './assets/js',
filename: '[name].js',
@ -84,7 +88,8 @@ config.push(_.extend({}, baseConfig, {
'newsletters/newsletters.jsx',
'segments/segments.jsx',
'forms/forms.jsx',
'settings/tabs.js'
'settings/tabs.js',
'import/import.js'
],
form_editor: [
'form_editor/form_editor.js',