diff --git a/package.json b/package.json index 7b9b0ad0da1ecc45e568c8ea200f05b504ec2222..0a80a06cfafdc0337ce88a24242d9c6e8fbaa849 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "lint:style": "stylelint --fix 'src/**/*.less' --syntax less", "lint:ts": "tslint -p . -c tslint.yml", "prettier": " check-prettier write", - "site": "npm run fetch:blocks && umi build", + "site": "npm run fetch:blocks && npm run functions:build && umi build", "start": "umi dev", "start:no-mock": "cross-env MOCK=none umi dev", "test": "umi test",