add webpack configs and gulp webpack build tasks

This commit is contained in:
Berkeley Martinez
2015-07-01 15:04:13 -07:00
parent 85cf79f3d4
commit 07fc22f86a
3 changed files with 10 additions and 10 deletions

View File

@@ -14,12 +14,12 @@ var nodeModules = fs.readdirSync('node_modules')
module.exports = {
devtool: 'sourcemap',
target: 'node',
entry: './server/appEntry',
entry: './common/app',
// keeps webpack from bundling modules
externals: nodeModules,
output: {
filename: 'fcc.js',
path: path.join(__dirname, '/public/js'),
filename: 'app-stream.bundle.js',
path: path.join(__dirname, '/server'),
publicPath: 'public/'
},
module: {