Skip to content

Commit

Permalink
Library should publish commonjs (#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
roderickhsiao committed Mar 30, 2022
1 parent 2d08bfd commit 97ae6a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-in-viewport",
"version": "1.0.0-alpha.25",
"version": "1.0.0-alpha.26",
"description": "Track React component in viewport using Intersection Observer API",
"author": "Roderick Hsiao <roderickhsiao@gmail.com>",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"esModuleInterop": true,
"isolatedModules": true,
"jsx": "react-jsx",
"module": "ESNext",
"module": "commonjs",
"moduleResolution": "node",
"noEmit": false,
"outDir": "dist/types",
Expand Down

0 comments on commit 97ae6a2

Please sign in to comment.