Skip to content
This repository has been archived by the owner on May 22, 2024. It is now read-only.

feat(js): add list of tree shakable external dependencies #242

Merged
merged 10 commits into from
Dec 16, 2020

Conversation

erezrokah
Copy link
Contributor

- Summary

Still in draft as it needs testing (automated and manual) and some code cleanup.
For some reason I'm getting 500 errors when trying to deploy functions locally so I'm having a hard time trying to test this.

- Test plan

Going to add tests once I'm finished with verifying this locally.

- Description for the changelog

Add a list of tree shakable external modules to help reduce bundle size.
I'm only considering adding an escape hatch for this via a env variable (or any other configuration) so this behavior can be disabled/changed.

- A picture of a cute animal (not mandatory but encouraged)

🐱

src/dependencies.js Outdated Show resolved Hide resolved
@erezrokah erezrokah added the type: feature code contributing to the implementation of a feature and/or user facing functionality label Nov 19, 2020
src/dependencies.js Outdated Show resolved Hide resolved
@erezrokah
Copy link
Contributor Author

For some reason I'm getting 500 errors when trying to deploy functions locally so I'm having a hard time trying to test this.

Looks like I'm hitting the issue described in this thread

@erezrokah erezrokah force-pushed the feat/tree_shake_externals branch 2 times, most recently from 940ca53 to 8756520 Compare December 10, 2020 10:18
src/dependencies.js Outdated Show resolved Hide resolved
src/dependencies.js Outdated Show resolved Hide resolved
@erezrokah erezrokah force-pushed the feat/tree_shake_externals branch from 8756520 to 47459a4 Compare December 10, 2020 10:23
@erezrokah erezrokah marked this pull request as ready for review December 10, 2020 11:04
@erezrokah erezrokah marked this pull request as draft December 10, 2020 11:15
@erezrokah erezrokah marked this pull request as ready for review December 10, 2020 11:18
src/dependencies.js Outdated Show resolved Hide resolved
@erezrokah erezrokah changed the title feat(js): add list of tree shakable external modules feat(js): add list of tree shakable external dependencies Dec 10, 2020
@erezrokah erezrokah force-pushed the feat/tree_shake_externals branch 2 times, most recently from 96aeb51 to 9716a60 Compare December 14, 2020 18:33
src/dependencies.js Outdated Show resolved Hide resolved
src/dependencies.js Outdated Show resolved Hide resolved
@erezrokah erezrokah requested a review from ehmicky December 15, 2020 16:05
src/dependencies.js Outdated Show resolved Hide resolved
@erezrokah erezrokah requested a review from ehmicky December 16, 2020 10:57
@erezrokah erezrokah force-pushed the feat/tree_shake_externals branch from 62b35d6 to dd6a238 Compare December 16, 2020 14:44
src/dependencies.js Outdated Show resolved Hide resolved
Copy link
Contributor

@ehmicky ehmicky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: feature code contributing to the implementation of a feature and/or user facing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants