Skip to content

Commit

Permalink
feat(rollup): update configs in x-archetype-utils & x-types packages
Browse files Browse the repository at this point in the history
- uses .mjs
- avoids using --bundleConfigAsCjs on build

EMP-2529
  • Loading branch information
annacv committed Nov 14, 2023
1 parent e9f4e78 commit 7605fe9
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/x-archetype-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions packages/x-types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
File renamed without changes.

0 comments on commit 7605fe9

Please sign in to comment.