Skip to content

getEsbuildFeaturePlugins

Creates the esbuild plugins the framework needs: unplugin-vue for Vue, and the shared Solid transform for Solid.

Import:

import { getEsbuildFeaturePlugins } from '@mnaoumov/obsidian-dev-toolkit/bundlers/esbuild-impl/feature-options';

Signature:

function getEsbuildFeaturePlugins(params: GetEsbuildFeatureBuildOptionsParams): Promise<Plugin[]>

Parameters:

Parameter Type Description
params GetEsbuildFeatureBuildOptionsParams The GetEsbuildFeaturePluginsParams.

Returns: Promise<Plugin[]> — A Promise that resolves to the plugins, empty when the framework needs none.


Links to this page: