Refactor dev workflow

This commit is contained in:
Nicolas Gallagher
2015-09-08 23:29:31 -07:00
parent 114fb5f8c7
commit eada8e7fc7
15 changed files with 110 additions and 96 deletions
+17
View File
@@ -0,0 +1,17 @@
var assign = require('object-assign')
var base = require('./webpack.config.base')
var constants = require('./constants')
var path = require('path')
module.exports = assign({}, base, {
devServer: {
contentBase: constants.SRC_DIRECTORY
},
entry: {
example: path.join(constants.SRC_DIRECTORY, 'example')
},
output: {
filename: 'example.js',
path: constants.DIST_DIRECTORY
}
})