Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mongo-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ui
mongo-ui
Commits
8cc9e32f
Commit
8cc9e32f
authored
Aug 27, 2020
by
郝聪敏
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/fix_lodash' into 'master'
fix: 修改lodash插件 See merge request
!100
parents
dfb5e9c3
3f6b05e2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
package.json
package.json
+2
-2
vue.config.js
vue.config.js
+3
-1
No files found.
package.json
View file @
8cc9e32f
...
@@ -16,11 +16,9 @@
...
@@ -16,11 +16,9 @@
"
@qg/qg-scroll
"
:
"
^1.4.2
"
,
"
@qg/qg-scroll
"
:
"
^1.4.2
"
,
"
amfe-flexible
"
:
"
^2.2.1
"
,
"
amfe-flexible
"
:
"
^2.2.1
"
,
"
axios
"
:
"
^0.19.2
"
,
"
axios
"
:
"
^0.19.2
"
,
"
babel-plugin-lodash
"
:
"
^3.3.4
"
,
"
core-js
"
:
"
^3.6.5
"
,
"
core-js
"
:
"
^3.6.5
"
,
"
date-fns
"
:
"
^2.15.0
"
,
"
date-fns
"
:
"
^2.15.0
"
,
"
lodash
"
:
"
^4.17.19
"
,
"
lodash
"
:
"
^4.17.19
"
,
"
lodash-webpack-plugin
"
:
"
^0.11.5
"
,
"
raven-js
"
:
"
^3.27.2
"
,
"
raven-js
"
:
"
^3.27.2
"
,
"
sa-sdk-javascript
"
:
"
^1.15.16
"
,
"
sa-sdk-javascript
"
:
"
^1.15.16
"
,
"
vant
"
:
"
^2.10.2
"
,
"
vant
"
:
"
^2.10.2
"
,
...
@@ -39,6 +37,7 @@
...
@@ -39,6 +37,7 @@
"
@vue/cli-service
"
:
"
^4.4.0
"
,
"
@vue/cli-service
"
:
"
^4.4.0
"
,
"
@vue/eslint-config-prettier
"
:
"
^6.0.0
"
,
"
@vue/eslint-config-prettier
"
:
"
^6.0.0
"
,
"
babel-eslint
"
:
"
^10.1.0
"
,
"
babel-eslint
"
:
"
^10.1.0
"
,
"
babel-plugin-lodash
"
:
"
^3.3.4
"
,
"
compression-webpack-plugin
"
:
"
^5.0.1
"
,
"
compression-webpack-plugin
"
:
"
^5.0.1
"
,
"
eslint
"
:
"
^6.7.2
"
,
"
eslint
"
:
"
^6.7.2
"
,
"
eslint-plugin-prettier
"
:
"
^3.1.3
"
,
"
eslint-plugin-prettier
"
:
"
^3.1.3
"
,
...
@@ -47,6 +46,7 @@
...
@@ -47,6 +46,7 @@
"
less
"
:
"
^3.0.4
"
,
"
less
"
:
"
^3.0.4
"
,
"
less-loader
"
:
"
^5.0.0
"
,
"
less-loader
"
:
"
^5.0.0
"
,
"
lint-staged
"
:
"
^10.2.11
"
,
"
lint-staged
"
:
"
^10.2.11
"
,
"
lodash-webpack-plugin
"
:
"
^0.11.5
"
,
"
postcss-px2rem
"
:
"
^0.3.0
"
,
"
postcss-px2rem
"
:
"
^0.3.0
"
,
"
prettier
"
:
"
^1.19.1
"
,
"
prettier
"
:
"
^1.19.1
"
,
"
svg-sprite-loader
"
:
"
^5.0.0
"
,
"
svg-sprite-loader
"
:
"
^5.0.0
"
,
...
...
vue.config.js
View file @
8cc9e32f
...
@@ -21,7 +21,9 @@ module.exports = {
...
@@ -21,7 +21,9 @@ module.exports = {
// 移除 preload 插件(针对生产环境首屏请求数进行优化) preload 插件的用途:https://cli.vuejs.org/zh/guide/html-and-static-assets.html#preload
// 移除 preload 插件(针对生产环境首屏请求数进行优化) preload 插件的用途:https://cli.vuejs.org/zh/guide/html-and-static-assets.html#preload
config
.
plugins
.
delete
(
"
preload
"
);
config
.
plugins
.
delete
(
"
preload
"
);
config
.
plugin
(
"
lodashReplace
"
).
use
(
new
lodashWebpackPlugin
());
if
(
IS_PROD
)
{
config
.
plugin
(
"
loadshReplace
"
).
use
(
new
lodashWebpackPlugin
());
}
config
.
module
config
.
module
.
rule
(
"
images
"
)
.
rule
(
"
images
"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment