Skip to content

Commit

Permalink
feat(template): add prettier.Config type to prettier config and resol…
Browse files Browse the repository at this point in the history
…ve plugin import (#602)

* feat(template): add prettier.Config type to prettier config and resolve plugin import

* Create silly-ways-pay.md

* Update cli/template/addons/tailwind/prettier.config.cjs

Co-authored-by: Julius Marminge <julius0216@outlook.com>
  • Loading branch information
nexxeln and juliusmarminge committed Oct 11, 2022
1 parent 804f9e3 commit 9f86e39
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/silly-ways-pay.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"create-t3-app": patch
---

feat(template): add prettier.Config type to prettier config and resolve prettier-plugin-tailwindcss import
3 changes: 2 additions & 1 deletion cli/template/addons/tailwind/prettier.config.cjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/** @type {import("prettier").Config} */
module.exports = {
plugins: [require("prettier-plugin-tailwindcss")],
plugins: [require.resolve("prettier-plugin-tailwindcss")],
};

1 comment on commit 9f86e39

@vercel
Copy link

@vercel vercel bot commented on 9f86e39 Oct 11, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.