mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-17 06:01:34 +00:00
_fix(webpack): resolve from rootDir with higher periority
[release]
This commit is contained in:
parent
d3ef163004
commit
b4663d2bfb
@ -22,7 +22,7 @@ export default class WebpackBaseConfig {
|
||||
constructor (builder) {
|
||||
this.builder = builder
|
||||
this.buildContext = builder.buildContext
|
||||
this.resolveModule = id => tryResolve(id) || id
|
||||
this.resolveModule = id => tryResolve(id, [this.buildContext.options.rootDir, __dirname]) || id
|
||||
}
|
||||
|
||||
get colors () {
|
||||
|
Loading…
Reference in New Issue
Block a user