fix: Add style-resources before pre-processor loader

This commit is contained in:
Sébastien Chopin 2018-04-11 10:21:30 +02:00
parent c1d14f5f96
commit cec5d37698

View File

@ -97,8 +97,8 @@ export default class StyleLoader {
apply(ext, loaders = []) {
const customLoaders = [].concat(
this.postcss(loaders),
this.styleResource(ext),
this.normalize(loaders)
this.normalize(loaders),
this.styleResource(ext)
).filter(Boolean)
const styleLoader = this.extract() || this.vueStyle()