Skip to content

Settings

The settings.json file in the project root directory stores the banner template settings.

json
{
  "name": "universal-banner-template",
  "id": "dbfa36bdffb0a46c55f85b78e394c65d",
  "localization": {
    "current": "eng",
    "original": "",
    "langs": [
      "eng"
    ],
    "country": "Global"
  },
  "browserslist": [
    "last 2 ios version",
    "last 2 android version"
  ],
  "screenshoter": {
    "delay": 1000
  },
  "theme": {
    "default": "light",
    "current": "light"
  },
  "information": {
    "brand": {
      "id": "5e78da1ef9478e000812b52a",
      "name": "Viseven"
    }
  },
  "targetCLM": {
    "code": ""
  }
}
FieldDescription
buildOptionsA configuration object that defines the settings and behavior of the build process during the banner export.
buildOptions.externalModulesAn array of glob patterns used to specify which modules to exclude from the final bundle.
nameThe banner template name.
idThe unique ID of the created banner.
localizationInformation about the current localization and available languages of the banner template.
browserslistDefines the supported browsers for demonstrating your banner. This configuration is applicable in prefixing the CSS rules and polyfilling JS. The exporting engine applies these settings only when building the banner for the target CLM app. For more information, see the Browserslist configuration syntax.
screenshoterThe settings for taking the banner screenshots when you export the banner to the PDF format.
screenshoter.delayThe delay with which the banner screenshot is generated in milliseconds. For more information, see Set delay for generating a screenshot.
themeThe default and current theme of the banner.
informationInformation about the brand and the name of the banner template.
targetCLMThe name and code of the target system for which the banner template was created.

For more information about settings in other template types, see the Configuration section.