Added lazy load, visualizer and optimized bundle chunks (#635)

* Added lazy load.

* Added visualizer and improved hljs import only yaml

* Optimized manualChunks
This commit is contained in:
yuri-sakharov
2025-12-06 17:19:35 +02:00
committed by GitHub
parent 651397e2d2
commit 077582e795
15 changed files with 437 additions and 84 deletions

View File

@@ -139,6 +139,15 @@ export default defineConfig([
"tsc/config": ["error", { configFile: "./tsconfig.json" }],
},
},
{
files: ["vite.config.ts"],
languageOptions: {
parserOptions: {
project: "./tsconfig.node.json", // point to the tiny tsconfig
},
},
},
{
languageOptions: {
globals: {