-
-
Notifications
You must be signed in to change notification settings - Fork 286
Closed
Labels
Description
Please provide the environment you discovered this bug in.
vite 6+
Which area/package is the issue in?
vite-plugin-angular
Description
In vite 6 a breaking change was introduced. vite-plugin-angular
did not migrate this, hence potentially causing issues as shown below.
As a workaround one can add
import { defaultClientConditions } from 'vite';
...
resolve: {
conditions: [...defaultClientConditions]
}
to the vite config, though this does mix up the order of the lookup.
Please provide the exception or error you saw
Uncaught TypeError: Cannot destructure property '__extends' of 'import_tslib.default' as it is undefined.
and
Uncaught TypeError: import_tslib.default is undefined
Other information
No response
I would be willing to submit a PR to fix this issue
- Yes
- No