Which folders need to be added to .gitignore apar...
# help
s
Which folders need to be added to .gitignore apart from node_modules, .vscode, .env ?
r
We typically add
.sst
and
.build
too (we’re using TypeScript and
.build
is the output dir)
o
We actually commit
.vscode
so that our team gets workspace recommended extensions and launch configurations
s
Thanks guys
f
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
.