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
When integrating Tailwind into an existing project that already has a prettier config file that isn't a .prettierrc , an incomplete .prettierrc file is generated.
The current implementation in prettier/index.ts and tailwindcss/index.ts should detect the existing prettier config file and use parseJson or parseScript in case the prettier config is for instance prettier.config.js.
repro: npx sv add tailwind on existing project with a prettier.config.js
Issue #285 is related but focuses mainly on monorepo setups.
The text was updated successfully, but these errors were encountered:
When integrating Tailwind into an existing project that already has a prettier config file that isn't a
.prettierrc
, an incomplete.prettierrc
file is generated.The current implementation in
prettier/index.ts
andtailwindcss/index.ts
should detect the existing prettier config file and useparseJson
orparseScript
in case the prettier config is for instanceprettier.config.js
.repro:
npx sv add tailwind
on existing project with aprettier.config.js
Issue #285 is related but focuses mainly on monorepo setups.
The text was updated successfully, but these errors were encountered: