Skip to content

Commit

Permalink
Fixed CJS file reference in package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
jalik committed Feb 19, 2024
1 parent 0e781c4 commit 92b731e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## v2.0.1 (2024-02-19)

- Fixed CJS file reference in package.json

## v2.0.0 (2024-02-19)

- **[BREAKING]** Use `Map` instead of `Array` to manage event listeners
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,17 @@
},
"sideEffects": false,
"esnext": "./esm/index.js",
"main": "./dist/index.js",
"main": "./cjs/index.js",
"module": "./esm/index.js",
"files": [
"/dist",
"/cjs",
"/esm"
],
"scripts": {
"build": "npm run build-cjs && npm run build-esm",
"build-cjs": "tsc -p tsconfig.cjs.json",
"build-esm": "tsc",
"clean": "rimraf ./dist ./esm",
"clean": "rimraf ./cjs ./esm",
"dev-cjs": "tsc --watch -p tsconfig.cjs.json",
"dev-esm": "tsc --watch",
"dev": "concurrently 'npm:dev-*'",
Expand Down

0 comments on commit 92b731e

Please sign in to comment.