Skip to content

Commit

Permalink
chore(atomic): generate .tw.css files instead of .css in component ge…
Browse files Browse the repository at this point in the history
…nerate command (#5006)

https://coveord.atlassian.net/browse/KIT-3994

.tw.css is more telling since those file actually use tailwind
utilities.
  • Loading branch information
alexprudhomme authored Feb 25, 2025
1 parent 307d209 commit 727a7b9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/atomic/scripts/generate-component.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ async function generateFiles(name, outputDir) {
template: 'component.new.stories.tsx.hbs',
output: `${name}.new.stories.tsx`,
},
{template: 'component.css.hbs', output: `${name}.css`},
{template: 'component.tw.css.hbs', output: `${name}.tw.css`},
{template: 'component.spec.ts.hbs', output: `${name}.spec.ts`},
{template: 'e2e/component.e2e.ts.hbs', output: `e2e/${name}.e2e.ts`},
{template: 'e2e/fixture.ts.hbs', output: `e2e/fixture.ts`},
Expand Down

0 comments on commit 727a7b9

Please sign in to comment.