diff --git a/packages/x-archetype-utils/package.json b/packages/x-archetype-utils/package.json index 011699fd76..f63f7e1871 100644 --- a/packages/x-archetype-utils/package.json +++ b/packages/x-archetype-utils/package.json @@ -26,7 +26,7 @@ }, "scripts": { "prebuild": "rimraf dist ./*.tgz", - "build": "rollup -c --bundleConfigAsCjs", + "build": "rollup -c", "build:cjs": "tsc --project tsconfig.cjs.json", "build:esm": "tsc --project tsconfig.esm.json", "postbuild": "pnpm pack", diff --git a/packages/x-archetype-utils/rollup.config.js b/packages/x-archetype-utils/rollup.config.mjs similarity index 100% rename from packages/x-archetype-utils/rollup.config.js rename to packages/x-archetype-utils/rollup.config.mjs diff --git a/packages/x-types/package.json b/packages/x-types/package.json index 12445adec8..c1c51a778f 100644 --- a/packages/x-types/package.json +++ b/packages/x-types/package.json @@ -28,8 +28,8 @@ "node": ">=18" }, "scripts": { - "build": "rollup -c --bundleConfigAsCjs && npm run gen:docs", - "build:watch": "rollup -c --bundleConfigAsCjs -w", + "build": "rollup -c && npm run gen:docs", + "build:watch": "rollup -c -w", "gen:model-docs": "api-extractor run -c x-types-extractor.json -l && api-extractor run -c schema-extractor.json -l && api-extractor run -l", "gen:typescript-docs": "api-documenter markdown -i report -o docs", "gen:docs": "npm run gen:model-docs && npm run gen:typescript-docs", diff --git a/packages/x-types/rollup.config.js b/packages/x-types/rollup.config.mjs similarity index 100% rename from packages/x-types/rollup.config.js rename to packages/x-types/rollup.config.mjs