这是开发预览网站。请访问正式文档 lynxjs.org

Home > @lynx-js/rspeedy > ConfigParams

ConfigParams interface

Parameters for the function exported from lynx.config.js.

Signature:

export interface ConfigParams 

Properties

Property

Modifiers

Type

Description

command

'build' | 'dev' | 'inspect' | 'preview' | (string & Record<never, never>)

The CLI command of Rspeedy.

env

'production' | 'development' | 'test' | (string & Record<never, never>)

The value of process.env['NODE_ENV']