Description
Link to the code that reproduces this issue
https://github.com/warmrobot/test-next-mq
To Reproduce
- npx create-next-app@latest test-next-mq
- npm run dev
Current vs. Expected behavior
current:
@media (width <= 600px) {
expected:
@media (max-width: 600px) {
Provide environment information
Operating System:
Platform: darwin
Arch: arm64
Version: Darwin Kernel Version 24.5.0: Tue Apr 22 19:54:29 PDT 2025; root:xnu-11417.121.6~2/RELEASE_ARM64_T6030
Available memory (MB): 18432
Available CPU cores: 11
Binaries:
Node: 22.12.0
npm: 10.9.0
Yarn: N/A
pnpm: N/A
Relevant Packages:
next: 15.3.4 // Latest available version is detected (15.3.4).
eslint-config-next: 15.3.4
react: 19.1.0
react-dom: 19.1.0
typescript: 5.8.3
Next.js Config:
output: N/A
Which area(s) are affected? (Select all that apply)
CSS, Turbopack
Which stage(s) are affected? (Select all that apply)
next dev (local), next build (local)
Additional context
Trying to add .browserslistrc
or postcss.config.js
but it doesn't helps
Some browsers can't show modern media query syntax correctly. Safari on old iOS fo example.