You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do you want to request a feature, report a bug or ask a question?
Report a bug
What is the current behavior?
After upgrading to v4.1.6, calling sprite.stringify() returns no symbols.
It works without issues with v4.1.3.
What is the expected behavior?
sprite.stringify() should return stringified symbols.
Part of webpack config for svg-sprite-loader
if(env.serverSideRendering||env.storybook){return{module: {rules: [{test: /.*\.svg$/i,use: 'svg-sprite-loader',include: /assets\/glyphs/,exclude: /node_modules/,},],},};}// For client bundle, we don't want to store contents of SVG files// therefore we use extract mode to provide only "minimal" amount// of data about SVG files (viewbox, id and url)// @see https://github.com/kisenka/svg-sprite-loader#extract-configurationreturn{module: {rules: [{test: /.*\.svg$/i,loader: 'svg-sprite-loader',include: /assets\/glyphs/,exclude: /node_modules/,options: {extract: true,runtimeGenerator: require.resolve('./svgRuntimeGenerator'),},},],},plugins: [newSpriteLoaderPlugin({plainSprite: true}),],};
Please tell us about your environment:
Node.js version: 8.11.3?
webpack version: 4.38.0?
svg-sprite-loader version: 4.1.6
OS type & version: macOS 10.14.5
The text was updated successfully, but these errors were encountered:
Same question when execute SSR in nodejs. I believe this problem was introduced in PR #345 which used absolute path when import sprite.build. I have never used yarn before so I'm not able to fix it, @bimbiltu do you have any time to have a look at this bug?
Do you want to request a feature, report a bug or ask a question?
Report a bug
What is the current behavior?
After upgrading to
v4.1.6
, callingsprite.stringify()
returns no symbols.It works without issues with
v4.1.3
.What is the expected behavior?
sprite.stringify()
should return stringified symbols.Part of webpack config for
svg-sprite-loader
Please tell us about your environment:
The text was updated successfully, but these errors were encountered: