You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As you mentioned this was an issue in jiti. While we don't really need to bump jiti because npm update already solves the issue, I bumped it anyway and did a few other version bumps as well.
This should be fixed by #11550, and will be available in the next release.
You can already try it by using the insiders build npm install tailwindcss@insiders.
Tailwind: v3.3.2
Vite: v4.3.9
React: v18.2.0
Node: v19.0.0
Browser: Chrome
OS: Windows
pnpm: V8.6.5
Reproduction URL: https://github.com/talkohavy/vite-tailwind-bug
Describing the issue
All I did was simply create a new vite project, with react, and follow your documentation on how to add tailwind.
The steps being:
content: [
"./index.html",
"./src/**/*.{js,ts,jsx,tsx}",
],
@tailwind base;
@tailwind components;
@tailwind utilities;
After doing all that, when I run the start script of
npm run dev
, I open up the brower to see the app,and get this error:
[plugin:vite:css] [postcss] Cannot create property '*******\my-project\tailwind.config.js' on string '*****/AppData/Local/Temp/node-jiti'
The text was updated successfully, but these errors were encountered: