mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-27 04:31:27 +08:00
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:
parent
3cb5530866
commit
06dd581fc3
1
.env.example
Normal file
1
.env.example
Normal file
@ -0,0 +1 @@
|
||||
NODE_OPTIONS=--max-old-space-size=8000
|
||||
1
.gitignore
vendored
1
.gitignore
vendored
@ -41,6 +41,7 @@ stats.html
|
||||
# ENV
|
||||
.env
|
||||
.env.*
|
||||
!.env.example
|
||||
|
||||
# Local
|
||||
local
|
||||
|
||||
@ -31,6 +31,12 @@ corepack prepare yarn@4.6.0 --activate
|
||||
yarn install
|
||||
```
|
||||
|
||||
### ENV
|
||||
|
||||
```bash
|
||||
copy .env.example .env
|
||||
```
|
||||
|
||||
### Start
|
||||
|
||||
```bash
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user