mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 08:02:01 +00:00
refactor: enable babel.cache in dev by default
This commit is contained in:
parent
1484928237
commit
e2e124b8e4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user