rollup-plugin-esbuild icon indicating copy to clipboard operation
rollup-plugin-esbuild copied to clipboard

update mangleCache in renderChunk

Open masx200 opened this issue 2 years ago • 2 comments

update mangleCache in renderChunk https://esbuild.github.io/api/#mangle-cache

masx200 avatar Aug 23 '22 13:08 masx200

https://github.com/egoist/rollup-plugin-esbuild/blob/fde595005c8c4b197b8780cd02f053e17504a018/src/minify.ts#L24

masx200 avatar Aug 23 '22 13:08 masx200

If you want mangleCache and parallel to be used together and you don't want to package twice after each change, you can only make mangleCache a concurrenthashmap.

masx200 avatar Aug 23 '22 14:08 masx200