Configuration

Each project built with Gustwind needs minimal configuration to describe where to find the assets, site name, and development port:

meta.json

{
  "port": 3000,
  "amountOfBuildThreads": 1,
  "meta": {
    "language": "en",
    "siteName": "Gustwind",
    "url": "https://gustwind.js.org/"
  },
  "scripts": [
    {
      "type": "text/javascript",
      "src": "https://unpkg.com/sidewind@7.6.0/dist/sidewind.umd.production.min.js"
    }
  ],
  "paths": {
    "assets": "./assets",
    "components": "./site/components",
    "dataSources": "./site/dataSources.ts",
    "layouts": "./site/layouts",
    "output": "./build",
    "routes": "./site/routes.json",
    "scripts": ["./scripts", "./site/scripts"],
    "transforms": "./site/transforms",
    "pageUtilities": "./site/pageUtilities.ts",
    "twindSetup": "./site/twindSetup.ts"
  },
  "features": {
    "extractCSS": false,
    "showEditorAlways": true
  }
}

Most of the configuration work happens at page level so make sure to check the concepts page to understand how they go together.