Skip to content

Remove mocha from layer #20

Closed
Closed
@jonasgeiler

Description

@jonasgeiler

Hey there! Thanks for your great layer - really helped me save some time.

Anyways I noticed that the ZIP file of the layer includes the mocha package and all its dependencies which increases bundle size while not being needed in production.

You should consider adding a npm rm mocha in your build script after running the test command. I haven't tested the size difference but it might actually be a Megabyte or two, and I'm pretty sure no one is using it.

Let me know what you think about it! 🙂

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions