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

The package can't be imported in some Webpack configurations #2

Open
constgen opened this issue Mar 2, 2020 · 1 comment · May be fixed by #4
Open

The package can't be imported in some Webpack configurations #2

constgen opened this issue Mar 2, 2020 · 1 comment · May be fixed by #4

Comments

@constgen
Copy link

constgen commented Mar 2, 2020

Instead of CommonJS/UMD the package exports ES Module. Which breaks building in some environments. For example, CodeSandbox:
изображение

You can check also in NodeJS env which should work and just export an object https://runkit.com/embed/ohc5odmbg4eq

@constgen constgen changed the title The package should export CommonJS module The package can't be imported in some Webpack configurations Mar 2, 2020
@constgen constgen linked a pull request Jul 25, 2020 that will close this issue
@constgen
Copy link
Author

constgen commented Dec 1, 2020

NuxtJS Webpack config has issues too

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 a pull request may close this issue.

1 participant