Skip to content

Commit

Permalink
feat: add functions config
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbbreuer committed Jul 11, 2022
1 parent 2aabaa3 commit 06d9cd0
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .stacks/src/types/functions.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export interface FunctionsConfig {
host: 'netlify' | 'vercel'
}
1 change: 1 addition & 0 deletions .stacks/src/types/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './functions'
10 changes: 10 additions & 0 deletions config/functions.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/**
* This is the place where you configure your functions.
* For all available options, see the FunctionsConfig type definition.
*/

import type { FunctionsConfig } from 'stacks/types'

export const functions: FunctionsConfig = {
host: 'netlify',
}

0 comments on commit 06d9cd0

Please sign in to comment.