We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The css file won't be generated if I'm using mode: 'symbols'. It works with mode: 'sprite' all paths are fine and correct.
return gulp .src(basePath + 'img/sprite/*.svg') // build svg sprite .pipe(svgSprite({ mode: 'symbols', preview: false, svg: { symbols: 'sprite.svg', }, cssFile: '../src/scss/page/components/_icon.scss', templates: { css: require('fs').readFileSync(basePath + 'src/scss/plugins/_sprite-template.scss', 'utf-8') } })) .pipe(gulp.dest(basePath + 'img/'));
The text was updated successfully, but these errors were encountered:
Hello, I guess it's because this usage doesn't require a CSS for display. Look at the generated preview page which provides samples.
Sorry, something went wrong.
@antoinefricker You are right but how define original icon size?
No branches or pull requests
The css file won't be generated if I'm using mode: 'symbols'. It works with mode: 'sprite'
all paths are fine and correct.
The text was updated successfully, but these errors were encountered: