Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export a CommonJS and UMD Module #18

Merged
merged 1 commit into from
Nov 15, 2018
Merged

Export a CommonJS and UMD Module #18

merged 1 commit into from
Nov 15, 2018

Conversation

Dig-Doug
Copy link
Contributor

@Dig-Doug Dig-Doug commented Nov 1, 2018

Adds a rollup config that builds the library in multiple formats. Each build format is listed in the package.json so tools can leverage them.

Also updates the iterateHeaders code to be in TS and fixes a few lint errors.

Update to the original description

Based on the feedback I got for grpc-web, I've updated this PR to use webpack to generate the UMD module.

@Dig-Doug
Copy link
Contributor Author

Dig-Doug commented Nov 1, 2018

@MarcusLongmuir - It looks like the travis run failed because the browser stack key is invalid.

@Dig-Doug Dig-Doug changed the title Export a CommonJS, ES, and UMD Module Export a CommonJS and UMD Module Nov 5, 2018
@Dig-Doug
Copy link
Contributor Author

Friendly ping on this.

@jonnyreeves - Is this something you can review?

@jonnyreeves
Copy link

jonnyreeves commented Nov 15, 2018

@Dig-Doug yep, I can get this moving for you; although I need to get the build working again first - I'll have a crack at that in a separate branch.

#19 is now passing CI, once merged you should be able to rebase this PR and we can land your change.

@jonny-improbable
Copy link
Contributor

#19 has now been merged, could you merge/rebase your changes @Dig-Doug?

…. Also refactors the js version of iterateHeaders to typescript.
@Dig-Doug
Copy link
Contributor Author

Rebased. Thanks for taking a look!

@jonny-improbable jonny-improbable merged commit 880606c into improbable-eng:master Nov 15, 2018
@Dig-Doug
Copy link
Contributor Author

@jonnyreeves - Can you publish a new version of browser-headers on npm with this change?

@jonnyreeves
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants