Replace remote Tailwind CSS with a minimal local build; refine build script and UI styling.
- Added `tailwind.min.css` tailored to current app requirements to reduce external dependencies. - Updated `index.html` to use the local Tailwind CSS file. - Improved `package.json` `build` script to ensure `dist` directory creation and inclusion of all `public/` assets. - Refined CSS and layout in `App.jsx` for better consistency and responsiveness.
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "bun run --hot src/index.jsx",
|
||||
"build": "bun build ./src/index.jsx --outdir ./dist --minify && cp public/index.html dist/",
|
||||
"build": "bun build ./src/index.jsx --outdir ./dist --minify && mkdir -p dist && cp -r public/* dist/",
|
||||
"start": "bun run dist/index.js"
|
||||
},
|
||||
"dependencies": {
|
||||
|
||||
Reference in New Issue
Block a user