Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcdj-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
2d0e8f39
authored
2023-05-29 11:13:01 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:webpack配置
1 parent
2159a36b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
vue.config.js
vue.config.js
View file @
2d0e8f3
...
...
@@ -48,7 +48,7 @@ module.exports = {
}
},
css
:
{
extract
:
fals
e
,
// 是否使用css分离插件 ExtractTextPlugin
extract
:
tru
e
,
// 是否使用css分离插件 ExtractTextPlugin
sourceMap
:
false
,
// 开启 CSS source maps?
loaderOptions
:
{
sass
:
{
...
...
@@ -59,6 +59,10 @@ module.exports = {
},
// configureWebpack通过操作对象的形式,来修改默认的webpack配置
configureWebpack
:
{
optimization
:
{
usedExports
:
true
,
minimize
:
true
},
entry
:
{
app
:
'./src/main.js'
},
...
...
Please
register
or
sign in
to post a comment