0.18.0 • Published 2 years ago
@garment/plugin-runner-serve v0.18.0
@garment/plugin-runner-serve
Serve the content of the directory
Installation
npm i @garment/plugin-runner-serve
or
yarn add @garment/plugin-runner-serve
Example usage
{
"runner": "serve",
"options": {
"publicDir": "{{projectDir}}/build",
"port": "3000"
}
}
API
publicDir: path
The directory to serve files from
port: number
Port number