Skip to content

Commit

Permalink
fix(react): fix missing types
Browse files Browse the repository at this point in the history
  • Loading branch information
Grsmto committed Jun 16, 2022
1 parent 522ddce commit 1546680
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
7 changes: 6 additions & 1 deletion packages/react/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,10 @@ export default {
sourcemap: true,
},
],
plugins: [external(), resolve(), typescript(), commonjs()],
plugins: [
external(),
resolve(),
typescript({ tsconfig: './tsconfig.json' }),
commonjs(),
],
};
4 changes: 1 addition & 3 deletions packages/react/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,5 @@
"declarationDir": "."
},
"include": ["src/*"],
"exclude": ["dist"],
"compileOnSave": false,
"buildOnSave": false
"exclude": ["dist"]
}

0 comments on commit 1546680

Please sign in to comment.