Skip to content

Commit

Permalink
fix: Support require
Browse files Browse the repository at this point in the history
  • Loading branch information
bharatkashyap committed Aug 8, 2024
1 parent 516f30d commit 8b5d5e4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/toolpad-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@
"./package.json": "./package.json",
".": {
"types": "./build/index.d.ts",
"default": "./build/index.js"
"import": "./build/index.js",
"require": "./build/node/index.js"
},
"./*": {
"types": "./build/*/index.d.ts",
"default": "./build/*/index.js"
"import": "./build/*/index.js",
"require": "./build/node/*/index.js"
}
},
"keywords": [
Expand Down

0 comments on commit 8b5d5e4

Please sign in to comment.