serverless-SAM-typescript-boilerplate icon indicating copy to clipboard operation
serverless-SAM-typescript-boilerplate copied to clipboard

Fix typo in template parsing.

Open rhlsthrm opened this issue 4 years ago • 2 comments

My function wouldn't build because the webpack config was looking for the wrong key in the parsed YAML.

rhlsthrm avatar Jul 26 '20 12:07 rhlsthrm

making this change locally give the following error:

`Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.

  • configuration.entry should be an non-empty object. -> Multiple entry bundles are created. The key is the chunk name. The value can be a string or an array.`

I think there is a bug maybe in the yaml-cfn dependency?

michael-menard avatar Feb 14 '21 03:02 michael-menard

I had the same problem and this fixed it. Thank you!

ochanje210 avatar Apr 19 '21 06:04 ochanje210