Skip to content

Commit

Permalink
fix(build): export ESM with correct import paths
Browse files Browse the repository at this point in the history
  • Loading branch information
ph-fritsche committed Apr 28, 2022
1 parent e40222c commit c1c537b
Show file tree
Hide file tree
Showing 2 changed files with 1,277 additions and 1,005 deletions.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
"idb": "^6.1.4",
"idb-keyval": "^6.0.2"
},
"peerDependencies": {
"react": ">=17"
},
"devDependencies": {
"@ph.fritsche/eslint-config": "^1.0.1",
"@ph.fritsche/scripts-config": "^2.1.1",
Expand All @@ -37,7 +40,7 @@
"typescript": "^4.4.3"
},
"scripts": {
"build": "scripts ts-build --exportsMap driver/*",
"build": "scripts ts-build2 --cjs --exportsMap driver/*",
"lint": "eslint src test",
"test": "jest"
}
Expand Down
Loading

0 comments on commit c1c537b

Please sign in to comment.