Skip to content

Commit

Permalink
fix(with-tailwind): dev script fails to build tailwindcss (#1898)
Browse files Browse the repository at this point in the history
use concurrently run
  • Loading branch information
big-camel authored Sep 13, 2022
1 parent bcf68ff commit ea421a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/with-tailwind/packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"license": "MIT",
"scripts": {
"build": "tsup src/index.tsx --format esm,cjs --dts --external react && tailwindcss -i ./src/styles.css -o ./dist/styles.css",
"dev": "tsup src/index.tsx --format esm,cjs --dts --external react --watch & tailwindcss -i ./src/styles.css -o ./dist/styles.css --watch",
"dev": "concurrently \"tsup src/index.tsx --format esm,cjs --dts --external react --watch\" \"tailwindcss -i ./src/styles.css -o ./dist/styles.css --watch\"",
"clean": "rm -rf dist"
},
"devDependencies": {
Expand Down

1 comment on commit ea421a1

@vercel
Copy link

@vercel vercel bot commented on ea421a1 Sep 13, 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.