mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-09 00:19:13 +08:00
cleanup
This commit is contained in:
parent
d6621790ce
commit
9ba5e35dff
@ -1,6 +1,6 @@
|
||||
import { getTSFilesAndConfig, getTSProgramAndHost, getTSDiagnostics } from './helpers/typescript';
|
||||
|
||||
const tsconfigPath = 'tsconfig.check.json';
|
||||
const tsconfigPath = 'tsconfig.json';
|
||||
|
||||
const { options, fileNames } = getTSFilesAndConfig(tsconfigPath);
|
||||
const { program, host } = getTSProgramAndHost(fileNames, options);
|
||||
|
@ -43,7 +43,7 @@ await Promise.all(
|
||||
await dts(
|
||||
i.file,
|
||||
[...external, ...i.externals],
|
||||
join(import.meta.dirname, '..', 'tsconfig.build.json')
|
||||
join(import.meta.dirname, '..', 'tsconfig.json')
|
||||
);
|
||||
})
|
||||
);
|
||||
|
@ -1,11 +0,0 @@
|
||||
{
|
||||
"extends": "../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"skipDefaultLibCheck": true,
|
||||
"moduleResolution": "Bundler",
|
||||
"rootDir": ".",
|
||||
"target": "ES2022",
|
||||
"module": "ES2022"
|
||||
},
|
||||
"include": ["src/**/*"]
|
||||
}
|
@ -1,10 +0,0 @@
|
||||
{
|
||||
"extends": "../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"skipDefaultLibCheck": true,
|
||||
"moduleResolution": "Bundler",
|
||||
"target": "ES2022",
|
||||
"module": "ES2022"
|
||||
},
|
||||
"include": ["src/**/*", "*.d.ts"]
|
||||
}
|
@ -1,14 +1,8 @@
|
||||
{
|
||||
"extends": "../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"module": "ES2022",
|
||||
"moduleResolution": "Bundler",
|
||||
"paths": {
|
||||
"@storybook/core/*": ["./src/*"]
|
||||
},
|
||||
"skipDefaultLibCheck": true,
|
||||
"target": "ES2022"
|
||||
"resolveJsonModule": true,
|
||||
"module": "ES2022"
|
||||
},
|
||||
"include": ["src/**/*", "scripts/**/*", "*.d.ts"]
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user