Repository navigation
chore(deps): Upgrade to Vite 6 and related dependencies - #1496
Conversation
✅ Deploy Preview for creative-fairy-df92c4 ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
@wxt-dev/auto-icons
@wxt-dev/i18n
@wxt-dev/module-react
@wxt-dev/module-solid
@wxt-dev/module-svelte
@wxt-dev/module-vue
@wxt-dev/storage
@wxt-dev/unocss
wxt
commit: |
|
|
||
| export default defineBuildConfig({ | ||
| rootDir: 'modules', | ||
| rootDir: resolve(__dirname, 'modules'), |
There was a problem hiding this comment.
Not using an absolute path caused build to fail on unbuild 3.5
|
|
||
| export default defineBuildConfig({ | ||
| rootDir: 'modules', | ||
| rootDir: resolve(__dirname, 'modules'), |
There was a problem hiding this comment.
Not using an absolute path caused build to fail on unbuild 3.5
| migratedValue; | ||
| } catch (err) { | ||
| throw Error(`v${migrateToVersion} migration failed for "${key}"`, { | ||
| throw new MigrationError(key, migrateToVersion, { |
There was a problem hiding this comment.
Vitest 3 introduced more strict error equality checks, causing the test to fail since we weren't using the actual migration error class. Basically, the newer vitest caught a bug
| // TODO: Revert to 1 once vite is upgraded to >6.0.8 | ||
| expect([...esbuildVersions]).toHaveLength(2); |
There was a problem hiding this comment.
Currently, tsx only support esbuild 0.23 or 0.25, while vite 6.0.8 supports 0.24... So for now, there's two versions, until I can update vite to a newer version that supports 0.25 as well.
| jitiOptions: { | ||
| esmResolve: true, | ||
| }, |
| experimentalBun: false, | ||
| tryNative: false, |
There was a problem hiding this comment.
Same option, just renamed to support deno as well.
|
Thanks for helping make WXT better! |
|
Released in |
Dependencies upgraded:
vite5→6(monorepo only, you can still use vite 5+ in your own projects)@vitejs/plugin-vue5.2.0→5.2.1@vitest/coverage-v82.1.4→3.0.7c121.11.2→3.0.2chokidar3.6.0→4.0.3esbuild0.21.5→0.25.0jiti1.21.6→2.4.2tsx4.15.7→4.19.3unbuild2.0.0→3.5.0unocss0.64.0→66.0.0(monorepo only, you can still use v0.64+ in your own projects)vitepress1.5.0→1.6.3vitest2.1.4→3.0.7vitest-mock-extended2.0.2→3.0.1vitest-plugin-random-seed1.1.0→1.1.1This replaces:
This closes: