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

Home > @lynx-js/rspeedy > Dev > progressBar

Dev.progressBar property

Whether to display progress bar during compilation.

Signature:

progressBar?: boolean | {
        id?: string;
    } | undefined;

Default Value

true

Example 1

Disable the progress bar.

import { defineConfig } from '@lynx-js/rspeedy'

export default defineConfig({
  dev: {
    progressBar: false,
  },
})

Example 2

Modify the progress bar id

To modify the text displayed on the left side of the progress bar, set the id option:

import { defineConfig } from '@lynx-js/rspeedy'

export default defineConfig({
  dev: {
    progressBar: {
      id: 'Some Text'
    },
  },
})