-
-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
We use rollup-plugin-copy to copy Shoelace SVG icons from the depth of node-Modules into the vite dev server's public directory.
However, the plugin does not actually run in vite dev mode, it only runs in vite build. So if you never do vite build, only ever using the dev mode, the icons are missing.
One solution seems to be to add hook: "buildStart" to the rollupCopyPlugin options, but it results in slow startup.
It seems that people are recommending this other plugin that should work better / faster: https://github.com/sapphi-red/vite-plugin-static-copy
See also: vitejs/vite#16138
Metadata
Metadata
Assignees
Labels
No labels