The wix.config.mjs file defines the identifiers that connect your local code to your Wix app, and the packages that provide your project's commands.
The file has the following structure, with <value> in place of each identifier:
The flows array lists the packages that add commands to your project:
customExtensions(), from @wix/custom-extensions, holds your project's identifiers and adds the project commands, which run as wix app <command>.zeroConfig(), from @wix/cli-zero-config-flow, adds the wix app generate manifest command.Both calls take your app ID, so the file declares it once, as the appId constant.
customExtensions() takes the following identifiers:
appId links the project to your app, and to the version history of every release already made from it.projectId identifies this project's contribution to that app, which matters when more than one project releases to the same app.namespace is your app's namespace, in the format @prefix/suffix. Some extensions, such as data collections, require it.codeIdentifier is your app's code identifier, a unique, JavaScript-compatible name for your app and its extensions. The CLI uses it in the type of the site components and context providers it generates, such as my_app.MyComponent.Last updated: 10 November 2026