Skip to content

Commit

Permalink
Correct export as cjs (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
roderickhsiao committed Mar 30, 2022
1 parent 180ce45 commit da0e96a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-aspect-ratio",
"version": "1.1.1",
"version": "1.1.2",
"description": "React Component to maintain a consistent width-to-height ratio (aspect ratio), preventing cumulative layout shift.",
"author": "Roderick Hsiao <roderickhsiao@gmail.com>",
"repository": {
Expand Down Expand Up @@ -72,7 +72,6 @@
"main": "dist/index.js",
"module": "dist/es/index.js",
"types": "index.d.ts",
"type": "module",
"sideEffects": [
"*.css"
],
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"esModuleInterop": true,
"isolatedModules": true,
"jsx": "react-jsx",
"module": "ESNext",
"module": "CommonJS",
"moduleResolution": "node",
"noEmit": false,
"noImplicitAny": true,
Expand Down

0 comments on commit da0e96a

Please sign in to comment.