Webpack config help - console error

[FIXED] I didn’t define the path into my webpack.config.js, so with this

output: {
    path: './js/shop/',
    filename: 'build.js'
},

It works :slight_smile:

But now I have issue with handling .svg files, basically it output this as the source of SVG icon

<img src="[object" object]="" alt="icon" class="svg-icon">

[FIXED] svg-url-loader did the trick.