diff --git a/lib/common/nuxt.config.js b/lib/common/nuxt.config.js index 50e08ef430..1af063962b 100644 --- a/lib/common/nuxt.config.js +++ b/lib/common/nuxt.config.js @@ -16,7 +16,6 @@ export default { // Dirs buildDir: '.nuxt', - cacheDir: '.cache', nuxtDir, nuxtAppDir: path.resolve(nuxtDir, 'lib', 'app'), modulesDir: ['node_modules'], // ~> relative to options.rootDir diff --git a/lib/common/options.js b/lib/common/options.js index 6494fe747f..57880fac3a 100644 --- a/lib/common/options.js +++ b/lib/common/options.js @@ -60,7 +60,6 @@ Options.from = function (_options) { ? path.resolve(options.rootDir, options.srcDir) : options.rootDir options.buildDir = path.resolve(options.rootDir, options.buildDir) - options.cacheDir = path.resolve(options.rootDir, options.cacheDir) // Populate modulesDir options.modulesDir = []