Skip to content

Commit

Permalink
chore: fix node env (#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
uyarn authored Dec 28, 2022
1 parent ea181bf commit a85c5dd
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
5 changes: 3 additions & 2 deletions .env
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
VITE_SOME_KEY=123
# 打包路径 根据项目不同按需配置
VITE_BASE_URL = ./
VITE_BASE_URL = ./

NODE_ENV=production
3 changes: 1 addition & 2 deletions .env.development
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
VITE_SOME_KEY=456
# 打包路径
VITE_BASE_URL = ./
VITE_BASE_URL= ./
5 changes: 3 additions & 2 deletions .env.site
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
VITE_SOME_KEY=123
# 打包路径 根据项目不同按需配置
VITE_BASE_URL = https://static.tdesign.tencent.com/starter/react/
VITE_BASE_URL=https://static.tdesign.tencent.com/starter/react/

NODE_ENV=production

0 comments on commit a85c5dd

Please sign in to comment.