Convert from Webpack to Vite (#34450)

Co-authored-by: Renaud Chaput <renchap@gmail.com>
This commit is contained in:
Echo 2025-05-16 15:26:12 +02:00 committed by GitHub
parent a5a2c6dc7e
commit c4f47adb49
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
100 changed files with 2031 additions and 7424 deletions

View file

@ -2,17 +2,18 @@
"compilerOptions": {
"jsx": "react-jsx",
"target": "esnext",
"module": "CommonJS",
"moduleResolution": "node",
"module": "ES2022",
"moduleResolution": "bundler",
"allowJs": true,
"resolveJsonModule": true,
"noEmit": true,
"strict": true,
"isolatedModules": true, // Required by Vite
"noImplicitReturns": true,
"noUncheckedIndexedAccess": true,
"esModuleInterop": true,
"skipLibCheck": true,
"types": ["vitest/globals", "@types/webpack-env"],
"types": ["vite/client", "vitest/globals"],
"baseUrl": "./",
"incremental": true,
"tsBuildInfoFile": "tmp/cache/tsconfig.tsbuildinfo",
@ -26,6 +27,7 @@
},
"include": [
"vite.config.mts",
"config/vite",
"app/javascript/mastodon",
"app/javascript/entrypoints",
"app/javascript/types"