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

Cannot add property value, object is not extensible

Open Dagniele opened this issue 7 years ago • 0 comments
trafficstars

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

Dagniele avatar Apr 09 '18 11:04 Dagniele