https://serverless-stack.com/ logo
#help
Title
# help
s

Shubham Sinha

05/19/2022, 5:26 PM
Which folders need to be added to .gitignore apart from node_modules, .vscode, .env ?
r

Ross Coundon

05/19/2022, 5:29 PM
We typically add
.sst
and
.build
too (we’re using TypeScript and
.build
is the output dir)
o

Omi Chowdhury

05/19/2022, 5:39 PM
We actually commit
.vscode
so that our team gets workspace recommended extensions and launch configurations
s

Shubham Sinha

05/19/2022, 5:46 PM
Thanks guys
f

Frank

05/19/2022, 7:33 PM
Also commit
.env
,
.env.$stage
(ie.
.<http://env.dev|env.dev>
). Don’t commit
.env.local
,
.env.$stage.local
. And only put sensitive info in
.local
.
5 Views