Documentation
airbase.json

airbase.json

Use airbase.json to configure a project for deployment on the Airbase platform

💡

Configure project options using the airbase configure command in the CLI.

  • Framework (e.g. nextjs-standalone, nuxtjs, express, nextjs, other)
  • Start Command (default: node server.js)
  • Additional Include Globs (e.g. public/**/*.jpg)

Framework

Start Command

The start command is used as the entry point to the web application when it is run on the Airbase platform

Find out more about the framework-specific start commands and configuration.

include

Additional assets, content, and other files can be manually included using a glob pattern.

  {
    "name": "my-airbase-app",
    "framework": "nextjs-standalone",
    "scripts": {
      "build": "npm run build",
      "start": "node server.js"
    },
+   "include": [
+     "public/**/*",
+     "extras/**/*.svg"
+   ]
  }

Common include examples

Entirety of the build output

dist/**/*

Everything in the public folder

public/**/*

All static assets with the extension .json

static/**/*.json

The entire node_modules (but why?)

node_modules/**/*