Skip to content

ObsidianPluginRollupOptions

Options for obsidianPluginRollup.

Import:

import type { ObsidianPluginRollupOptions } from '@mnaoumov/obsidian-dev-toolkit/bundlers/rollup';

Signature:

export interface ObsidianPluginRollupOptions extends ObsidianPluginDeploymentOptions, ObsidianPluginFeatureOptions

Extends: ObsidianPluginDeploymentOptions, ObsidianPluginFeatureOptions

Properties

PropertyTypeDescription
framework?ObsidianPluginFrameworkThe UI framework whose components the build compiles.
(Inherited from ObsidianPluginFeatureOptions)
mode?BuildModeThe build mode. Defaults to BuildMode.Development in watch mode (rollup --watch) and BuildMode.Production otherwise.
obsidianConfigFolder?stringA folder for Obsidian configuration. Defaults to the OBSIDIAN_CONFIG_FOLDER environment variable, read from the process or from a .env file in the project root.
(Inherited from ObsidianPluginDeploymentOptions)
reload?ObsidianPluginReloadHow a development build is reloaded in Obsidian once it is copied into the vault. Defaults to 'hot-reload-plugin'.
(Inherited from ObsidianPluginDeploymentOptions)
styles?ObsidianPluginStylesOptionsThe stylesheet pipeline.
(Inherited from ObsidianPluginFeatureOptions)
wasm?booleanWhether import bytes from './module.wasm' imports the module's bytes as a Uint8Array, inlined into main.js.
(Inherited from ObsidianPluginFeatureOptions)

Links to this page: