mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
fix: Add style-resources before pre-processor loader
This commit is contained in:
parent
c1d14f5f96
commit
cec5d37698
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user