build: fix antd generate css for production

This commit is contained in:
vchikalkin 2024-04-24 15:23:13 +03:00
parent c0f825a587
commit 8dbcf4bb7f
2 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@
"private": true,
"scripts": {
"build": "next build",
"prebuild": "ts-node --project ./tsconfig.node.json ./scripts/generate-antd-css.ts",
"prebuild": "NODE_ENV=production ts-node --project ./tsconfig.node.json ./scripts/generate-antd-css.ts",
"dev": "next dev",
"predev": "ts-node --project ./tsconfig.node.json ./scripts/generate-antd-css.ts",
"lint": "next lint",

View File

@ -3,8 +3,8 @@
"version": "2.0.0",
"private": true,
"scripts": {
"build": "dotenv -e .env turbo run build",
"prebuild": "dotenv -v NODE_ENV=production -e .env turbo run prebuild",
"build": "turbo run build",
"prebuild": "turbo run prebuild",
"clean": "turbo run clean",
"dev": "dotenv -e .env.local turbo run dev",
"predev": "dotenv -e .env.local turbo run predev",