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:
Matthieu Sieben 2020-07-27 17:19:47 +02:00 committed by GitHub
parent 66b4aa2f62
commit aebf0ffefd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -226,7 +226,10 @@ export default class WebpackBaseConfig {
modules: webpackModulesDir
},
resolveLoader: {
modules: webpackModulesDir
modules: [
path.resolve(__dirname, '../node_modules'),
...webpackModulesDir
]
}
}
}