i am trying to include some files and folder from current and parent directory and also want to exclude file and folder but it’s not working, here is the snippets from serverless.yaml
package:
include:
- …/…/lib
- …/…/node_modules
exclude:
packages.json
tsconfig.json
src
typings.json
typings
.vscode
Hi,
have you tried indenting the exclude/include definitions? This might be a yml issue here.
best,
Flo
I have vscode yml validation extension which is not showing error.
zfael
September 20, 2016, 4:51pm
4
Same here. Did you figured out what is going on?
nope, i just created a script to pull node_module and common code from root to current service dir.
1 Like
does an include of a parent folder work now? (because i don’t get it running)