Move all static files to public/ folder and fix paths

This commit is contained in:
2016-12-28 00:50:58 -08:00
parent 83161dc7e0
commit 0ba89c8d9c
18 changed files with 18 additions and 18 deletions
+2 -2
View File
@@ -9,9 +9,9 @@ module.exports = {
'./src/index'
],
output: {
path: path.join(__dirname, 'dist'),
path: path.join(__dirname, 'public'),
filename: 'bundle.js',
publicPath: '/static/'
publicPath: ''
},
plugins: [
new webpack.HotModuleReplacementPlugin(),