-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Description
What version of Tailwind CSS are you using?
"postcss": "^8.5.3",
"tailwindcss": "^4.0.9"
"@tailwindcss/postcss": "4.0.0-alpha.13",
"autoprefixer": "^10.4.20",
What build tool (or framework if it abstracts the build tool) are you using?
"next": "^15.2.1",
"turbo": "^2.4.4",
What version of Node.js are you using?
For example: v18.19.0
What browser are you using?
firefox
What operating system are you using?
macOS
Reproduction URL
https://github.com/VulcanTech-io/tailwindcss-postcss-plugin-issue
Describe your issue
const config = {
plugins: {
"@tailwindcss/postcss": {},
},
};
export default config;Adding this plugin breaks support for global imports from node modules when there is a font being imported from them.
for minimal reproduction "fix" comment out the plugin. But then tailwindcss is no longer working.
⨯ ./node_modules/@milkdown/crepe/lib/theme/common/style.css
Error evaluating Node.js code
CssSyntaxError: postcss-import: ~/turbo-test/node_modules/@milkdown/crepe/lib/theme/common/prosemirror.css:1:1: Failed to find '@milkdown/kit/prose/view/style/prosemirror.css'