Commit 826f291
committed
fix: use dynamic import for vite in development only
Static import of vite fails in production because vite is a devDependency
that gets pruned. Changed to dynamic import inside the isProduction check
so the import only happens in development.1 parent 90c6c2e commit 826f291
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | 2 | | |
4 | 3 | | |
5 | 4 | | |
| |||
12 | 11 | | |
13 | 12 | | |
14 | 13 | | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
0 commit comments