Skip to content

Commit

Permalink
fix(Build): Specify directory for type declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
nokome committed Sep 1, 2020
1 parent 33b9969 commit 9637465
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tsconfig.browser.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"compilerOptions": {
"module": "ESNext",
"moduleResolution": "node",
"lib": ["DOM", "ES2015"]
"lib": ["DOM", "ES2015"],
"declarationDir": "dist"
},
"include": ["ts/index.browser.ts"]
}
1 change: 1 addition & 0 deletions tsconfig.lib.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"extends": "./tsconfig.json",
"compilerOptions": {
"outDir": "dist",
"declarationDir": "dist",
"module": "esnext"
},
"include": ["ts/**/*.ts"],
Expand Down

0 comments on commit 9637465

Please sign in to comment.