Skip to content

Commit

Permalink
fix: tailwind plugins as dev dependencies (#400)
Browse files Browse the repository at this point in the history
* fix: tailwind plugins as dev dependencies

* Update .changeset/twelve-pets-film.md

---------

Co-authored-by: Manuel <[email protected]>
  • Loading branch information
hyunbinseo and manuel3108 authored Jan 16, 2025
1 parent acd7388 commit aed15fb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/twelve-pets-film.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'sv': patch
---

fix: tailwind plugins as dev dependencies
2 changes: 1 addition & 1 deletion packages/addons/tailwindcss/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export default defineAddon({
for (const plugin of plugins) {
if (!options.plugins.includes(plugin.id)) continue;

sv.dependency(plugin.package, plugin.version);
sv.devDependency(plugin.package, plugin.version);
}

sv.file(`tailwind.config.${ext}`, (content) => {
Expand Down

0 comments on commit aed15fb

Please sign in to comment.