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

Directly specify which bundle to use in browser #170

Merged
merged 1 commit into from
Oct 2, 2020

Conversation

Tommatheussen
Copy link
Contributor

Type of PR

  • Bug Fix
  • Feature

What is the Goal of the PR?

Fix issues with not being able to load the latest version in Angular and other projects

What is the Motivation for the PR?

We need this library in our application, version 0.2.2 works but we'd rather keep up to date with later versions. Trying to import the newest version throws errors similar to #165.
As far as my understanding about webpack and bundling goes (please note, I haven't used those tools directly a lot, so my understanding might be limited), the browser key can be directly set to the script to use. Setting an object is usually used when other modules are required which are not available in the browser, which you can then shim or just completely ignore.
(https://github.com/defunctzombie/package-browser-field-spec)

What Tests are Included?

None

@DanielJDufour
Copy link
Member

awesome. I'll try to take a look at this later today! Thank you so much!

@DanielJDufour DanielJDufour merged commit d8817f6 into GeoTIFF:master Oct 2, 2020
@DanielJDufour
Copy link
Member

I just republished a new version with this pull request merged in. Please let me know if it doesn't work. Thank you again for bringing this to my attention.

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.

2 participants