Skip to main content

eWizard.js: Block settings

View the settings of the block template

eWizard Team avatar
Written by eWizard Team
Updated over a year ago

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

name

The block template name. By default, it's the same as the block project directory name.

id

The unique ID of the created block.

localization

Information about the current localization and available languages for the block template.

browserslist

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.

Did this answer your question?