From a4623bff231d1814d372ad49c4a21ec1983c4e94 Mon Sep 17 00:00:00 2001 From: Sam Carlton Date: Thu, 15 Jul 2021 13:51:33 -0500 Subject: [PATCH] Disable Nuxt cache --- nuxt.config.js | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/nuxt.config.js b/nuxt.config.js index 9c6337f..6040dd7 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -27,12 +27,9 @@ export default { generate: { crawler: false, - cache: { - ignore: [ - // When something changed in the docs folder, do not re-build via webpack - 'assets' - ] - }, + + // https://nuxtjs.org/docs/2.x/configuration-glossary/configuration-generate#cache + cache: false, routes() { return fs.readFile('./static/nuxt-endpoints.json', 'utf-8') .then( endpointsJson => { @@ -153,7 +150,7 @@ export default { build: { // parallel: true, // hardSource: true, - cache: true, + cache: false, html: { minify: { minifyCSS: false,