@joystick.js/cli

build

Build your Joystick app for deployment.

To build an existing Joystick app, from your terminal, run:

joystick build -t <type>

When you run this command, Joystick will build your app as the chosen output type -t, --type to the .build folder at the root of your app.

Options

-t, --type required
The output type for your built app (either directory or tar).
-e, --environment
The environment to set for process.env.NODE_ENV in your build (defaults to production).