Skip to content

Commit 86897cf

Browse files
committed
build: run rollup after every build
1 parent 448d63a commit 86897cf

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,11 +145,12 @@
145145
"backoffice:test:e2e": "npx playwright test",
146146
"build-storybook": "npm run wc-analyze && storybook build",
147147
"build:for:cms": "npm run build && npm run build:workspaces && npm run generate:manifest && npm run package:validate && node ./devops/build/copy-to-cms.js",
148-
"build:for:npm": "tsc --project ./src/tsconfig.build.json --declaration && rollup -c ./src/rollup.config.js && npm run generate:manifest && npm run package:validate",
148+
"build:for:npm": "npm run build -- --declaration && npm run generate:manifest && npm run package:validate",
149149
"build:for:static": "vite build",
150150
"build:vite": "tsc && vite build --mode staging",
151151
"build:workspaces": "npm run build -ws --if-present",
152-
"build": "tsc --project ./src/tsconfig.build.json && rollup -c ./src/rollup.config.js",
152+
"build": "tsc --project ./src/tsconfig.build.json",
153+
"postbuild": "rollup -c ./src/rollup.config.js",
153154
"check": "npm run lint:errors && npm run compile && npm run build-storybook && npm run generate:jsonschema:dist",
154155
"check:paths": "node ./devops/build/check-path-length.js dist-cms 120",
155156
"compile": "tsc",

0 commit comments

Comments
 (0)