diff --git a/playground/package.json b/playground/package.json index c6701e6a..8b74814a 100644 --- a/playground/package.json +++ b/playground/package.json @@ -34,7 +34,6 @@ "@vitejs/plugin-vue": "^6.0.5", "@vitejs/plugin-vue-jsx": "^5.1.5", "@vue/compiler-sfc": "catalog:", - "terser": "^5.44.1", "typescript": "catalog:", "vite": "catalog:" } diff --git a/playground/vite.config.ts b/playground/vite.config.ts index 110c5e61..976603fa 100644 --- a/playground/vite.config.ts +++ b/playground/vite.config.ts @@ -95,6 +95,12 @@ export default defineConfig({ }, }, + css: { + lightningcss: { + errorRecovery: true, + }, + }, + server: { host: '0.0.0.0', port: 8098, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6f9ae8f8..b2003036 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -608,9 +608,6 @@ importers: '@vue/compiler-sfc': specifier: 'catalog:' version: 3.5.24 - terser: - specifier: ^5.44.1 - version: 5.44.1 typescript: specifier: 'catalog:' version: 5.9.3 @@ -949,9 +946,6 @@ importers: fs-extra: specifier: ^11.3.1 version: 11.3.2 - terser: - specifier: ^5.44.1 - version: 5.44.1 typescript: specifier: 'catalog:' version: 5.9.3 @@ -1053,9 +1047,6 @@ importers: rimraf: specifier: ^3.0.2 version: 3.0.2 - terser: - specifier: ^5.44.1 - version: 5.44.1 typescript: specifier: 'catalog:' version: 5.9.3 diff --git a/runtime/react/package.json b/runtime/react/package.json index a09232a8..23aefc89 100644 --- a/runtime/react/package.json +++ b/runtime/react/package.json @@ -33,7 +33,6 @@ "@vitejs/plugin-react-refresh": "^1.3.6", "fs-extra": "^11.3.1", "typescript": "catalog:", - "terser": "^5.44.1", "vite": "catalog:", "vite-plugin-commonjs": "^0.10.4" } diff --git a/runtime/react/vite.config.ts b/runtime/react/vite.config.ts index e04aeeca..7d18b91c 100644 --- a/runtime/react/vite.config.ts +++ b/runtime/react/vite.config.ts @@ -64,6 +64,12 @@ export default defineConfig({ publicDir: 'public', + css: { + lightningcss: { + errorRecovery: true, + }, + }, + server: { host: '0.0.0.0', port: 8078, diff --git a/runtime/vue/package.json b/runtime/vue/package.json index e006ccbb..8b43af62 100644 --- a/runtime/vue/package.json +++ b/runtime/vue/package.json @@ -33,7 +33,6 @@ "fs-extra": "^11.3.1", "minimist": "^1.2.8", "rimraf": "^3.0.2", - "terser": "^5.44.1", "typescript": "catalog:", "vite": "catalog:" } diff --git a/runtime/vue/vite.config.ts b/runtime/vue/vite.config.ts index e41dd3fe..9af24979 100644 --- a/runtime/vue/vite.config.ts +++ b/runtime/vue/vite.config.ts @@ -55,6 +55,13 @@ export default defineConfig({ publicDir: 'public', + css: { + lightningcss: { + errorRecovery: true, + }, + }, + + server: { host: '0.0.0.0', port: 8078,