ringz
ringz
+1 Emitting assets when using lib is on the top of my wish list!
**Im using this for myself** **`vite/src/node/plugins/asset.ts` line 289:** ``` if ( (config.build.lib && !config.build.lib.emitAssets) || (!file.endsWith('.svg') && content.length < Number(config.build.assetsInlineLimit)) ) ``` **`vite/src/node/build.ts` line 210:** ``` export interface LibraryOptions {...
Besides from checking `es`, this might help getting your assets emitted: https://github.com/vitejs/vite/issues/3295#issuecomment-924063684