rolo build
Build your extension for production (Web Store ready).
Usage
rolo build
Description
- Builds your extension project for production.
- Requires
rolo.config.jsonin the project root. - Detects the template type (
reactorvanilla) and builds accordingly:- React: Uses Vite to build and minify the project.
- Vanilla: Uses esbuild to bundle and minify, copying assets from
publictodist.
Example Output
- On success:
Build completeor similar log messages. - On error: Logs error and exits.
Notes
- Output is placed in the
dist/directory. - Make sure your
rolo.config.jsonis correctly configured.