mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
Moved bundling to the end of prepack steps
- in its current form, bundling will happen before we build Admin - Admin complains because the version in its package.json for `@tryghost/members-csv` is different to the one linked in the monorepo - by putting bundling at the end, we write the new package versions after we've already built Admin, so this issue should go away
This commit is contained in:
parent
5a359be582
commit
e897efe842
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@
|
|||
"lint:code": "yarn lint:server && yarn lint:shared && yarn lint:frontend",
|
||||
"lint": "yarn lint:server && yarn lint:shared && yarn lint:frontend && yarn lint:test",
|
||||
"build:css": "postcss core/frontend/public/ghost.css --no-map --use cssnano -o core/frontend/public/ghost.min.css",
|
||||
"prepack": "npx --yes daniellockyer/monobundle && yarn workspace ghost-admin run build:prod && yarn build:css"
|
||||
"prepack": "yarn workspace ghost-admin run build:prod && yarn build:css && npx --yes daniellockyer/monobundle"
|
||||
},
|
||||
"engines": {
|
||||
"node": "^14.17.0 || ^16.13.0",
|
||||
|
|
Loading…
Add table
Reference in a new issue