Skip to content

Commit adac48d

Browse files
LinusBorghaoqunjiang
authored andcommittedMar 27, 2019
fix: properly load non-js config files in genCacheConfig (#3632)
close #3631
1 parent 10296ff commit adac48d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎packages/@vue/cli-service/lib/PluginAPI.js

+3
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,9 @@ class PluginAPI {
167167
return fs.readFileSync(absolutePath, 'utf-8')
168168
}
169169
}
170+
else {
171+
return fs.readFileSync(absolutePath, 'utf-8')
172+
}
170173
}
171174
}
172175
if (!Array.isArray(configFiles)) {

0 commit comments

Comments
 (0)
Please sign in to comment.