mirror of
https://github.com/mathuo/dockview
synced 2025-02-01 22:15:44 +00:00
feat: tsconfig adjustments
This commit is contained in:
parent
1f384c3c65
commit
36299f8c93
@ -1,25 +0,0 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"module": "ES2020",
|
||||
"declaration": true,
|
||||
"target": "es6",
|
||||
"moduleResolution": "node",
|
||||
"esModuleInterop": true,
|
||||
"downlevelIteration": true,
|
||||
"incremental": true,
|
||||
"noImplicitReturns": true,
|
||||
"noImplicitAny": true,
|
||||
"allowUnreachableCode": false,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"strict": true,
|
||||
"declarationMap": true,
|
||||
"lib": [
|
||||
"ES2015",
|
||||
"ES2016.Array.Include",
|
||||
"ES2017.String",
|
||||
"ES2018.Promise",
|
||||
"ES2019",
|
||||
"DOM",
|
||||
]
|
||||
}
|
||||
}
|
@ -55,6 +55,7 @@ function createBundle(format, options) {
|
||||
` * @license ${license}`,
|
||||
` */`,
|
||||
].join('\n'),
|
||||
sourcemap: true,
|
||||
};
|
||||
|
||||
const plugins = [
|
||||
|
@ -1,6 +1,9 @@
|
||||
{
|
||||
"extends": "../../module-build/tsconfig.esm.json",
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"module": "ES2020",
|
||||
"moduleResolution": "node",
|
||||
"target": "es6",
|
||||
"outDir": "dist/esm",
|
||||
"tsBuildInfoFile": ".build/tsconfig.tsbuildinfo.esm",
|
||||
"jsx": "react",
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"extends": "../../module-build/tsconfig.json",
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "dist/cjs",
|
||||
"tsBuildInfoFile": ".build/tsconfig.tsbuildinfo.cjs",
|
||||
|
@ -56,6 +56,7 @@ function createBundle(format, options) {
|
||||
` * @license ${license}`,
|
||||
` */`,
|
||||
].join('\n'),
|
||||
sourcemap: true,
|
||||
};
|
||||
|
||||
const plugins = [
|
||||
|
@ -1,6 +1,9 @@
|
||||
{
|
||||
"extends": "../../module-build/tsconfig.esm.json",
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"module": "ES2020",
|
||||
"moduleResolution": "node",
|
||||
"target": "es6",
|
||||
"outDir": "dist/esm",
|
||||
"tsBuildInfoFile": ".build/tsconfig.tsbuildinfo.esm",
|
||||
"jsx": "react",
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"extends": "../../module-build/tsconfig.json",
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "dist/cjs",
|
||||
"tsBuildInfoFile": ".build/tsconfig.tsbuildinfo.cjs",
|
||||
|
@ -1,25 +1,25 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"declaration": true,
|
||||
"target": "es5",
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
"sourceMap": true,
|
||||
"strict": true,
|
||||
"allowUnreachableCode": false,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"esModuleInterop": true,
|
||||
"downlevelIteration": true,
|
||||
"incremental": true,
|
||||
"sourceMap": true,
|
||||
"noImplicitReturns": true,
|
||||
"noImplicitAny": true,
|
||||
"allowUnreachableCode": false,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"strict": true,
|
||||
"declarationMap": true,
|
||||
"lib": [
|
||||
"ES2015",
|
||||
"ES2016.Array.Include",
|
||||
"ES2017.String",
|
||||
"ES2018.Promise",
|
||||
"ES2019",
|
||||
"DOM",
|
||||
"DOM"
|
||||
]
|
||||
}
|
||||
}
|
@ -4,6 +4,6 @@
|
||||
"noEmit": true,
|
||||
"allowJs": true
|
||||
},
|
||||
"extends": "./module-build/tsconfig.esm.json",
|
||||
"extends": "./tsconfig.base.json",
|
||||
"include": ["tests/**/*.ts", "tools/**/*.ts", ".eslintrc.js"]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user