-
Notifications
You must be signed in to change notification settings - Fork 143
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
Error building with UglifyJS: "Super expression must either be null or a function, not defined" #53
Comments
Thank you for the repro. I will look at it and see what we can do about the umd builds. Feel free to make a PR from your fork. |
We are also experiencing this issue. Getting an actual version with a fix would be great |
I also found this issue. |
I also had the issue upgrading my project. |
@samsch Could you create a pull request with your changes? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Dupe of #49 & #51, but with reproduction: https://github.com/samsch/test-dazzle
I forked and modified the build to fix this. https://github.com/samsch/dazzle/tree/1.4.0-cjs
There's no real need to build with Webpack for CommonJS modules, none of the features in the config are being used, so this does the build with just Babel and outputs the compiled modules to
dist/
.You can directly install from the .tzg file attached to the release to get this fix now.
I changed the package main to point to
dist/index.js
, but the package also includes the umd build asdist/dazzle.min.js
.The text was updated successfully, but these errors were encountered: