Webpack folder - should it be committed to source code

I have the following package installed via npm: "serverless-bundle": "^4.2.0"

I configured serverless.yml

plugins:
  - serverless-bundle

I notice that i have a .webpack folder now in the root of my serverless app.

Should this folder be committed to source code?

Regards,
Kenneth

Hi Kenneth - As a rule, no, as this is built code it doesn’t belong in source control.
Similarly, if you were using TypeScript and you had a .build directory, that wouldn’t go in either

2 Likes