chore: fix eslint OOM by ignoring server folder (#38589)

* chore: ignore server folder for eslint

* fix site OOM
pull/38595/head
afc163 2 years ago committed by GitHub
parent d2666a38e5
commit 75a38c5805
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -9,6 +9,7 @@ typings
es/**/*
lib/**/*
locale
server
node_modules
_site
dist

@ -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",

Loading…
Cancel
Save