Disable Nuxt cache

This commit is contained in:
Sam Carlton 2021-07-15 13:51:33 -05:00
parent 68255a1d4e
commit a4623bff23

View file

@ -27,12 +27,9 @@ export default {
generate: { generate: {
crawler: false, crawler: false,
cache: {
ignore: [ // https://nuxtjs.org/docs/2.x/configuration-glossary/configuration-generate#cache
// When something changed in the docs folder, do not re-build via webpack cache: false,
'assets'
]
},
routes() { routes() {
return fs.readFile('./static/nuxt-endpoints.json', 'utf-8') return fs.readFile('./static/nuxt-endpoints.json', 'utf-8')
.then( endpointsJson => { .then( endpointsJson => {
@ -153,7 +150,7 @@ export default {
build: { build: {
// parallel: true, // parallel: true,
// hardSource: true, // hardSource: true,
cache: true, cache: false,
html: { html: {
minify: { minify: {
minifyCSS: false, minifyCSS: false,