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

config-rsbuild-plugin package

A 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)A rsbuild plugin for config Lynx Config defined by @lynx-js/type-config.

Interfaces

InterfaceDescription
ConfigA configuration interface for Lynx Config defined by @lynx-js/type-config.
OptionsOptions for the Lynx Config rsbuild plugin.
Except as otherwise noted, this work is licensed under a Creative Commons Attribution 4.0 International License, and code samples are licensed under the Apache License 2.0.