Giter Site home page Giter Site logo

Error with v1.6.3 and CSS data URLs about wro4j HOT 7 CLOSED

alexo avatar alexo commented on September 28, 2024
Error with v1.6.3 and CSS data URLs

from wro4j.

Comments (7)

alexo avatar alexo commented on September 28, 2024

The processor fails only if the underlying less compiler fails. I'll check just to be sure if the lessc is the problem.
In the meantime, you can either switch to rhinoLessCss or less4j processors.

from wro4j.

redking avatar redking commented on September 28, 2024

The same lessc compiler is used whether I use wro 1.6.2 or 1.6.3 though, is that right ? So why would less compilation fail in one version and not in the other ? The only change I made between tests is to update wro4j (leaving node lessc and the less source file untouched).

Thanks for taking a look at this though! Unfortunately I can't use the other processors, as developers here need the speed of the Node processor. I was hoping to benefit from the improved less logging in 1.6.3, but I can revert to the previous version for the moment.

from wro4j.

alexo avatar alexo commented on September 28, 2024

The less4j processor is really fast. You could try it... also there is the stable 1.0.0 version available.

from wro4j.

alexo avatar alexo commented on September 28, 2024

And yes, you are right. As long as the same lessc version works with wro4j 1.6.2 and fails with 1.6.3, there is something wrong with wro4j. I'll investigate this.

Thanks for reporting.

from wro4j.

alexo avatar alexo commented on September 28, 2024

@redking Could you provide the following details:

  • the list of configured processors
  • the minimum css content which cause the failure (I'm not sure that the provided css cause the failure - could not reproduce).

from wro4j.

redking avatar redking commented on September 28, 2024

Hey,

The pre-processors are

cssVariables,cssImport,semicolonAppender

post-processors

lessCss

The CSS I posted above is the minimum to reproduce i.e. If I reduce a css file to only that line, it will not compile. If I replace the line with a simple CSS rule, it will compile.

from wro4j.

alexo avatar alexo commented on September 28, 2024

Fixed in branch 1.6.x

from wro4j.

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.