**What** - #9338 had a regression which caused the import path in some virtual modules to be invalid on Windows. - This PR fixes the issue so we now again create the correct import paths, and adds tests to prevent this from slipping in again.
23 lines
546 B
JSON
23 lines
546 B
JSON
{
|
|
"compilerOptions": {
|
|
"outDir": "dist",
|
|
"target": "ES2020",
|
|
"module": "ES2020",
|
|
"moduleResolution": "bundler",
|
|
"skipLibCheck": true,
|
|
"isolatedModules": true,
|
|
"strict": true,
|
|
"declarationMap": true,
|
|
"declaration": true,
|
|
"sourceMap": true,
|
|
"noEmit": true,
|
|
"noUnusedLocals": true,
|
|
"esModuleInterop": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"paths": {
|
|
"@babel/types": ["../../../node_modules/@babel/types"]
|
|
}
|
|
},
|
|
"include": ["src", "vitest.config.ts", "tsup.config.ts"]
|
|
}
|