Skip to content

Commit

Permalink
feat: enable hmr for 'mini-css-extract-plugin' in dev (#4011)
Browse files Browse the repository at this point in the history
(cherry picked from commit 59b106a)
  • Loading branch information
achretien authored and haoqunjiang committed May 25, 2019
1 parent 2a151b0 commit c50969f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/@vue/cli-service/lib/config/css.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ module.exports = (api, options) => {
.use('extract-css-loader')
.loader(require('mini-css-extract-plugin').loader)
.options({
hmr: !isProd,
publicPath: cssPublicPath
})
} else {
Expand Down

0 comments on commit c50969f

Please sign in to comment.