Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcjg-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
6443b6d5
authored
2023-05-25 16:26:09 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:打包配置修改
1 parent
ad4d9e59
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
vue.config.js
vue.config.js
View file @
6443b6d
...
...
@@ -48,7 +48,8 @@ module.exports = {
}
},
css
:
{
extract
:
true
,
// 是否使用css分离插件 ExtractTextPlugin
// extract: true, // 是否使用css分离插件 ExtractTextPlugin
extract
:
{
ignoreOrder
:
true
},
sourceMap
:
false
,
// 开启 CSS source maps?
loaderOptions
:
{
sass
:
{
...
...
@@ -59,6 +60,9 @@ module.exports = {
},
// configureWebpack通过操作对象的形式,来修改默认的webpack配置
configureWebpack
:
{
externals
:
[{
'./cptable'
:
'var cptable'
}],
optimization
:
{
usedExports
:
true
,
minimize
:
true
...
...
Please
register
or
sign in
to post a comment