Skip to content

createRollupCompatibleFeaturePlugin

Creates the plugin that runs the shared transforms in a rollup or vite build.

Import:

import { createRollupCompatibleFeaturePlugin } from '@mnaoumov/obsidian-dev-toolkit/bundlers/rollup-compatible-features';

Signature:

function createRollupCompatibleFeaturePlugin(params: CreateRollupCompatibleFeaturePluginParams): RollupCompatibleFeaturePlugin

Parameters:

Parameter Type Description
params CreateRollupCompatibleFeaturePluginParams The CreateRollupCompatibleFeaturePluginParams.

Returns: RollupCompatibleFeaturePlugin — The plugin.


Links to this page: