okikio/bundlejs

Build client (browser) package version

thetarnav opened this issue · 1 comments

I'm trying to get the size of client side bundle, but bundlejs keeps fetching server entries instead.
Is there a way to apply the browser export condition properly? I remember this working fine a while ago.

https://bundlejs.com/?q=%40solid-primitives%2Ftransition-group&config=%7B"esbuild"%3A%7B"minify"%3Afalse%2C"conditions"%3A%5B"browser"%5D%2C"external"%3A%5B"solid-js"%5D%7D%7D

image

image

Here is how the export conditions are configured: https://github.com/solidjs-community/solid-primitives/blob/main/packages/transition-group/package.json
Haven't experienced issues with picking up the export conditions when bundling apps, but maybe I'm missing some convention?