stacks/stackblitz
publicClone
Push over the same URL. A password will not work: create a token under access tokens and use it in place of one.
- .config
- .github
- dist
- resources
- test
- .editorconfig 147 B
- .gitattributes 12 B
- .gitignore 117 B
- .stackblitzrc 77 B
- bun.lock 16.9 KB
- bunfig.toml 29 B
- CHANGELOG.md 331 B
- deps.yaml 32 B
- LICENSE.md 1.1 KB
- package.json 1.0 KB
- README.md 1.3 KB
- server.ts 3.4 KB
- tsconfig.json 453 B
Stacks on StackBlitz
A small, live-reloading stx starter for StackBlitz WebContainers.
Edit resources/views/welcome.stx or resources/css/app.css; the preview recompiles the template and reloads automatically.
Run locally
bun install
bun run devOpen http://localhost:3000.
Verify
bun run checkThat runs linting, TypeScript checks, and the Bun test suite used by StackBlitz.
Runtime contract
This repository uses Bun for dependency installation, development, builds, linting, and tests. Because WebContainers provide Node rather than a Bun executable, Bun produces the dependency-bundled dist/server.mjs target that StackBlitz runs. .stackblitzrc disables implicit dependency installation, so StackBlitz never invokes npm and does not resolve a second lockfile.
The starter is intentionally frontend-scoped. Full Stacks applications still need local services such as Bun, SQLite, rpx, and tlsx.
Layout
server.ts- stx compiler, Bun HTTP preview, and live reloaddist/server.mjs- Bun-built, dependency-bundled WebContainer targetresources/views/welcome.stx- editable viewresources/css/app.css- editable stylestest/- Bun behavior and server tests