Skip to content

Commit

Permalink
bring back index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
JReinhold committed Mar 7, 2024
1 parent b03c87c commit 40787fc
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
10 changes: 10 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,15 @@
},
"author": "ghengeveld",
"license": "MIT",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.js",
"import": "./dist/index.mjs",
"types": "./dist/index.d.ts"
},
"./manager": {
"types": "./dist/manager.d.ts",
"require": "./dist/manager.js",
Expand Down Expand Up @@ -69,6 +76,9 @@
"typescript": "^4.9.4"
},
"bundler": {
"exportEntries": [
"src/index.ts"
],
"managerEntries": [
"src/manager.ts"
],
Expand Down
2 changes: 2 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// make it work with --isolatedModules
export default {}

0 comments on commit 40787fc

Please sign in to comment.