Closed thetarnav closed 1 year ago
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
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?
Sorry, for the late response. Yeah, the bundlejs website isn't up to date yet, the API is more up to date, here is the result via the API
https://deno.bundlejs.com/?q=%40solid-primitives%2Ftransition-group&config=%7B%22esbuild%22%3A%7B%22minify%22%3Afalse%2C%22conditions%22%3A%5B%22browser%22%5D%2C%22external%22%3A%5B%22solid-js%22%5D%7D%7D&file
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
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?