This is the dev preview website. Check out the document at lynxjs.org

Home > @lynx-js/rspeedy > Output > distPath

Output.distPath property

Set the directory of the dist files.

Signature:

distPath?: DistPath | undefined;

Default Value

Uses Rsbuild's default distPath configuration with root: 'dist'.

Remarks

More options can be found at Rsbuild - distPath.

Example

Use output instead of dist(the default value):

import { defineConfig } from '@lynx-js/rspeedy'
export default defineConfig({
  output: {
    distPath: {
      root: './output',
    },
  },
})