A minimal static file server for serving a build directory (e.g., after a build step) on a local port. Version 0.1.0 is the only release. No active maintenance or updates. Differentiators: zero-config, single command, no dependencies listed. It simply serves the `build/` folder on port 3000. No support for HTTPS, caching, or custom routes. Alternative to `http-server` or `serve` packages with fewer features.
npm install serve-buildVerified import paths — ran on the pinned version, not inferred.
Shows installation, script setup, and running serve-build to serve the build folder.
Ensure your build output is in ./build, or use a more flexible static server like 'serve' or 'http-server'.
If port 3000 is in use, kill the process or use a different tool.
Use a reverse proxy like nginx or a different server for HTTPS.
Use 'latest' Node or convert project to ESM.
Run 'npm install serve-build --save-dev' or 'yarn add serve-build'
Use 'import serveBuild from 'serve-build'' or switch project to ESM.
Kill the process using port 3000 (e.g., 'lsof -ti:3000 | xargs kill') or use a different tool.
No dependency data recorded yet.