Add the following command to your package.json
file to start the production server:
json{ "scripts": { "serve": "rasengan-serve ./dist" } }
PACKAGES
@rasenganjs/serve
is a simple utility to launch your Rasengan.js application in production mode. It serves the built application from the dist
directory, ensuring a smooth and optimized deployment.
To use @rasenganjs/serve
, install it as a dependency in your project:
bashnpm install @rasenganjs/serve
After building your application with Rasengan.js, you can start the production server using the rasengan-serve
command.
Add the following command to your package.json
file to start the production server:
json{ "scripts": { "serve": "rasengan-serve ./dist" } }
Run the following command in your terminal:
bashnpm run serve
This will start a server that serves your application from the dist
folder.
Currently, @rasenganjs/serve
provides a default configuration for serving your built project. Future updates may include additional options for customization.
Join the Rasengan.js community to get support, ask questions, and share your projects:
Let's build something amazing with Rasengan.js! 🚀
This package is MIT licensed.