Reproduce vite-chunk-import-map-shared-plugins from its authentic engineer request.
Reproduce vite-chunk-import-map-shared-plugins from its authentic engineer request.: a task in vite-selfbench (Harbor dataset). Fix build handling for chunkImportMap so it is scoped to the environment being built and works when builder.sharedPlugins is enabled. In a shared-plugin app, enabling…
The task
Fix build handling for `chunkImportMap` so it is scoped to the environment being built and works when `builder.sharedPlugins` is enabled. In a shared-plugin app, enabling chunk import maps for the client while disabling them for SSR must produce a complete client map, including extracted CSS references, without…
Part of dari-ai/vite-selfbench.