svg-inline-loader icon indicating copy to clipboard operation
svg-inline-loader copied to clipboard

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

Open hejamartin opened this issue 6 years ago • 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

hejamartin avatar Apr 19 '18 11:04 hejamartin

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

natew avatar May 30 '18 04:05 natew

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

Scott-MacD avatar Jan 09 '19 17:01 Scott-MacD

Same here...

pierrebiver avatar Mar 11 '19 20:03 pierrebiver

SAME HERE

kmsheng avatar Aug 03 '19 16:08 kmsheng

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

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

trakout avatar Sep 05 '19 03:09 trakout