Lasso.js CLI
This utility provides support for running the Lasso.js from the command-line.
Installation
npm install lasso-cli --global
Usage
A simple usage that writes out a JavaScript bundle and a CSS bundle to the static/
directory that includes all of the required dependencies is shown below:
lasso foo.js style.css --main main.js --name "my-page"
With additional options:
lasso jquery.js style.less \ --main "main.js" `# Entry point JavaScript module
Alternatively, you can create a JSON configuration file and use that instead:
lasso --config lasso-config.json
For additional help from the command line, you can run the following command:
lasso --help