Skip to content

ObsidianPluginWebpackPluginOptions

Options for ObsidianPluginWebpackPlugin.

Import:

import type { ObsidianPluginWebpackPluginOptions } from '@mnaoumov/obsidian-dev-toolkit/bundlers/webpack';

Signature:

export interface ObsidianPluginWebpackPluginOptions 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 when webpack watches (webpack --watch) or its mode is development, 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)