webpack-contrib/svg-inline-loader

Wonderful, but raises an issue. module.exports is in it

hejamartin opened this issue · 5 comments

I am very sorry - I do believe i had this working for me.
But somehow - it have stopped working - and it gives me error like this you can see in the picture.

If I add my svg-code directly in the code . it works - but I really want to use this loader.
Is this a known issue, that is easily solved?

image

natew commented

I just saw this too. I'm on Webpack 4 did you upgrade recently as well? Perhaps that caused it.

I'm seeing this issue as well on Webpack 4.

Same here...

SAME HERE

Same, webpack 4, and instead of any XML output, I just get:

module.exports = __webpack_public_path__ + "{{image_path_redacted}}";