The settings.json
file in the project root directory stores the block template settings. When you initialize a block, this is the default configuration of the settings.json
file.
{
"name": "block",
"id": "25cc3689-4ff9-4f99-870f-d05a76fc2193",
"localization": {
"current": "eng",
"original": "",
"langs": [
"eng"
]
},
"browserslist": ["last 2 versions]
}
Field | Description |
| The block template name. By default, it's the same as the block project directory name. |
| The unique ID of the created block. |
| Information about the current localization and available languages for the block template. |
| Define the supported browsers for demonstrating your block. This configuration is applicable in prefixing the CSS rules and polyfilling JS. For more information, see the Browserslist configuration syntax. |