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

Output.distPath property

Set the directory of the dist files.

Signature:

distPath?: DistPath | undefined;

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',
    },
  },
})