We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
tailwindStylesheet
.prettierrc
1 parent eae9848 commit 8aeb7c3Copy full SHA for 8aeb7c3
.changeset/tangy-friends-camp.md
@@ -0,0 +1,5 @@
1
+---
2
+'sv': patch
3
4
+
5
+fix(tailwindcss): ensure `tailwindStylesheet` is added to `.prettierrc`, when applicable
packages/addons/tailwindcss/index.ts
@@ -149,6 +149,8 @@ export default defineAddon({
149
150
if (!plugins.includes(PLUGIN_NAME)) plugins.push(PLUGIN_NAME);
151
152
+ data.tailwindStylesheet ??= './src/app.css';
153
154
return generateCode();
155
});
156
}
0 commit comments