Skip to content
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

Would like an option to override the default JS outputFile (currently, 'svgs.js') #61

Open
edruder opened this issue Feb 27, 2019 · 0 comments

Comments

@edruder
Copy link

edruder commented Feb 27, 2019

The output file is hard-coded to svgs.js, in the app tree.

For projects with lots of SVG files, the size of svgs.js can be very large. Some projects don't have any SVGs on their initial page, so they could lazy load svgs.js separately from the project's main .js file and significantly decrease the time that their apps take to load, especially on a mobile device with a slower network.

broccoli-funnel doesn't seem to be able to exclude the svgs.js file, which would have been a possible solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant