refactor: simplify targets to node and worker

This commit is contained in:
Pooya Parsa 2020-11-05 15:12:35 +01:00
parent 8f5534c90a
commit f2d1064560

View File

@ -5,7 +5,7 @@ import { tryImport, LIB_DIR } from './utils'
export interface SLSOptions {
node: false
target: 'vercel' | 'cloudflare' | 'node' | 'sw' | string
target: 'worker' | 'node' | string
entry: string
outDir: string
slsDir: string