-
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: fix incorrect CJS / ESM distribution (#17)
- Loading branch information
1 parent
3dc2804
commit 048c4ea
Showing
2 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,9 +9,9 @@ | |
"version": "1.1.0", | ||
"author": "Greg Bergé <[email protected]>", | ||
"license": "MIT", | ||
"main": "dist/index.js", | ||
"module": "dist/react-merge-refs.esm.js", | ||
"typings": "dist/index.d.ts", | ||
"main": "./dist/index.js", | ||
"exports": "./dist/index.js", | ||
"typings": "./dist/index.d.ts", | ||
"repository": "github:gregberge/react-merge-refs", | ||
"funding": { | ||
"type": "github", | ||
|
@@ -22,7 +22,7 @@ | |
"release": "standard-version && conventional-github-releaser --preset angular", | ||
"start": "tsdx watch", | ||
"test": "tsdx test", | ||
"build": "tsdx build" | ||
"build": "tsdx build --format cjs" | ||
}, | ||
"devDependencies": { | ||
"@testing-library/react": "^11.2.5", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters