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.
use something from the library, like import { DeviceHelperPlugin, TooltipDirective } from '@shopware-ag/meteor-component-library'
build the project
take a look at the resulting dist folder
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
[X] I have read and agree to follow Meteor's Code of Conduct
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
import { DeviceHelperPlugin, TooltipDirective } from '@shopware-ag/meteor-component-library'
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