Skip to content

Commit c1c537b

Browse files
committed
fix(build): export ESM with correct import paths
1 parent e40222c commit c1c537b

File tree

2 files changed

+1277
-1005
lines changed

2 files changed

+1277
-1005
lines changed

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@
2020
"idb": "^6.1.4",
2121
"idb-keyval": "^6.0.2"
2222
},
23+
"peerDependencies": {
24+
"react": ">=17"
25+
},
2326
"devDependencies": {
2427
"@ph.fritsche/eslint-config": "^1.0.1",
2528
"@ph.fritsche/scripts-config": "^2.1.1",
@@ -37,7 +40,7 @@
3740
"typescript": "^4.4.3"
3841
},
3942
"scripts": {
40-
"build": "scripts ts-build --exportsMap driver/*",
43+
"build": "scripts ts-build2 --cjs --exportsMap driver/*",
4144
"lint": "eslint src test",
4245
"test": "jest"
4346
}

0 commit comments

Comments
 (0)