-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
4 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,3 @@ | ||
# 请在安装依赖和打包时自行切换这两份配置! | ||
|
||
# 解决国内用户 yarn 安装依赖时失败的问题 | ||
# ELECTRON_MIRROR = https://npmmirror.com/mirrors/electron/ | ||
# ELECTRON_BUILDER_BINARIES_MIRROR = https://npmmirror.com/mirrors/electron-builder-binaries/ | ||
|
||
# 解决国内用户 build 打包时下载依赖失败的问题 | ||
ELECTRON_MIRROR = https://npmmirror.com/mirrors/electron/v | ||
ELECTRON_BUILDER_BINARIES_MIRROR = https://npmmirror.com/mirrors/electron-builder-binaries/v | ||
# 解决国内用户下载 electron 相关依赖时失败的问题 | ||
ELECTRON_MIRROR = https://npmmirror.com/mirrors/electron/ | ||
ELECTRON_BUILDER_BINARIES_MIRROR = https://npmmirror.com/mirrors/electron-builder-binaries/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
> 国内环境在安装依赖和打包时,需要切换 .npmrc 文件中的镜像源配置 | ||
> 国内环境在安装依赖和打包时,需要开启 .npmrc 文件中的镜像源配置 | ||
## ⚡️ 简介 | ||
|
||
|