From 57c4748393a400b6d6c031224875e9ab30aa977c Mon Sep 17 00:00:00 2001 From: constwz Date: Thu, 28 Dec 2023 11:43:47 +0800 Subject: [PATCH] fix:fix build error --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 0cae7e9755..4e7008f371 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "test:coverage": "yarn test --coverage --watchAll=false", "cmp": "./scripts/cmp.sh", "routes": "node scripts/generate-routes.js > src/config/routes.ts && prettier -w src/config/routes.ts && cat src/config/routes.ts", - "css-vars": "ts-node-esm ./scripts/css-vars.ts > ./src/styles/vars.css && prettier -w src/styles/vars.css", + "css-vars": "node --loader ts-node/esm ./scripts/css-vars.ts > ./src/styles/vars.css && prettier -w src/styles/vars.css", "generate-types": "typechain --target ethers-v5 --out-dir src/types/contracts ./node_modules/@safe-global/safe-deployments/dist/assets/**/*.json ./node_modules/@safe-global/safe-modules-deployments/dist/assets/**/*.json ./node_modules/@openzeppelin/contracts/build/contracts/ERC20.json ./node_modules/@openzeppelin/contracts/build/contracts/ERC721.json", "after-install": "yarn patch-package && yarn generate-types && yarn css-vars", "postinstall": "yarn after-install",