Build settings
Change the commands, the root directory, the production branch and the Wrangler config of a project.
Open the project from your projects and click Settings. Changes apply from the next deployment.
Build and Deployment
| Setting | What it does |
|---|---|
| Root Directory | The folder of the app in the repository. Leave it empty for the root. |
| Install Command | The command that installs the dependencies. By default, Conic uses the install command of your package manager. |
| Build Command | The command that builds the app. By default, Conic uses the build command of your framework. |
| Production Branch | The branch that deploys to production. The next push to this branch deploys production. |
Wrangler Config
Conic deploys each project with a Wrangler config.
- If your repository has a Wrangler config, Conic uses it.
- If your repository has no Wrangler config, Conic makes one for your framework at each build.
In Wrangler Config, you can change this config. Conic applies your changes on top of the config from the repository or the generated config. You can edit it as a form or as wrangler.jsonc.
| Setting | What it does |
|---|---|
| Compatibility date | The date of the Workers runtime behavior that your Worker uses. |
| Compatibility flags | Extra runtime flags, for example nodejs_compat. |
| Observability | Workers Logs and traces for the production Worker. Live logs need Workers Logs. |
| Placement | Where Cloudflare runs your Worker. |
To go back to the config from the repository, click Reset the Wrangler config.
Project Name
The project name is also the name of the production Worker. Use lowercase letters, digits and dashes, up to 63 characters.
Delete the project
In Danger Zone, click Delete Project. Conic removes the project. By default, its Worker stays in your Cloudflare account. To delete the Worker too, select this option in the dialog. Only admins can delete a project.