[Bug]: meteor-component-library bundles all instead of used meteor icons #278
Labels
enhancement
New feature or request
package: components
@meteor/components
package: icon-kit
@meteor/icon-kit
status: in validation
The team will validate this issue
type: bug 🐛
Something isn't working
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
The text was updated successfully, but these errors were encountered: