create-lve 0.6.0 → 0.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -14,6 +14,9 @@ export default defineConfig({
|
|
|
14
14
|
plugins: [
|
|
15
15
|
/* VITE_PLUS_PLUGINS */
|
|
16
16
|
react(),
|
|
17
|
+
// lazyPlugins 返回类型与 Vite plugins 字段类型不兼容
|
|
18
|
+
// 上游 issue: vitejs/vite#22085,官方确认为已知问题
|
|
19
|
+
// see: https://github.com/voidzero-dev/vite-plus/pull/1215
|
|
17
20
|
lazyPlugins(async () => {
|
|
18
21
|
const { default: babel } = await import('@rolldown/plugin-babel')
|
|
19
22
|
return [
|
|
@@ -21,7 +24,7 @@ export default defineConfig({
|
|
|
21
24
|
presets: [reactCompilerPreset()],
|
|
22
25
|
}),
|
|
23
26
|
]
|
|
24
|
-
}),
|
|
27
|
+
}) as any,
|
|
25
28
|
],
|
|
26
29
|
resolve: {
|
|
27
30
|
tsconfigPaths: true,
|