Reuse tsconfig.json

This commit is contained in:
Adria Navarro 2024-12-05 13:01:47 +01:00
parent 7f3dab40bf
commit d0b61ebd7d
3 changed files with 9 additions and 13 deletions

View File

@ -1,4 +1,4 @@
*
!dist/**/*
dist/tsconfig.build.tsbuildinfo
dist/tsconfig.tsbuildinfo
!package.json

View File

@ -24,7 +24,9 @@ const config = (input, outputFile, format) => ({
warn(warning)
},
plugins: [
typescript(),
typescript({
moduleResolution: "node",
}),
resolve({
preferBuiltins: true,
browser: true,

View File

@ -1,15 +1,9 @@
{
"include": ["src/**/*"],
"extends": "../../tsconfig.build.json",
"compilerOptions": {
"declaration": true,
"target": "es6",
"moduleResolution": "node",
"noImplicitAny": true,
"incremental": true,
"lib": ["dom"],
"outDir": "dist",
"esModuleInterop": true,
"types": ["node", "jest"],
"resolveJsonModule": true
}
"baseUrl": ".",
"outDir": "dist"
},
"include": ["src/**/*"]
}