@lynx-js/config-rsbuild-plugin

Available config

@lynx-js/type-config defines all of Lynx's configurations. Each config provides comprehensive type docs explaining its behavior and default values. We also provide a more intuitive Lynx Config Reference.

Usage

When using specific front-end frameworks, pluginReactLynx or other DSL plugins typically only expose a portion of Lynx Config. To use Lynx's complete configs, please use @lynx-js/config-rsbuild-plugin.

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

export default defineConfig({
  plugins: [
    pluginLynxConfig({
      enableCheckExposureOptimize: false,
    }),
  ],
});
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.