Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
DCloud
uni-app
提交
221f22ff
U
uni-app
项目概览
DCloud
/
uni-app
6 个月 前同步成功
通知
750
Star
38709
Fork
3642
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
8
列表
看板
标记
里程碑
合并请求
1
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
U
uni-app
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
8
Issue
8
列表
看板
标记
里程碑
合并请求
1
合并请求
1
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
221f22ff
编写于
8月 26, 2019
作者:
fxy060608
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix(cli): mode and env #710
上级
9cc1a216
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
8 addition
and
18 deletion
+8
-18
packages/vue-cli-plugin-hbuilderx/index.js
packages/vue-cli-plugin-hbuilderx/index.js
+0
-5
packages/vue-cli-plugin-hbuilderx/package.json
packages/vue-cli-plugin-hbuilderx/package.json
+1
-1
packages/vue-cli-plugin-uni-optimize/index.js
packages/vue-cli-plugin-uni-optimize/index.js
+1
-6
packages/vue-cli-plugin-uni-optimize/package.json
packages/vue-cli-plugin-uni-optimize/package.json
+1
-1
packages/vue-cli-plugin-uni/commands/build.js
packages/vue-cli-plugin-uni/commands/build.js
+2
-2
packages/vue-cli-plugin-uni/index.js
packages/vue-cli-plugin-uni/index.js
+2
-2
packages/vue-cli-plugin-uni/package.json
packages/vue-cli-plugin-uni/package.json
+1
-1
未找到文件。
packages/vue-cli-plugin-hbuilderx/index.js
浏览文件 @
221f22ff
...
...
@@ -37,9 +37,4 @@ module.exports = (api, options) => { // 仅处理 app-plus 相关逻辑
plugins
}
})
}
module
.
exports
.
defaultModes
=
{
serve
:
'
development
'
,
build
:
'
production
'
}
packages/vue-cli-plugin-hbuilderx/package.json
浏览文件 @
221f22ff
{
"name"
:
"@dcloudio/vue-cli-plugin-hbuilderx"
,
"version"
:
"1.0.13
6
"
,
"version"
:
"1.0.13
7
"
,
"description"
:
"HBuilderX plugin for vue-cli 3"
,
"main"
:
"index.js"
,
"scripts"
:
{
...
...
packages/vue-cli-plugin-uni-optimize/index.js
浏览文件 @
221f22ff
...
...
@@ -11,7 +11,7 @@ const {
const
resolve
=
dir
=>
path
.
resolve
(
__dirname
,
'
./
'
,
dir
)
module
.
exports
=
(
api
,
options
)
=>
{
module
.
exports
=
(
api
,
options
)
=>
{
if
(
!
process
.
env
.
UNI_OPT_TREESHAKINGNG
)
{
return
}
...
...
@@ -90,9 +90,4 @@ module.exports = (api, options) => {
.
uses
.
delete
(
'
cache-loader
'
)
})
}
module
.
exports
.
defaultModes
=
{
'
build
'
:
'
production
'
,
'
uni-build
'
:
'
production
'
}
packages/vue-cli-plugin-uni-optimize/package.json
浏览文件 @
221f22ff
{
"name"
:
"@dcloudio/vue-cli-plugin-uni-optimize"
,
"version"
:
"
1.0.0-alpha-22120190814002
"
,
"version"
:
"
0.1.9
"
,
"description"
:
"uni-app optimize plugin for vue-cli 3"
,
"main"
:
"index.js"
,
"scripts"
:
{
...
...
packages/vue-cli-plugin-uni/commands/build.js
浏览文件 @
221f22ff
...
...
@@ -141,5 +141,5 @@ async function build (args, api, options) {
}
module
.
exports
.
defaultModes
=
{
'
uni-build
'
:
'
production
'
}
'
uni-build
'
:
process
.
env
.
NODE_ENV
}
packages/vue-cli-plugin-uni/index.js
浏览文件 @
221f22ff
...
...
@@ -30,6 +30,6 @@ module.exports = (api, options) => {
}
module
.
exports
.
defaultModes
=
{
serve
:
'
development
'
,
build
:
'
production
'
'
uni-serve
'
:
'
development
'
,
'
uni-build
'
:
process
.
env
.
NODE_ENV
}
packages/vue-cli-plugin-uni/package.json
浏览文件 @
221f22ff
{
"name"
:
"@dcloudio/vue-cli-plugin-uni"
,
"version"
:
"0.9.53
6
"
,
"version"
:
"0.9.53
7
"
,
"description"
:
"uni-app plugin for vue-cli 3"
,
"main"
:
"index.js"
,
"scripts"
:
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录