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

Replace module entry in favor of browser #287

Merged
merged 4 commits into from
May 9, 2019
Merged

Conversation

eliamaino-fp
Copy link
Contributor

Description

After moving to babel 7 we realized that providing a module entry pointing to the src/index.js of the lib may cause more issues than benefits.

This PR keeps the same interface for the lib (nothing should change in your imports) but favors the already bundled files over the source code.

Type

  • Breaking change
  • Enhancement
  • Fix
  • Documentation
  • Tooling

@eliamaino-fp eliamaino-fp added this to the 3.0 milestone May 7, 2019
@eliamaino-fp eliamaino-fp added the chore Anything not involving production features label May 7, 2019
@eliamaino-fp eliamaino-fp self-assigned this May 7, 2019
@eliamaino-fp eliamaino-fp requested a review from kobawan May 7, 2019 13:55
#### Browser
A pre-bundled version of VAST Client JS is available: [`vast-client.js`](dist/vast-client.js) or [`vast-client.min.js`](dist/vast-client.min.js) [minified].
#### Bundlers
A version for js bundlers (like webpack or rollup) is available by default when adding the lib using a package manager (like npm or yarn): [`vast-client.js`](dist/vast-client.js) or [`vast-client.min.js`](dist/vast-client.min.js) [minified].
Copy link
Contributor

Choose a reason for hiding this comment

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

there is no mention of the node version. Should we add it?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@kobawan kobawan merged commit cd4aefb into 3.0-version May 9, 2019
@kobawan kobawan deleted the remove-module-entry branch July 26, 2019 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Anything not involving production features
Development

Successfully merging this pull request may close these issues.

2 participants