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

uglify (minimize) error - default value of parameter in function #397

Closed
hackoff opened this issue Jul 2, 2020 · 2 comments
Closed

uglify (minimize) error - default value of parameter in function #397

hackoff opened this issue Jul 2, 2020 · 2 comments
Labels
bug A bug in the latest release

Comments

@hackoff
Copy link

hackoff commented Jul 2, 2020

from Muuri v 0.9 i am getting error from my uglify grunt module, because of using ES6 technique. Default value of parameter is not allowed in ES5.

dist/muuri.js
row 6311

function createPackerProcessor(isWorker = false) {

should be
function createPackerProcessor(isWorker) {

@niklasramo niklasramo added the bug A bug in the latest release label Jul 2, 2020
@niklasramo
Copy link
Collaborator

@hackoff good catch! Let's make a patch release to fix this one.

@niklasramo
Copy link
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug in the latest release
Development

No branches or pull requests

2 participants