mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-21 06:54:08 -07:00
Disable Nuxt cache
This commit is contained in:
parent
68255a1d4e
commit
a4623bff23
1 changed files with 4 additions and 7 deletions
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue