切换导航条
切换导航条
当前项目
正在载入...
登录
术习电报
/
electron-vue-template
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
构建
提交
问题看板
文件
提交
网络
比较
分支
标签
作者
umbrella22
2020-10-12 17:06:30 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
提交
cdb8f2e3eef8b17e2fca937c4e80a8ab5e1efde7
cdb8f2e3
1 个父辈
95e18599
更新依赖,删除废弃插件
全部展开
显示空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
15 行增加
和
20 行删除
.electron-vue/webpack.main.config.js
.electron-vue/webpack.renderer.config.js
package.json
yarn.lock
.electron-vue/webpack.main.config.js
查看文件 @
cdb8f2e
...
...
@@ -5,7 +5,6 @@ process.env.BABEL_ENV = 'main'
const
path
=
require
(
'path'
)
const
{
dependencies
}
=
require
(
'../package.json'
)
const
webpack
=
require
(
'webpack'
)
const
MinifyPlugin
=
require
(
"babel-minify-webpack-plugin"
);
const
config
=
require
(
'../config'
)
function
resolve
(
dir
)
{
...
...
@@ -91,7 +90,6 @@ if (process.env.NODE_ENV !== 'production') {
*/
if
(
process
.
env
.
NODE_ENV
===
'production'
)
{
mainConfig
.
plugins
.
push
(
new
MinifyPlugin
(),
new
webpack
.
DefinePlugin
({
'process.env.NODE_ENV'
:
'"production"'
})
...
...
.electron-vue/webpack.renderer.config.js
查看文件 @
cdb8f2e
...
...
@@ -8,7 +8,6 @@ const webpack = require('webpack')
const
config
=
require
(
'../config'
)
const
IsWeb
=
process
.
env
.
ENV_TARGET
===
'web'
const
MinifyPlugin
=
require
(
"babel-minify-webpack-plugin"
);
const
CopyWebpackPlugin
=
require
(
'copy-webpack-plugin'
)
const
MiniCssExtractPlugin
=
require
(
'mini-css-extract-plugin'
)
const
HtmlWebpackPlugin
=
require
(
'html-webpack-plugin'
)
...
...
@@ -230,7 +229,6 @@ if (process.env.NODE_ENV === 'production') {
rendererConfig
.
devtool
=
''
rendererConfig
.
plugins
.
push
(
new
MinifyPlugin
(),
new
CopyWebpackPlugin
({
patterns
:
[
{
...
...
package.json
查看文件 @
cdb8f2e
...
...
@@ -73,7 +73,7 @@
"js-cookie"
:
"^2.2.1"
,
"nprogress"
:
"^0.2.0"
,
"vue"
:
"^2.6.12"
,
"vue-router"
:
"^3.4.
5
"
,
"vue-router"
:
"^3.4.
6
"
,
"vuex"
:
"^3.5.1"
},
"devDependencies"
:
{
...
...
@@ -99,20 +99,19 @@
"@babel/preset-env"
:
"^7.11.5"
,
"@babel/register"
:
"^7.11.5"
,
"@babel/runtime"
:
"^7.11.2"
,
"@types/fs-extra"
:
"^9.0.
1
"
,
"@types/node"
:
"^14.11.
2
"
,
"ajv"
:
"^6.12.
5
"
,
"@types/fs-extra"
:
"^9.0.
2
"
,
"@types/node"
:
"^14.11.
8
"
,
"ajv"
:
"^6.12.
6
"
,
"babel-eslint"
:
"^9.0.0"
,
"babel-loader"
:
"^8.1.0"
,
"babel-minify-webpack-plugin"
:
"^0.3.1"
,
"cache-loader"
:
"^4.1.0"
,
"cfonts"
:
"^2.8.6"
,
"chalk"
:
"^4.0.0"
,
"copy-webpack-plugin"
:
"^6.
1
.1"
,
"copy-webpack-plugin"
:
"^6.
2
.1"
,
"cross-env"
:
"^7.0.2"
,
"css-loader"
:
"^4.3.0"
,
"del"
:
"^6.0.0"
,
"electron"
:
"^10.1.
2
"
,
"electron"
:
"^10.1.
3
"
,
"electron-builder"
:
"^22.8.1"
,
"electron-devtools-installer"
:
"^3.1.1"
,
"eslint"
:
"^6.8.0"
,
...
...
@@ -124,23 +123,23 @@
"eslint-plugin-node"
:
"^9.2.0"
,
"eslint-plugin-promise"
:
"^4.2.1"
,
"eslint-plugin-standard"
:
"^4.0.0"
,
"file-loader"
:
"^6.1.
0
"
,
"file-loader"
:
"^6.1.
1
"
,
"html-webpack-plugin"
:
"^4.5.0"
,
"mini-css-extract-plugin"
:
"
0.11.2
"
,
"mini-css-extract-plugin"
:
"
1.0.0
"
,
"multispinner"
:
"^0.2.1"
,
"node-loader"
:
"^1.0.
1
"
,
"node-loader"
:
"^1.0.
2
"
,
"portfinder"
:
"^1.0.28"
,
"sass"
:
"^1.2
6.11
"
,
"sass-loader"
:
"^10.0.
2
"
,
"sass"
:
"^1.2
7.0
"
,
"sass-loader"
:
"^10.0.
3
"
,
"split2"
:
"^3.2.2"
,
"style-loader"
:
"^
1.2.1
"
,
"style-loader"
:
"^
2.0.0
"
,
"svg-sprite-loader"
:
"^5.0.0"
,
"terser-webpack-plugin"
:
"^4.2.
2
"
,
"terser-webpack-plugin"
:
"^4.2.
3
"
,
"thread-loader"
:
"^3.0.0"
,
"through2-filter"
:
"^3.0.0"
,
"ts-loader"
:
"^8.0.4"
,
"typescript"
:
"^4.0.3"
,
"url-loader"
:
"^4.1.
0
"
,
"url-loader"
:
"^4.1.
1
"
,
"vue-html-loader"
:
"^1.2.4"
,
"vue-loader"
:
"^15.9.3"
,
"vue-style-loader"
:
"^4.1.2"
,
...
...
@@ -149,6 +148,6 @@
"webpack-cli"
:
"^3.3.12"
,
"webpack-dev-server"
:
"^3.11.0"
,
"webpack-hot-middleware"
:
"^2.25.0"
,
"webpack-merge"
:
"^5.
1.4
"
"webpack-merge"
:
"^5.
2.0
"
}
}
...
...
yarn.lock
查看文件 @
cdb8f2e
此文件的差异被折叠,
点击展开。
请
注册
或
登录
后发表评论