Commit df398082 authored by Aljaž Srebrnič's avatar Aljaž Srebrnič

Add public path in webpack config

parent 26ca5bf7
...@@ -5,7 +5,8 @@ module.exports = { ...@@ -5,7 +5,8 @@ module.exports = {
entry: './assets/scripts/index.js', entry: './assets/scripts/index.js',
output: { output: {
filename: 'main.js', filename: 'main.js',
path: path.resolve(__dirname, 'build/') path: path.resolve(__dirname, 'build/'),
publicPath: '/assets/',
}, },
module: { module: {
rules: [ rules: [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment