Skip to content

Commit

Permalink
fix: properly load non-js config files in genCacheConfig (#3632)
Browse files Browse the repository at this point in the history
close #3631
  • Loading branch information
LinusBorg authored and sodatea committed Mar 27, 2019
1 parent 10296ff commit adac48d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/@vue/cli-service/lib/PluginAPI.js
Expand Up @@ -167,6 +167,9 @@ class PluginAPI {
return fs.readFileSync(absolutePath, 'utf-8')
}
}
else {
return fs.readFileSync(absolutePath, 'utf-8')
}
}
}
if (!Array.isArray(configFiles)) {
Expand Down

0 comments on commit adac48d

Please sign in to comment.