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: {
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,