Coder Social home page Coder Social logo

Comments (5)

timneutkens avatar timneutkens commented on June 22, 2024 1

With webpack we use postcss currently, which is much slower.

from next.js.

timneutkens avatar timneutkens commented on June 22, 2024 1

I've opened a PR to remove the invalid CSS from the library that you're using: formio/formio.js#5635.

from next.js.

timneutkens avatar timneutkens commented on June 22, 2024 1

They landed the change! I'm going to close this issue as it's not a bug in Turbopack 🙏 Thanks for the report though!

from next.js.

timneutkens avatar timneutkens commented on June 22, 2024

Was able to verify that the root cause is this package CSS file you're using: https://unpkg.com/@formio/[email protected]/dist/formio.full.min.css

When that is put into the Lightning CSS playground it highlights an error on this declaration:

.formio-dialog.formio-dialog-theme-default .formio-dialog-buttons {
  *zoom: 1;
}

Specifically * is invalid here so it fails to compile. I did some digging as to why someone might add that * in front of a property, turns out it's related to IE7. Seems that library can safely remove that CSS rule as it's invalid CSS 🤔

Specific code is here: https://github.com/formio/formio.js/blame/e1f926e090cf6d36e7cd05e58fb231a939b3ab30/src/sass/formio.form.scss#L703-L705

from next.js.

balaji-sivasakthi avatar balaji-sivasakthi commented on June 22, 2024

@timneutkens how it is being parsed in normal mode? Only happened in turbo mode

Screenshot 2024-06-05 at 11 22 31 PM

from next.js.

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.