Move all static files to public/ folder and fix paths
This commit is contained in:
+2
-2
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user