From 9d8a95b05424018bb1a76eedf9db2c732af7b751 Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Sun, 15 Nov 2020 02:43:50 +0100 Subject: [PATCH] fix: disable cleanTargetDir for vercel --- src/targets/vercel.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/targets/vercel.ts b/src/targets/vercel.ts index 3a9360d2a1..d0f24e81cd 100644 --- a/src/targets/vercel.ts +++ b/src/targets/vercel.ts @@ -7,6 +7,7 @@ export const vercel: SLSTarget = extendTarget(node, { targetDir: '{{ rootDir }}/.vercel_build_output', outName: 'functions/node/_nuxt/index.js', publicDir: '{{ targetDir }}/static', + cleanTargetDir: false, generateIgnore: [ 'vercel.json' ],