Skip to content

Commit

Permalink
fix(tailwind): bundle postcss as well to avoid next build errors with…
Browse files Browse the repository at this point in the history
… tty
  • Loading branch information
gabrielmfern committed Jan 9, 2024
1 parent 6b3a4c4 commit 704cf46
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/tailwind/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default defineConfig({
plugins: [dts({ include: ["src"], outDir: "dist" })],
build: {
rollupOptions: {
external: ["react", "react-dom", "postcss", /react-dom\/.*/],
external: ["react", "react-dom", /react-dom\/.*/],
},
lib: {
entry: path.resolve(__dirname, "src/index.ts"),
Expand Down
11 changes: 10 additions & 1 deletion pnpm-lock.yaml

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

0 comments on commit 704cf46

Please sign in to comment.