refactor: enable babel.cache in dev by default

This commit is contained in:
Clark Du 2018-04-02 20:00:58 +08:00
parent 1484928237
commit e2e124b8e4

View File

@ -141,7 +141,7 @@ Options.from = function (_options) {
// babel cacheDirectory
if (options.build.babel.cacheDirectory === undefined) {
options.build.babel.cacheDirectory = options.dev && options.build.cache
options.build.babel.cacheDirectory = options.dev
}
// Resource hints