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

Fix npm module export #808

Merged
merged 3 commits into from
Jul 18, 2018
Merged

Fix npm module export #808

merged 3 commits into from
Jul 18, 2018

Conversation

luisrudge
Copy link
Contributor

  • Remove rollup-plugin-uglify because it doesn't support minifying ES6+. Using rollup-plugin-terser instead
  • Don't generate prod files when in dev mode
  • instead of using main/browser in package.json, using module/main (ES modules, UMD bundle)

@luisrudge luisrudge modified the milestone: v9.7.3 Jul 18, 2018
Copy link
Contributor

@lbalmaceda lbalmaceda left a comment

Choose a reason for hiding this comment

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

image

@luisrudge luisrudge merged commit 09c61c2 into master Jul 18, 2018
@luisrudge luisrudge deleted the fix-npm-module-export branch July 18, 2018 18:35
@rafaelrinaldi
Copy link

FYI 9.7.2 was totally broken for me and this PR fixed it. I'm using the beta version for now.

@luisrudge
Copy link
Contributor Author

@rafaelrinaldi Thanks for letting us know. Can you tell me your scenario so I can compare with others?

bors bot referenced this pull request in mozilla/delivery-console Jul 24, 2018
307: Update dependency auth0-js to v9.7.3 r=rehandalal a=renovate[bot]

This Pull Request updates dependency [auth0-js](https://github.com/auth0/auth0.js) from `v9.6.1` to `v9.7.3`



<details>
<summary>Release Notes</summary>

### [`v9.7.3`](https://github.com/auth0/auth0.js/blob/master/CHANGELOG.md#v973httpsgithubcomauth0auth0jstreev973-2018-07-23)
[Compare Source](auth0/auth0.js@v9.7.2...v9.7.3)
[Full Changelog](auth0/auth0.js@v9.7.3-beta1...v9.7.3)

**Fixed**
- Fix npm module export [\#&#8203;808](`https://github.com/auth0/auth0.js/pull/808`) ([luisrudge])

---

### [`v9.7.2`](https://github.com/auth0/auth0.js/blob/master/CHANGELOG.md#v972httpsgithubcomauth0auth0jstreev972-2018-07-13)
[Compare Source](auth0/auth0.js@v9.7.1...v9.7.2)
[Full Changelog](auth0/auth0.js@v9.7.1...v9.7.2)

**Fixed**
- Fix default export for auth0js [\#&#8203;803](`https://github.com/auth0/auth0.js/pull/803`) ([luisrudge])

---

### [`v9.7.1`](https://github.com/auth0/auth0.js/blob/master/CHANGELOG.md#v971httpsgithubcomauth0auth0jstreev971-2018-07-13)
[Compare Source](auth0/auth0.js@v9.7.0...v9.7.1)
[Full Changelog](auth0/auth0.js@v9.7.0...v9.7.1)

**Fixed**
- Fix build folder not being published in the tag [\#&#8203;801](`https://github.com/auth0/auth0.js/pull/801`) ([luisrudge])

---

### [`v9.7.0`](https://github.com/auth0/auth0.js/blob/master/CHANGELOG.md#v970httpsgithubcomauth0auth0jstreev970-2018-07-12)
[Compare Source](auth0/auth0.js@v9.6.1...v9.7.0)
[Full Changelog](auth0/auth0.js@v9.6.1...v9.7.0)

**Added**
- Add SRI hashes to the cdn [\#&#8203;782](`https://github.com/auth0/auth0.js/pull/782`) ([luisrudge])

**Fixed**
- options is optional in WebAuth.prototype.authorize [\#&#8203;789](`https://github.com/auth0/auth0.js/pull/789`) ([behrangsa])
- Removing `domain` option from methods (it can't be overridden) [\#&#8203;781](`https://github.com/auth0/auth0.js/pull/781`) ([luisrudge])

---

</details>




---

This PR has been generated by [Renovate Bot](https://renovatebot.com).

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants