File tree 3 files changed +19
-4
lines changed
3 files changed +19
-4
lines changed Original file line number Diff line number Diff line change @@ -4,8 +4,15 @@ const config: Config = {
4
4
plugins : {
5
5
typescript2 : {
6
6
tsconfigOverride : {
7
- include : [ "src" ] ,
8
- exclude : [ "**/*.test.ts" ]
7
+ useTsconfigDeclarationDir : true ,
8
+ tsconfigOverride : {
9
+ include : [ "src" ] ,
10
+ exclude : [ "**/*.test.ts" ] ,
11
+ compilerOptions : {
12
+ declaration : true ,
13
+ declarationDir : "./dist/types"
14
+ }
15
+ }
9
16
}
10
17
}
11
18
} ,
Original file line number Diff line number Diff line change @@ -4,8 +4,15 @@ const config: Config = {
4
4
plugins : {
5
5
typescript2 : {
6
6
tsconfigOverride : {
7
- include : [ "src" ] ,
8
- exclude : [ "**/*.test.ts" ]
7
+ useTsconfigDeclarationDir : true ,
8
+ tsconfigOverride : {
9
+ include : [ "src" ] ,
10
+ exclude : [ "**/*.test.ts" ] ,
11
+ compilerOptions : {
12
+ declaration : true ,
13
+ declarationDir : "./dist/types"
14
+ }
15
+ }
9
16
}
10
17
}
11
18
} ,
Original file line number Diff line number Diff line change 13
13
"module" : " dist/ad-notations.esm.js" ,
14
14
"unpkg" : " dist/ad-notations.umd.js" ,
15
15
"jsdelivr" : " dist/ad-notations.umd.js" ,
16
+ "types" : " dist/types/index.d.ts" ,
16
17
"keywords" : [
17
18
" notations" ,
18
19
" numbers"
You can’t perform that action at this time.
0 commit comments