-
-
Notifications
You must be signed in to change notification settings - Fork 308
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
CoreJS minification syntax error #375
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using the dev-master release, when minifying the CoreJS that's included with WordPress: https://unpkg.com/[email protected]/index.js there appears to be a syntax error around here:
return module.exports}__webpack_require__.m=modules;
The correct syntax would be:
return module.exports};__webpack_require__.m=modules;
EDIT: This doesn't happen in newer versions of webpack where it has changed to
function __webpack_require__(moduleId)
instead ofvar __webpack_require__ = function (moduleId)
in the preceeding function that causes the issue.A similar issue is also reported here: #360
Perhaps the minifying of webpack runtime could be skipped altogether considering how messy it is.
The text was updated successfully, but these errors were encountered: