2022-03-16 16:16:21 +00:00
|
|
|
{
|
|
|
|
"compilerOptions": {
|
2022-04-28 15:42:55 +00:00
|
|
|
// Enable top-level await, and other modern ESM features.
|
|
|
|
"target": "ESNext",
|
|
|
|
"module": "ESNext",
|
|
|
|
// Enable node-style module resolution, for things like npm package imports.
|
2022-03-16 16:16:21 +00:00
|
|
|
"moduleResolution": "node",
|
2022-04-28 15:42:55 +00:00
|
|
|
// Enable JSON imports.
|
2022-03-29 12:18:11 +00:00
|
|
|
"resolveJsonModule": true,
|
2022-04-28 15:42:55 +00:00
|
|
|
// Enable stricter transpilation for better output.
|
|
|
|
"isolatedModules": true,
|
2022-08-05 21:46:52 +00:00
|
|
|
// Astro will directly run your TypeScript code, no transpilation needed.
|
|
|
|
"noEmit": true
|
2022-03-16 16:16:21 +00:00
|
|
|
}
|
|
|
|
}
|