Skip to content

Commit

Permalink
Revert "fix: export CJS and MJS correctly"
Browse files Browse the repository at this point in the history
This reverts commit 0d821d6.
  • Loading branch information
ayan4m1 committed Oct 13, 2024
1 parent 402ee2c commit 945c503
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
],
"license": "MIT",
"main": "lib/index.cjs",
"module": "lib/index.mjs",
"module": "lib/index.js",
"name": "minestat-es",
"repository": {
"type": "git",
Expand All @@ -47,6 +47,7 @@
"test": "jest",
"version": "auto-changelog -p -b 10 -l 10 && git add CHANGELOG.md"
},
"type": "module",
"types": "lib/index.d.ts",
"version": "2.2.2",
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion rollup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default {
input: './src/index.ts',
output: [
{
file: './lib/index.mjs',
file: './lib/index.js',
format: 'esm'
},
{
Expand Down

0 comments on commit 945c503

Please sign in to comment.