mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 14:15:13 +00:00
fix(webpack): ensure loaders are first searched from @nuxt/webpack
(#7787)
[release] Co-authored-by: pooya parsa <pyapar@gmail.com>
This commit is contained in:
parent
66b4aa2f62
commit
aebf0ffefd
@ -226,7 +226,10 @@ export default class WebpackBaseConfig {
|
|||||||
modules: webpackModulesDir
|
modules: webpackModulesDir
|
||||||
},
|
},
|
||||||
resolveLoader: {
|
resolveLoader: {
|
||||||
modules: webpackModulesDir
|
modules: [
|
||||||
|
path.resolve(__dirname, '../node_modules'),
|
||||||
|
...webpackModulesDir
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user