You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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: