esbuild icon indicating copy to clipboard operation
esbuild copied to clipboard

Css + Code splitting + dynamic-import

Open Valgrifer opened this issue 1 year ago • 0 comments

When we use the "splitting" = true options, the js files are imported dynamically and this imports css, the css is duplicated next to the parent layer which makes a dynamic call

Capture d’écran 2023-12-07 à 11 53 43

I expect that only the js file that requests it is the compiled css alongside

Capture d’écran 2023-12-07 à 11 53 43 2

Valgrifer avatar Dec 07 '23 11:12 Valgrifer