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

Minify doesn't work in the REPL anymore #1405

Closed
xtuc opened this issue Oct 5, 2017 · 3 comments
Closed

Minify doesn't work in the REPL anymore #1405

xtuc opened this issue Oct 5, 2017 · 3 comments
Assignees

Comments

@xtuc
Copy link
Member

xtuc commented Oct 5, 2017

See REPL

The error is the following: repl: traverse.clearCache is not a function.

/cc @boopathi

@existentialism
Copy link
Member

existentialism commented Oct 5, 2017

Probably because current minify isn't compatible with babel 7? Seems to work fine with 6.x

On another note, we likely need to tie versions of preset-env and minify to the version flag passed in.

@xtuc
Copy link
Member Author

xtuc commented Oct 5, 2017

Yes right @existentialism, there's the PR in WIP babel/minify#487.

Could we maybe add an error when calling preset-env/minify with an unsupported Babel version? babel-core exports its version IRC.

@hzoo
Copy link
Member

hzoo commented Apr 17, 2018

Fixed at some point

@hzoo hzoo closed this as completed Apr 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants