-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
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
Empty JSON output #47
Comments
Ok this is a bug that can be easily fixed, when passing both Another, less robust fix, is to try to make the regex more flexible |
This is the output of my custom SCSS template which the
|
Did you happen to figure out a workaround? Can't tell from your comments whether you found one or not. |
@misolori - No, I gave up and simply imported the SVG files directly to my React JSX files, hoping Webpack will put them inline while bundling (didn't) Technically you can set up 2 NPM scripts and have each run its own thing - |
Hi @yairEO - the current approach of parsing the output CSS using regex is clearly not very good, so since I couldn't find a neat solution for you in this case (and for the general purpose of improving the tool) I've submitted a PR to Sorry for the slow responses on the issues (I do realise you probably ended up using a completely different approach) but I do struggle with time and have no other maintainers. |
Version
package.json script:
Shell:
The generated
SCSS
is fine, with the correct icons, but the JSON file is generated with empty brackets:Happen to know why..?
The text was updated successfully, but these errors were encountered: