webpack-contrib/svg-inline-loader

Cannot add property value, object is not extensible

Dagniele opened this issue · 0 comments

Hi,
I receive this when running svg-inline-loader on server side. It worked fine before upgrade to webpack 4.

Module build failed: TypeError: Cannot add property value, object is not extensible
at Object.SVGInlineLoader (/home/xxx/node_modules/svg-inline-loader/index.js:61:5)

in particular is thrown by the line with:
this.value = content

Ubuntu 17
Webpack 4.5.0