mirror of
https://github.com/vuejs/vue-cli.git
synced 2026-04-21 11:58:36 -05:00
fix: properly load non-js config files in genCacheConfig (#3632)
close #3631
This commit is contained in:
committed by
Haoqun Jiang
parent
10296ff6a7
commit
adac48db0d
@@ -167,6 +167,9 @@ class PluginAPI {
|
||||
return fs.readFileSync(absolutePath, 'utf-8')
|
||||
}
|
||||
}
|
||||
else {
|
||||
return fs.readFileSync(absolutePath, 'utf-8')
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!Array.isArray(configFiles)) {
|
||||
|
||||
Reference in New Issue
Block a user