Home > @lynx-js/config-rsbuild-plugin

config-rsbuild-plugin package

An rsbuild plugin for config Lynx Config defined by @lynx-js/type-config.

Example

import { pluginLynxConfig } from '@lynx-js/config-rsbuild-plugin'
import { defineConfig } from '@lynx-js/rspeedy'

export default defineConfig({
  plugins: [
    pluginLynxConfig({
      enableCheckExposureOptimize: false,
    }),
  ],
})

Functions

FunctionDescription
pluginLynxConfig(config, options)An rsbuild plugin for config Lynx Config defined by @lynx-js/type-config.

Interfaces

InterfaceDescription
Config

A configuration interface for Lynx Config defined by @lynx-js/type-config.

See all available options in https://lynxjs.org/next/api/lynx-config/config-reference.html.

OptionsOptions for the Lynx Config rsbuild plugin.