diff --git a/packages/toolpad-app/browser/package.json b/packages/toolpad-app/browser/package.json deleted file mode 100644 index 4ceeba72fd2..00000000000 --- a/packages/toolpad-app/browser/package.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "commonjs", - "main": "../dist/exports/browser.js", - "types": "../dist/exports/browser.d.ts" -} diff --git a/packages/toolpad-app/canvas/package.json b/packages/toolpad-app/canvas/package.json deleted file mode 100644 index 28a0a038682..00000000000 --- a/packages/toolpad-app/canvas/package.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "commonjs", - "main": "../dist/exports/canvas.js", - "types": "../dist/exports/canvas.d.ts" -} diff --git a/packages/toolpad-app/runtime/package.json b/packages/toolpad-app/runtime/package.json deleted file mode 100644 index b9f237a45fd..00000000000 --- a/packages/toolpad-app/runtime/package.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "commonjs", - "main": "../dist/exports/runtime.js", - "types": "../dist/exports/runtime.d.ts" -} diff --git a/packages/toolpad-app/server/package.json b/packages/toolpad-app/server/package.json deleted file mode 100644 index c49a5f03ffb..00000000000 --- a/packages/toolpad-app/server/package.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "commonjs", - "main": "../dist/exports/server.cjs", - "types": "../dist/exports/server.d.ts" -} diff --git a/packages/toolpad-app/tsup.config.ts b/packages/toolpad-app/tsup.config.ts index c2c20a177ab..0def9bd3bad 100644 --- a/packages/toolpad-app/tsup.config.ts +++ b/packages/toolpad-app/tsup.config.ts @@ -46,7 +46,7 @@ export default defineConfig((options) => [ }, { entry: ['src/exports/*.ts', 'src/exports/*.tsx'], - format: ['esm', 'cjs'], + format: ['esm'], dts: true, silent: true, clean: !options.watch, diff --git a/packages/toolpad-core/browser/package.json b/packages/toolpad-core/browser/package.json deleted file mode 100644 index bf90676597a..00000000000 --- a/packages/toolpad-core/browser/package.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "main": "../dist/browser.cjs", - "types": "../dist/browser.d.ts", - "type": "commonjs" -} diff --git a/packages/toolpad-core/server/package.json b/packages/toolpad-core/server/package.json deleted file mode 100644 index 9e5c7b60ed7..00000000000 --- a/packages/toolpad-core/server/package.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "main": "../dist/server.cjs", - "types": "../dist/server.d.ts", - "type": "commonjs" -}