ignore target dir too

This commit is contained in:
Pooya Parsa 2020-11-06 13:14:49 +01:00
parent d6aea1e0df
commit b86eb3d741

View File

@ -32,6 +32,7 @@ export default <Module> function slsModule () {
nuxt.hook('generate:cache:ignore', (ignore) => { nuxt.hook('generate:cache:ignore', (ignore) => {
ignore.push(options.slsDir) ignore.push(options.slsDir)
ignore.push(options.targetDir)
}) })
nuxt.hook('generate:page', (page) => { nuxt.hook('generate:page', (page) => {