add declaration
This commit is contained in:
parent
ed17998303
commit
863e175f78
5 changed files with 7 additions and 4 deletions
|
|
@ -1 +1 @@
|
|||
export * from './src/index';
|
||||
export * from './dist/src/index';
|
||||
|
|
@ -6,6 +6,7 @@
|
|||
"esModuleInterop": true,
|
||||
"moduleResolution": "node",
|
||||
"resolveJsonModule": true,
|
||||
"declaration": true,
|
||||
"lib": [
|
||||
"ESNext",
|
||||
"DOM"
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
"extends": "./tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "./server/dist",
|
||||
"declarationDir": "./server/dist",
|
||||
},
|
||||
"include": ["server/src/**/*", "server/index.ts"],
|
||||
"exclude": ["node_modules"]
|
||||
|
|
|
|||
|
|
@ -1,8 +1,9 @@
|
|||
{
|
||||
"extends": "./tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "./web/dist"
|
||||
"outDir": "./web/dist",
|
||||
"declarationDir": "./web/dist",
|
||||
},
|
||||
"include": ["web/src/**/*", "web/index.ts"],
|
||||
"exclude": ["node_modules"]
|
||||
"exclude": ["node_modules"],
|
||||
}
|
||||
|
|
@ -1 +1 @@
|
|||
export * from './src/index';
|
||||
export * from './dist/src/index';
|
||||
Loading…
Add table
Reference in a new issue