Skip to content

Config File

unextension uses cosmiconfig to load your config. It supports unextension.config.ts, .js, .mjs, .json, .yaml, or a unextension key in package.json.

import { defineConfig } from '@unextension/cli'
export default defineConfig({
name: 'my-extension',
displayName: 'My Extension',
version: '0.1.0',
description: 'A universal IDE extension',
distDir: './dist',
targets: ['vscode', 'jetbrains'],
jetbrains: {
downloadGradleWrapper: true,
},
})

The extension identifier in kebab-case. Used as the extension ID in both VS Code and JetBrains.

The human-readable name shown in the IDE marketplace.

Semver version string, e.g. 0.1.0.

A short description of your extension.

Path to your built web app output. Defaults to ./dist.

Array of target platforms to generate. Defaults to ['vscode', 'jetbrains'].

Whether to automatically download the gradle-wrapper.jar during sync. Defaults to true.