chore(env): add .env.example file and update .gitignore

- Introduced a new .env.example file with NODE_OPTIONS configuration.
- Updated .gitignore to exclude .env.example from being ignored.
- Added instructions in dev.md for copying .env.example to .env.
This commit is contained in:
kangfenmao 2025-07-24 15:00:54 +08:00
parent 3cb5530866
commit 06dd581fc3
4 changed files with 9 additions and 0 deletions

1
.env.example Normal file
View File

@ -0,0 +1 @@
NODE_OPTIONS=--max-old-space-size=8000

1
.gitignore vendored
View File

@ -41,6 +41,7 @@ stats.html
# ENV
.env
.env.*
!.env.example
# Local
local

View File

@ -31,6 +31,12 @@ corepack prepare yarn@4.6.0 --activate
yarn install
```
### ENV
```bash
copy .env.example .env
```
### Start
```bash

View File

@ -188,6 +188,7 @@ const CustomTabs = styled.div`
padding: 6px 0;
border-bottom: 1px solid var(--color-border);
background: transparent;
-webkit-app-region: no-drag;
[navbar-position='top'] & {
padding-top: 2px;
}