Skip to content

Commit

Permalink
change to CommonJS
Browse files Browse the repository at this point in the history
  • Loading branch information
YoelNaki committed Nov 17, 2023
1 parent 847b091 commit 6477bce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "test-package-yoel-test",
"version": "0.0.35",
"description": "",
"type": "module",
"type": "commonjs",
"main": "./lib/src/components/index.js",
"scripts": {
"prepublish": "npx tsc",
Expand Down Expand Up @@ -90,4 +90,4 @@
"pre-publish": "tsc --noEmit && lint-staged && yarn jest --bail --passWithNoTests ."
}
}
}
}
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"esModuleInterop": true,
"isolatedModules": true,
"lib": ["ESNext"],
"module":"CommonJS",
"moduleResolution": "node",
"outDir": "./lib",
"target": "ESNext",
Expand Down

0 comments on commit 6477bce

Please sign in to comment.