Skip to content

Repro tailwind issue #4

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
67 changes: 67 additions & 0 deletions repro-tailwind-issue/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
# Node modules
node_modules

# Logs
logs
*.log
npm-debug.log*
pnpm-debug.log*

# Environment variables
.env
.dev.vars

# Vite build output
dist

# TypeScript
*.tsbuildinfo

# IDEs and editors
.vscode/
.idea/
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?

# MacOS
.DS_Store

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional stylelint cache
.stylelintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# pnpm store directory
.pnpm-store

# dotenv environment variables file
.env.local
.env.development.local
.env.test.local
.env.production.local

# Vite cache
.vite

# Coverage directory used by tools like istanbul
coverage

# Temporary files
*.tmp
*.temp

# Wrangler
.wrangler
24 changes: 24 additions & 0 deletions repro-tailwind-issue/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# RedwoodSDK Minimal Starter

This starter gives you a bare-bones RedwoodSDK project.

Create your new project:

```shell
npx create-rwsdk my-project-name
cd my-project-name
pnpm install
```

## Running the dev server

```shell
pnpm dev
```

Point your browser to the URL displayed in the terminal (e.g. `http://localhost:5173/`). You should see a "Hello World" message in your browser.

## Further Reading

- [RedwoodSDK Documentation](https://docs.rwsdk.com/)
- [Cloudflare Workers Documentation](https://developers.cloudflare.com/workers)
44 changes: 44 additions & 0 deletions repro-tailwind-issue/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"name": "@redwoodjs/starter-minimal",
"version": "1.0.0",
"description": "A bare-bones RedwoodSDK starter",
"main": "index.js",
"type": "module",
"keywords": [],
"author": "",
"license": "MIT",
"private": true,
"scripts": {
"build": "vite build",
"dev": "NODE_ENV=${NODE_ENV:-development} vite dev",
"dev:init": "rw-scripts dev-init",
"preview": "vite preview",
"worker:run": "rw-scripts worker-run",
"clean": "npm run clean:vite",
"clean:vite": "rm -rf ./node_modules/.vite",
"release": "rw-scripts ensure-deploy-env && npm run clean && npm run build && RWSDK_DEPLOY=1 wrangler deploy",
"generate": "rw-scripts ensure-env && wrangler types",
"check": "npm run generate && npm run types",
"types": "tsc"
},
"dependencies": {
"@tailwindcss/vite": "^4.1.8",
"rwsdk": "0.0.88"
},
"devDependencies": {
"@types/node": "^22.14.0",
"@types/react": "^19.1.2",
"@types/react-dom": "^19.1.2",
"typescript": "^5.8.3",
"vite": "^6.2.6",
"wrangler": "^4.16.0"
},
"pnpm": {
"onlyBuiltDependencies": [
"esbuild",
"sharp",
"workerd"
]
},
"packageManager": "pnpm@10.11.0+sha512.6540583f41cc5f628eb3d9773ecee802f4f9ef9923cc45b69890fb47991d4b092964694ec3a4f738a420c918a333062c8b925d312f42e4f0c263eb603551f977"
}
Loading