Skip to content

Commit

Permalink
fix: Support require (#3908)
Browse files Browse the repository at this point in the history
  • Loading branch information
bharatkashyap authored Aug 8, 2024
1 parent b287a93 commit 547e104
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 547e104

Please sign in to comment.