Skip to content

Commit

Permalink
👷 Add netlify build & VUE_APP_SCOURCE_LINK setting 2
Browse files Browse the repository at this point in the history
  • Loading branch information
FairyEver committed May 10, 2019
1 parent 059ec9e commit ae98087
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 2 deletions.
10 changes: 10 additions & 0 deletions .env.netlify
@@ -0,0 +1,10 @@
# travis

# 指定构建模式
NODE_ENV=production

# 标记当前构建方式
VUE_APP_BUILD_MODE=NETLIFY

# 显示源码按钮
VUE_APP_SCOURCE_LINK=TRUE
2 changes: 1 addition & 1 deletion .env.nomock
Expand Up @@ -4,4 +4,4 @@
NODE_ENV=production

# 标记当前是 No Mock 构建
VUE_APP_BUILD_MODE=nomock
VUE_APP_BUILD_MODE=NOMOCK
5 changes: 4 additions & 1 deletion .env.travis
Expand Up @@ -3,5 +3,8 @@
# 指定构建模式
NODE_ENV=production

# 标记当前是 CI 自动构建
# 标记当前构建方式
VUE_APP_BUILD_MODE=TRAVIS

# 显示源码按钮
VUE_APP_SCOURCE_LINK=TRUE
3 changes: 3 additions & 0 deletions .eslintignore
Expand Up @@ -3,6 +3,9 @@ build/
tests/
node_modules/

# D2CRUD 演示
src/views/demo/d2-crud/

# node 覆盖率文件
coverage/

Expand Down

0 comments on commit ae98087

Please sign in to comment.