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

Segregated output SVG files #150

Open
aravinth-r-7867 opened this issue Jan 3, 2020 · 3 comments
Open

Segregated output SVG files #150

aravinth-r-7867 opened this issue Jan 3, 2020 · 3 comments
Labels

Comments

@aravinth-r-7867
Copy link

How do I get more than one output SVG sprite files???

I want to store my final output SVG sprites based on different sections in my website. I don't want to load icons of one section in another section. We are using Ember engine technique, so each section loads as separate addon.

What I want to do is to separate my final output SVG sprite based on different sections. eg. svgs/admin, svg/support, svg/common, svg/utils.

svgJar: {
    strategy: 'symbol',

    symbol: {
      includeLoader: false,
      outputFile: '/assets/common/final.svg',
      outputFile: '/assets/admin/final.svg',
      outputFile: '/assets/support/final.svg',
    }
  }

#ember-addon #svg #ember-engine

@voltidev
Copy link
Collaborator

voltidev commented Jan 3, 2020

At this moment there's no way to do that in the addon.

@cannjeff
Copy link

Is this feature on the roadmap? Bundling all SVG's into the main vendor.js file while using engines isn't ideal.

@aravinth-r-7867
Copy link
Author

Is this feature on the roadmap? Bundling all SVG's into the main vendor.js file while using engines isn't ideal.

Yes, it also affects caching of icons when the vendor.js file undergoes frequent changes.

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

No branches or pull requests

3 participants