mirror of
https://code.castopod.org/adaures/castopod
synced 2025-04-19 13:01:19 +00:00

- replace rollup config with vitejs - use vite dev server during development to take advantage of hot module replacement (HMR) - add vite service using Vite library to load css and js assets - update package.json scripts and remove unnecessary dependencies - update scripts/bundle-prepare.sh closes #107
34 lines
1.0 KiB
JSON
34 lines
1.0 KiB
JSON
{
|
|
"compilerOptions": {
|
|
/* Basic Options */
|
|
"module": "esnext" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */,
|
|
"lib": [
|
|
"DOM",
|
|
"DOM.Iterable",
|
|
"ESNext"
|
|
] /* Specify library files to be included in the compilation. */,
|
|
"declaration": true,
|
|
"emitDeclarationOnly": true,
|
|
"outDir": "app/Resources/types",
|
|
"rootDir": "app/Resources",
|
|
|
|
/* Strict Type-Checking Options */
|
|
"strict": true /* Enable all strict type-checking options. */,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"noImplicitReturns": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"experimentalDecorators": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
|
|
"skipLibCheck": true,
|
|
|
|
/* Module Resolution Options */
|
|
"moduleResolution": "node",
|
|
"baseUrl": "app/Resources/js" /* Base directory to resolve non-absolute module names. */
|
|
},
|
|
"include": ["app/Resources/js/**/*.ts"],
|
|
"exclude": []
|
|
}
|