fix: disable cleanTargetDir for vercel

This commit is contained in:
Pooya Parsa 2020-11-15 02:43:50 +01:00
parent f2c1589472
commit e874d4db59

View File

@ -7,6 +7,7 @@ export const vercel: SLSTarget = extendTarget(node, {
targetDir: '{{ rootDir }}/.vercel_build_output', targetDir: '{{ rootDir }}/.vercel_build_output',
outName: 'functions/node/_nuxt/index.js', outName: 'functions/node/_nuxt/index.js',
publicDir: '{{ targetDir }}/static', publicDir: '{{ targetDir }}/static',
cleanTargetDir: false,
generateIgnore: [ generateIgnore: [
'vercel.json' 'vercel.json'
], ],