mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-08 22:39:36 +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
|
||||||
.env.*
|
.env.*
|
||||||
|
!.env.example
|
||||||
|
|
||||||
# Local
|
# Local
|
||||||
local
|
local
|
||||||
|
|||||||
@ -31,6 +31,12 @@ corepack prepare yarn@4.6.0 --activate
|
|||||||
yarn install
|
yarn install
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### ENV
|
||||||
|
|
||||||
|
```bash
|
||||||
|
copy .env.example .env
|
||||||
|
```
|
||||||
|
|
||||||
### Start
|
### Start
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
@ -188,6 +188,7 @@ const CustomTabs = styled.div`
|
|||||||
padding: 6px 0;
|
padding: 6px 0;
|
||||||
border-bottom: 1px solid var(--color-border);
|
border-bottom: 1px solid var(--color-border);
|
||||||
background: transparent;
|
background: transparent;
|
||||||
|
-webkit-app-region: no-drag;
|
||||||
[navbar-position='top'] & {
|
[navbar-position='top'] & {
|
||||||
padding-top: 2px;
|
padding-top: 2px;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user