Building a project

To build a Monterey.js project, do the following:

1

Step 1

Ensure that the project is initialized, initialize with monterey init

2

Step 2

Use the build command:

monterey build

The following command will build the project fully into an output directory

Build command options

output
string

Outputs built .monjson files to .js files in this directory.

minify
boolean

Minifies the output so It doesn’t take space

sourcemap
boolean

Generates sourcemaps, currently this feature isn’t working.

transpiler
default | online

Changes the transpiler to a specific or custom transpiler.