Comments (5)
With webpack we use postcss currently, which is much slower.
from next.js.
I've opened a PR to remove the invalid CSS from the library that you're using: formio/formio.js#5635.
from next.js.
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.
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.
@timneutkens how it is being parsed in normal mode? Only happened in turbo mode
![Screenshot 2024-06-05 at 11 22 31 PM](https://private-user-images.githubusercontent.com/65065614/336950556-db778066-dd9a-4eeb-a6a7-851a5e259304.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTgyMTYwMDMsIm5iZiI6MTcxODIxNTcwMywicGF0aCI6Ii82NTA2NTYxNC8zMzY5NTA1NTYtZGI3NzgwNjYtZGQ5YS00ZWViLWE2YTctODUxYTVlMjU5MzA0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjEyVDE4MDgyM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTcxMTNiNzEzNjlhN2FjMGFhMDUzNTdkNzMwMjdiMTYxN2Y5MGEzN2M1MTAzMmEwYTdmOTgyMzE5YzE0NTIxYWImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.G23FeYetTHONu-50go1LDN0-bk6VQEcwx02VHgwo00c)
from next.js.
Related Issues (20)
- Partial Prerendering does a full fetch of the whole page on every page view?
- The dev container config creates a container with node version 16 which is no longer supported.
- When a Server Action that calls `redirect` is composed with an Action on the Client `undefined` is returned to the Client.
- NextJs[^14.2.3] build error: Cannot read properties of undefined (reading 'hasOwnProperty') HOT 1
- Turbo: json-schema-to-typescript package errors (Cannot convert undefined or null to object)
- npm run dev never finish to compile HOT 2
- project builds in Vercel but link only populates "Application error: a server-side exception has occurred" and Runlog indicates PrismaClientInitializationError
- Docs: App Router "Adding Authentication" page does not 'use server' in code.
- NextURL strips trailing slashes, even when config is set to manual trailing slash handling
- Application Crash when google translated and dropdown is chose. HOT 2
- Page is remounted when params change in (optional) catch all routes
- Middleware URL normalization does not respect `skipTrailingSlashRedirect`
- Docs: "Edit this Page on Github" Button links to nonexistent paths on some pages
- Turbopack error with next-auth middleware: `_react.default.createContext is not a function` HOT 2
- Suspense does not work as expected in Page Router index.js HOT 1
- Getting error During Build HOT 2
- Not seeing not-found page on production deployment with dynamicParams = false HOT 1
- Not seeing not-found page on production deployment with dynamicParams = false HOT 1
- Error occurred prerendering page "/". ReferenceError: self is not defined
- Cannot set Content-Type header for api route response (pages router) HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from next.js.