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

Allow to use with bundler #225

Merged
merged 1 commit into from
Sep 5, 2018
Merged

Allow to use with bundler #225

merged 1 commit into from
Sep 5, 2018

Conversation

mantoni
Copy link
Contributor

@mantoni mantoni commented Sep 4, 2018

Hi! Thanks for this nice library. I found it easy to get started with.

I'm deploying this in an AWS Lambda function. To reduce cold start time, I'm using a bundler to jam all JS into a single file. The bundler isn't able to resolve the dynamic module loading that is used in source/lib/types/index.js.

This was the only place I found and with this change, it works great.

@natergj
Copy link
Owner

natergj commented Sep 5, 2018

Thanks for the PR, @mantoni! This makes sense and I was looking to implement this change in the v2 release, anyways. I'll try to get a new patch version published to NPM soon. I'm going to try to squeeze in another bug fix into that release first. Hopefully this week.

@natergj natergj merged commit 9b63171 into natergj:master Sep 5, 2018
@mantoni
Copy link
Contributor Author

mantoni commented Sep 5, 2018

Thanks for merging! If you could release a patch with this it would help me greatly.

@mantoni mantoni deleted the bundler-fix branch September 6, 2018 11:08
@natergj natergj added this to the 1.5.1 milestone Sep 9, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants