diff --git a/packages/toolpad-core/package.json b/packages/toolpad-core/package.json index c8ca48c16a9..1913720c860 100644 --- a/packages/toolpad-core/package.json +++ b/packages/toolpad-core/package.json @@ -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": [