27 lines
843 B
JSON
27 lines
843 B
JSON
{
|
|
"compilerOptions": {
|
|
// Enable top-level await, and other modern ESM features.
|
|
"target": "ESNext",
|
|
"module": "ESNext",
|
|
// Enable node-style module resolution, for things like npm package imports.
|
|
"moduleResolution": "node",
|
|
// Enable JSON imports.
|
|
"resolveJsonModule": true,
|
|
// Enable stricter transpilation for better output.
|
|
"isolatedModules": true,
|
|
// Add type definitions for our Vite runtime.
|
|
// "types": ["vite/client"],
|
|
// Set up path mapping to be understood similar to vite aliases
|
|
"baseUrl": ".",
|
|
// "paths": {
|
|
// "@nz-components/*": ["src/components/*"],
|
|
// "@nz-layouts/*": ["src/layouts/*"],
|
|
// "@nz-pages/*": ["src/pages/*"],
|
|
// "@nz-scripts/*": ["src/scripts/*"],
|
|
// "@nz-styles/*": ["src/styles/*"]
|
|
// },
|
|
// "extends": "astro/tsconfigs/strict",
|
|
"strictNullChecks": true
|
|
}
|
|
}
|