chore: fix NODE_OPTIONS read wrong in windows (#51327)

This commit is contained in:
kaqiinono 2024-10-22 10:01:26 +08:00 committed by GitHub
parent 1776d741ce
commit cc85109fb1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -41,7 +41,7 @@
"scripts": {
"api-collection": "antd-tools run api-collection",
"authors": "tsx scripts/generate-authors.ts",
"build": "npm run compile && NODE_OPTIONS='--max-old-space-size=4096' npm run dist",
"build": "npm run compile && cross-env NODE_OPTIONS='--max-old-space-size=4096' npm run dist",
"changelog": "npm run lint:changelog && tsx scripts/print-changelog.ts",
"check-commit": "tsx scripts/check-commit.ts",
"clean": "antd-tools run clean && rimraf es lib coverage locale dist report.html artifacts.zip oss-artifacts.zip",