Reuse tsconfig.json
This commit is contained in:
parent
7f3dab40bf
commit
d0b61ebd7d
|
@ -1,4 +1,4 @@
|
||||||
*
|
*
|
||||||
!dist/**/*
|
!dist/**/*
|
||||||
dist/tsconfig.build.tsbuildinfo
|
dist/tsconfig.tsbuildinfo
|
||||||
!package.json
|
!package.json
|
|
@ -24,7 +24,9 @@ const config = (input, outputFile, format) => ({
|
||||||
warn(warning)
|
warn(warning)
|
||||||
},
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
typescript(),
|
typescript({
|
||||||
|
moduleResolution: "node",
|
||||||
|
}),
|
||||||
resolve({
|
resolve({
|
||||||
preferBuiltins: true,
|
preferBuiltins: true,
|
||||||
browser: true,
|
browser: true,
|
||||||
|
|
|
@ -1,15 +1,9 @@
|
||||||
{
|
{
|
||||||
"include": ["src/**/*"],
|
"extends": "../../tsconfig.build.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"declaration": true,
|
|
||||||
"target": "es6",
|
|
||||||
"moduleResolution": "node",
|
|
||||||
"noImplicitAny": true,
|
|
||||||
"incremental": true,
|
|
||||||
"lib": ["dom"],
|
"lib": ["dom"],
|
||||||
"outDir": "dist",
|
"baseUrl": ".",
|
||||||
"esModuleInterop": true,
|
"outDir": "dist"
|
||||||
"types": ["node", "jest"],
|
},
|
||||||
"resolveJsonModule": true
|
"include": ["src/**/*"]
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue