Closed Karbust closed 3 years ago
Usually Maximum call stack size
implies a recursion issue, so I'm unsure the problem you've described is correlated to our library. It might be a configuration issue instead (e.g. library A -> library B -> library A -> etc)
That being said, I'll address your question directly:
This low level spritesmith
doesn't generate any CSS, instead its output is an image and metadata:
https://github.com/twolfson/spritesmith/tree/3.4.0#getting-started
If you're using gulp.spritesmith
or grunt-spritesmith
, those both support custom CSS templates via the cssTemplate
parameter:
https://github.com/twolfson/gulp.spritesmith/tree/6.11.0#documentation
https://github.com/twolfson/gulp.spritesmith/tree/6.11.0#templating
Result (there's a total of 3429 icons):
Originates this error when not using CSSO:
When using CSSO the minified CSS file still has a lot of background image url, but not enough to trigger the error.
Expected
Something like this:
Environment
I'm using React, with Create React App.