shopware / meteor

Meteor is Shopware’s open-source design system that drives our commerce solutions. Extend and customise every aspect of Shopware – create elegant, delightful, and accessible experiences. There are no limits to your imagination.
https://shopware.design
MIT License
18 stars 3 forks source link

[Bug]: meteor-component-library bundles all instead of used meteor icons #278

Open cyl3x opened 2 weeks ago

cyl3x commented 2 weeks ago

Package

@meteor/component-library

Package version

3.11.0

Link to minimal reproduction

https://stackblitz.com/edit/vitejs-vite-xmwwbk?file=src%2Fmain.js

Steps to reproduce

Actual behavior

All meteor-icons are pre-built in the dist folder of the component library. It does not matter which or if an icon is used, they will be bundled/copied with your app.

Expected behavior

Only used meteor-icons are bundled to reduce the bundle size and pollution of my project, or the meteor-icons aren't pre-built with the component library, but you have to install the meteor-icons yourself.

System Info

No response

Any additional comments?

No response

Code of Conduct