Skip to content

Commit

Permalink
Update minor tailwind example issues. (vercel#3642)
Browse files Browse the repository at this point in the history
The UI package had a few residual config issues from tweaks.
  • Loading branch information
nathanhammond authored Feb 6, 2023
1 parent d08d6aa commit 5a13e58
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
4 changes: 3 additions & 1 deletion examples/with-tailwind/packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@
"dev": "tsup --watch",
"check-types": "tsc --noEmit"
},
"peerDependencies": {
"react": "^18.2.0"
},
"devDependencies": {
"@types/react": "^18.0.26",
"@types/react-dom": "^18.0.9",
"eslint": "^7.32.0",
"eslint-config-custom": "workspace:*",
"postcss": "^8.4.20",
Expand Down
2 changes: 0 additions & 2 deletions examples/with-tailwind/packages/ui/src/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import * as React from "react";

// styles
import "./styles.css";

Expand Down
2 changes: 1 addition & 1 deletion examples/with-tailwind/packages/ui/tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ export default defineConfig((options: Options) => ({
dts: true,
minify: true,
clean: true,
external: ["react", "react-dom"],
external: ["react"],
...options,
}));
2 changes: 0 additions & 2 deletions examples/with-tailwind/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5a13e58

Please sign in to comment.