-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Possible missing module.exports in compressed file #955
Comments
This is intentionally added by our
(Looks like we're missing a semicolon.) |
Why is |
I see the code in question is just within the Gen_uncompressed class. I'm going to have to ask @carlosperate to chime in, since he added that. #237 If I may guess, in a node build environment, it makes little sense to run the compressed version. This is the one your are developing with and might want to track back to legible line numbers. Most often, the client-side code included in the NPM dependencies will be repackaged, including their own compression pass, with all included libraries. |
Well, that specific PR was just adding an extra check to the existing |
Our built files are now packaged into UMD modules which add the module.exports in there. Closing this issue. |
I noticed that
blocky_uncompressed.js
has amodule.exports
=Blockly
whileblocky_compressed.js
does not have anymodule exports
. Is this intentional -or might it be stripped out by the (closure) compiler by mistake?The text was updated successfully, but these errors were encountered: