A modern GitHub Pages site built with raw HTML, TypeScript, and CSS, using Rolldown for bundling and code quality tools.
- Language: TypeScript + HTML/CSS
- Bundler: Rolldown
- Linter: Oxlint
- Formatter: Oxfmt
- Package Manager: pnpm
- Output:
/sitefolder (GitHub Pages root)
.
├── src/ # TypeScript source files
│ └── main.ts # Entry point
├── site/ # Output folder (GitHub Pages root)
│ ├── index.html # Main HTML file
│ ├── style.css # Stylesheet
│ └── bundle.js # Generated bundle (built)
├── package.json # Dependencies and scripts
├── tsconfig.json # TypeScript configuration
├── rolldown.config.js # Rolldown bundler config
├── .oxlintrc.json # Oxlint configuration
└── .oxfmtrc.json # Oxfmt configuration
Install dependencies:
pnpm install- Build:
pnpm build - Watch mode:
pnpm dev - Lint:
pnpm lint - Fix linting issues:
pnpm lint:fix - Format code:
pnpm format - Check formatting:
pnpm format:check - Preview locally:
pnpm preview
The /site folder is configured as your GitHub Pages root. Commit and push to deploy automatically.
MIT