Skip to content

Commit

Permalink
Merge pull request #24 from PenghaiZhang/feat/include-type-definitions
Browse files Browse the repository at this point in the history
Use "rollup-plugin-typescript2" to ensure type definition files
  • Loading branch information
PenghaiZhang authored Jun 11, 2021
2 parents 2518062 + ccd7020 commit 8059e63
Show file tree
Hide file tree
Showing 3 changed files with 94 additions and 35 deletions.
125 changes: 92 additions & 33 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
},
"devDependencies": {
"@babel/core": "7.14.5",
"@rollup/plugin-typescript": "8.2.1",
"rollup-plugin-typescript2": "0.30.0",
"@storybook/addon-actions": "6.2.9",
"@storybook/addon-essentials": "6.2.9",
"@storybook/addon-links": "6.2.9",
Expand Down
2 changes: 1 addition & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import pkg from "./package.json";
import typescript from "@rollup/plugin-typescript";
import typescript from "rollup-plugin-typescript2";

export default {
input: "src/index.tsx",
Expand Down

0 comments on commit 8059e63

Please sign in to comment.