Fix CSS asset loading for yarn start (HMR) (#11855)

* enable url() processing in CSS to ensure assets load in HMR mode
* only needed when running `yarn start` which needs this for the hot
reloader
This commit is contained in:
David
2018-05-07 17:02:55 +02:00
committed by Torkel Ödegaard
parent 4c6e4e2aa6
commit ed067e8d35
2 changed files with 2 additions and 1 deletions

View File

@ -85,7 +85,7 @@ module.exports = merge(common, {
]
},
require('./sass.rule.js')({
sourceMap: true, minimize: false, preserveUrl: false
sourceMap: true, minimize: false, preserveUrl: HOT
}, extractSass),
{
test: /\.(ttf|eot|svg|woff(2)?)(\?[a-z0-9=&.]+)?$/,