[v4] Upgrading beta.4 -> beta.5 causes error: [postcss] Custom media query --md-up is not defined #15361
TobyPerplex
started this conversation in
General
Replies: 1 comment 4 replies
-
The difference between dev and prod comes from prod using an additional |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
What version of Tailwind CSS are you using?
4.0.0-beta.5 & 4.0.0-beta.6
What build tool (or framework if it abstracts the build tool) are you using?
vite 6.0.3
What version of Node.js are you using?
v22.8.0
What browser are you using?
Chrome 131.0.6778.109 (Official Build) (arm64)
What operating system are you using?
macOS
Describe your issue
With this postcss config:
and
4.0.0-beta.4
bothpnpm dev
/vite
andpnpm build
/vite build
commands work perfectly. But using this same postcss config with4.0.0-beta.5
or4.0.0-beta.6
only thepnpm dev
/vite
command works perfectly.pnpm build
/vite build
throws this error:I already tried rearranging the order of plugins in every way imaginable.
Beta Was this translation helpful? Give feedback.
All reactions