Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
web-framework-temp
/
vue-cli3-vt-template-master
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
45cb2495
authored
2022-02-21 10:31:42 +0800
by
chenyunhao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
默认更新
1 parent
ef049ff0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
vue.config.js
vue.config.js
View file @
45cb249
...
...
@@ -53,11 +53,12 @@ module.exports = {
}
}
})
config
.
plugin
(
'extract-css'
).
tap
(()
=>
[{
filename
:
`static/css/[name].
${
Timestamp
}
.css`
,
chunkFilename
:
`static/css/[name].
${
Timestamp
}
.css`
}])
config
.
when
(
process
.
env
.
NODE_ENV
!==
'development'
,
config
=>
{
config
.
plugin
(
'extract-css'
).
tap
(()
=>
[{
filename
:
`static/css/[name].
${
Timestamp
}
.css`
,
chunkFilename
:
`static/css/[name].
${
Timestamp
}
.css`
}])
})
},
configureWebpack
:
{
// webpack 配置
...
...
Please
register
or
sign in
to post a comment