Add Webpack publicPath

This commit is contained in:
Dmitry Lyzo 2021-02-27 12:59:29 +03:00
parent a940d160e2
commit aa46842a53

View File

@ -78,7 +78,8 @@ module.exports = {
], ],
output: { output: {
filename: '[name].bundle.js', filename: '[name].bundle.js',
path: path.resolve(__dirname, 'dist') path: path.resolve(__dirname, 'dist'),
publicPath: ''
}, },
module: { module: {
rules: [ rules: [