Skip to content

Commit

Permalink
fix(scripts): flat-web build failed on windows system (#1062)
Browse files Browse the repository at this point in the history
  • Loading branch information
BlackHole1 committed Nov 5, 2021
1 parent f4cfc14 commit 8a239fe
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion web/flat-web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"@typescript-eslint/parser": "^4.29.1",
"@vitejs/plugin-legacy": "^1.3.3",
"@vitejs/plugin-react-refresh": "^1.3.3",
"cross-env": "^7.0.3",
"dotenv": "^10.0.0",
"dotenv-expand": "^5.1.0",
"eslint": "^7.26.0",
Expand Down Expand Up @@ -81,7 +82,7 @@
"scripts": {
"postinstall": "esbuild-dev ./scripts/post-install.ts",
"start": "vite --open",
"build": "NODE_OPTIONS=\"--max-old-space-size=6144\" vite build",
"build": "cross-env NODE_OPTIONS=\"--max-old-space-size=6144\" vite build",
"serve": "vite preview",
"lint": "lint-staged"
},
Expand Down
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1111,6 +1111,11 @@
dependencies:
regenerator-runtime "^0.13.4"

"@babel/standalone@7.13.9":
version "7.13.9"
resolved "https://registry.yarnpkg.com/@babel/standalone/-/standalone-7.13.9.tgz#38e78673e19f5077f4b294ad346780634e59e276"
integrity sha512-9ZpIl8rXXQqm5OdsQVhlBSPttwabiHGPGrl5N2bIxB9XS2NJW+1oiPFgMMNd+57C/xVwsEwD2mzv0KValOwlQA==

"@babel/standalone@7.14.1":
version "7.14.1"
resolved "https://registry.yarnpkg.com/@babel/standalone/-/standalone-7.14.1.tgz#2c5f6908f03108583eea75bdcc94eb29e720fbac"
Expand Down

0 comments on commit 8a239fe

Please sign in to comment.