hyperbrew / bolt-cep

A lightning-fast boilerplate for building Adobe CEP Extensions in React, Vue, or Svelte built on Vite + TypeScript + Sass
MIT License
309 stars 40 forks source link

copyAssets when `npm run dev` not only when building #124

Closed aztack closed 4 months ago

aztack commented 7 months ago

Currently copyAssets only respected when building. But in some scenario assets copying need to be done when npm run dev started. Off course this can be done manually or with a custom vite plugin. But it would be great if it can be supported by bolt-cep through copyAssets.

justintaylor-dev commented 4 months ago

This is by design, any sort of copying of assets or modules only happens at build time. Dev is only for once you've run yarn build and you want to enable HMR.