Skip to content

Commit

Permalink
chore: rollback to vite 5
Browse files Browse the repository at this point in the history
  • Loading branch information
ElMassimo committed Nov 9, 2024
1 parent 783607d commit 7ee01b9
Show file tree
Hide file tree
Showing 7 changed files with 130 additions and 60 deletions.
2 changes: 1 addition & 1 deletion packages/hydration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"svelte": "^5.1.13",
"tsup": "8.2.4",
"typescript": "^5.6.3",
"vite": "^6.0.0-beta.9",
"vite": "^5.4.10",
"vue": "^3.5.12"
}
}
4 changes: 2 additions & 2 deletions packages/iles/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"@unhead/ssr": "^1.9.16",
"@unhead/vue": "^1.9.16",
"@vitejs/plugin-vue": "^5.1.4",
"@vue/devtools-api": "^6.6.3",
"@vue/devtools-api": "^7.6.3",
"debug": "^4.3.5",
"deep-equal": "^2.2.3",
"es-module-lexer": "^1.5.4",
Expand All @@ -85,7 +85,7 @@
"picocolors": "^1.0.1",
"unist-util-visit": "^5.0.0",
"unplugin-vue-components": "^0.27.3",
"vite": "^6.0.0-beta.9",
"vite": "^5.4.10",
"vue": "^3.5.12",
"vue-router": "^4.4.0"
},
Expand Down
12 changes: 0 additions & 12 deletions packages/iles/src/node/alias.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,18 +74,6 @@ export function resolveAliases (root: string, userConfig: UserConfig): AliasOpti
'vue-router/dist/vue-router.esm-bundler.js',
),
},
// {
// find: /^@unhead\/vue$/,
// replacement: require.resolve(
// '@unhead/vue/dist/index.mjs',
// ),
// },
{
find: /^@vue\/devtools-api$/,
replacement: require.resolve(
'@vue/devtools-api/lib/esm/index.js',
),
},
{
find: /^@islands\/hydration$/,
replacement: require.resolve('@islands/hydration'),
Expand Down
1 change: 1 addition & 0 deletions packages/iles/src/node/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,7 @@ function viteConfigDefaults (root: string, userConfig: UserConfig): ViteOptions
'iles',
'@nuxt/devalue',
'@islands/hydration',
'@islands/prerender',
'vue/server-renderer',
],
},
Expand Down
2 changes: 1 addition & 1 deletion packages/mdx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,6 @@
"typescript": "^5.6.3",
"unified": "^11.0.5",
"vfile": "^6.0.2",
"vite": "^6.0.0-beta.9"
"vite": "^5.4.10"
}
}
2 changes: 1 addition & 1 deletion packages/prerender/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"svelte": "^5.1.13",
"tsup": "8.2.4",
"typescript": "^5.6.3",
"vite": "^6.0.0-beta.9",
"vite": "^5.4.10",
"vue": "^3.5.12"
}
}
Loading

0 comments on commit 7ee01b9

Please sign in to comment.