diff --git a/.eslintignore b/.eslintignore index c7f30fdc33..c55492572d 100644 --- a/.eslintignore +++ b/.eslintignore @@ -9,6 +9,7 @@ typings es/**/* lib/**/* locale +server node_modules _site dist diff --git a/package.json b/package.json index 27fb18eae8..eee8aa2ea6 100644 --- a/package.json +++ b/package.json @@ -81,7 +81,7 @@ "rome:format": "rome format --write .", "prepublishOnly": "antd-tools run guard", "postpublish": "node ./scripts/post-script.js", - "site": "dumi build && cp .surgeignore _site", + "site": "npm run fix-memory-limit && dumi build && cp .surgeignore _site", "sort": "npx sort-package-json", "sort-api": "antd-tools run sort-api-table", "start": "dumi dev",