Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latest CSS Feature Support for v6 #19075

Open
7 tasks done
splitwarechef opened this issue Dec 26, 2024 · 2 comments
Open
7 tasks done

Latest CSS Feature Support for v6 #19075

splitwarechef opened this issue Dec 26, 2024 · 2 comments

Comments

@splitwarechef
Copy link

splitwarechef commented Dec 26, 2024

Describe the bug

Vite 6 is currently unable to parse the CSS Scroll driven animation api. It suspect it breaks nuxt 3.15 dev server. Works well on Vite 5.x.x

Reproduction

https://stackblitz.com/edit/vitejs-vite-gzvpm1c7?file=src%2Fstyle.css,src%2Fmain.js&terminal=dev

Steps to reproduce

Run the install and try building, the errors show

System Info

System:
    OS: Linux 5.0 undefined
    CPU: (4) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 0 Bytes / 0 Bytes
    Shell: 1.0 - /bin/jsh
  Binaries:
    Node: 18.20.3 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 10.2.3 - /usr/local/bin/npm
    pnpm: 8.15.6 - /usr/local/bin/pnpm
  npmPackages:
    vite: ^6.0.5 => 6.0.5

Used Package Manager

pnpm

Logs

No response

Validations

@splitwarechef splitwarechef changed the title Latest CSS Feature Support Latest CSS Feature Support for v6 Dec 26, 2024
@sapphi-red
Copy link
Member

sapphi-red commented Dec 26, 2024

Warnings are shown but I don't see any errors. Do you mean the warnings?

warnings when minifying css:
▲ [WARNING] Expected percentage but found "entry" [css-syntax-error]

    <stdin>:99:2:
      99 │   entry 0% {
         ╵   ~~~~~


▲ [WARNING] Expected "," but found "0%" [css-syntax-error]

    <stdin>:99:8:
      99 │   entry 0% {
         │         ~~
         ╵         ,

Also note that these warnings happen with Vite 5 as well.

Copy link

Hello @splitwarechef. Please provide a minimal reproduction using a GitHub repository or StackBlitz. Issues marked with needs reproduction will be closed if they have no activity within 3 days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants