Perhaps this is a better articulation of #1276.
Until vitejs/vite#23182 is closed, subpath imports within dynamic import() will not build until Vite 8.3.
My proposal:
- When migrating, install latest Vite (probably already the case)
- If Vite 8.3 is installed, migrate alias paths within dynamic
import() to use subpath imports such as #lib
- Otherwise, use relative paths such as
../../
Perhaps this is a better articulation of #1276.
Until vitejs/vite#23182 is closed, subpath imports within dynamic
import()will not build until Vite 8.3.My proposal:
import()to use subpath imports such as#lib../../