-
-
Notifications
You must be signed in to change notification settings - Fork 225
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
fix(merge-sibling-var): recalculate declarations when concatenating variables #826
Conversation
vigneshshanmugam
commented
Apr 30, 2018
•
edited
Loading
edited
- fix Var renamed but original name [incorrectly] used in code === 'not defined' error #825
- fix Constants defined before a while-loop are removed or moved out of scope #801
Thanks for all that work! Silly question but how do I get that update on our servers? I tried |
There is a canary version published for every commit to master - You can try the canary version out and the docs for the same are here - https://github.com/babel/minify/tree/master/docs#canary-version |
so I had tried that and it's not working. This is what I have: using
I also tried
And for this run
|
...of course, the output above was after on an unrelated note: is there a difference between babel-minify and babel-preset-minify? (I have both so I'm not sure which one is used in the run) And just for reference, the
|
As a side note, it's not clear to me why the web-based minifier generates correct code. |
The REPL is not in sync with the master.
Can you run this and confirm if you're on 0.5.0-alpha? # install the CLI
npm install babel-minify
# Get the version
./node_moduels/.bin/minify --version
# Should output 0.5.0-alpha.something Create a new issue if you're facing issues in 0.5.0. |
sorry, just got this. had already seen that you'd upgraded to 0.4.1 and tried that and it WORKED!!! |