Skip to content

Conversation

adamjmcgrath
Copy link
Contributor

Changes

createRequire doesn't play nicely with bundlers

References

Fixes #815

Testing

Tested on node:
node --input-type=module -e "import { ManagementClient } from 'auth0/src/index.mjs'; console.log(ManagementClient);"

Tested on serverless-bundle:
AnomalyInnovations/serverless-nodejs-starter@master...adamjmcgrath:serverless-nodejs-starter:master

Tested on serverless-webpack:
#815 (comment)

@adamjmcgrath adamjmcgrath requested a review from a team as a code owner May 5, 2023 10:09
@adamjmcgrath adamjmcgrath added the review:small Small review label May 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

review:small Small review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Getting TypeError upon initilizing ManagementClient

2 participants