Code Monkey home page Code Monkey logo

Comments (6)

netelix avatar netelix commented on September 21, 2024 3

Same issue...
I went back to Uglifier 4.1.0 in my Gemfile and it fixed it. Thanks for the tip

gem 'uglifier', '= 4.1.0'

from uglifier.

timminkov avatar timminkov commented on September 21, 2024 2

Getting the same error. Had to fork the gem, re-package the harmony branch of uglify, then copy it into the fork. Seems to be working now - not sure what the cause is.

from uglifier.

longpaid avatar longpaid commented on September 21, 2024 2

Getting the same error. Had to fork the gem, re-package the harmony branch of uglify, then copy it into the fork. Seems to be working now - not sure what the cause is.

had the same same issue, had to reference your version and it worked for me too, thank you 👍

from uglifier.

bsodmike avatar bsodmike commented on September 21, 2024

Same issue...
I went back to Uglifier 4.1.0 in my Gemfile and it fixed it. Thanks for the tip

gem 'uglifier', '= 4.1.0'

Thanks so much. We spent two days tracing this down. 👀

from uglifier.

syntruth avatar syntruth commented on September 21, 2024

It's the de-structured assignment, somehow.

4.2.0 breaks on my code as well, on this line:

var [icon, title, typeClass] = this.__typeData(type)

If I use a traditional way of de-structuring my data -- or just comment out that line -- it uglifies just fine.

Thanks for the 4.1.0 tip; it saved me some headaches on the upcoming production push. :)

from uglifier.

rgaufman avatar rgaufman commented on September 21, 2024

After trying to get this working with Uglifier, I ended up switching to Terser, more details here: #185

from uglifier.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.