Add WC_ADMIN_PHASE=core to build:feature-config

This commit is contained in:
Chi-Hsuan Huang 2022-04-14 17:25:29 +08:00
parent 075be718e9
commit 5a74e9cba6
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@
"scripts": {
"analyze": "cross-env NODE_ENV=production ANALYZE=true webpack",
"prebuild": "pnpm run install-if-deps-outdated",
"build": "pnpm run build:feature-config && cross-env NODE_ENV=production WC_ADMIN_PHASE=core webpack",
"build": "WC_ADMIN_PHASE=core pnpm run build:feature-config && cross-env NODE_ENV=production WC_ADMIN_PHASE=core webpack",
"build-storybook": "build-storybook -c ./storybook/.storybook",
"build:feature-config": "php ../woocommerce/bin/generate-feature-config.php",
"build:packages": "cross-env NODE_ENV=production pnpm run:packages -- build",