Code Monkey home page Code Monkey logo

Comments (3)

matissg avatar matissg commented on September 22, 2024

@LucasArruda Same here. v.3.2 works, however v.4.1.20 throw an error when I do push to my Dokku container - gives me Precompiling assets failed . Would be happy to use the latest gem version, but don't what's wrong...

from uglifier.

LucasArruda avatar LucasArruda commented on September 22, 2024

It seems that there is a way to prevent that, which is also getting latest sprockets, with come with ES6 support.

But, there is a caveat. You have to rename all your ES6 files to .es6 extension, which makes this also problematic since you can't rename other projects, dependencies. I also have multiple projects inside my rails app, which makes this whole process of renaming very problematic.

from uglifier.

LucasArruda avatar LucasArruda commented on September 22, 2024

I want that all (uglifier 4, new sprockets) and for that I'm willing to open a PR on sprockets to fix that when I do have some time. That will also allow usage of webpacker + uglifier 4 (because with sprockets transpiling with babel, uglifier won't have to know about ES6 for now).

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.