mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-19 23:21:09 +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) {
|
constructor (builder) {
|
||||||
this.builder = builder
|
this.builder = builder
|
||||||
this.buildContext = builder.buildContext
|
this.buildContext = builder.buildContext
|
||||||
this.resolveModule = id => tryResolve(id) || id
|
this.resolveModule = id => tryResolve(id, [this.buildContext.options.rootDir, __dirname]) || id
|
||||||
}
|
}
|
||||||
|
|
||||||
get colors () {
|
get colors () {
|
||||||
|
Loading…
Reference in New Issue
Block a user