output.charset

  • Type: 'ascii' | 'utf8'
  • Default: 'ascii'

The charset config allows you to specify the character encoding for output files to ensure they are displayed correctly in different environments.

INFO

The usage of this configuration item is exactly the same as that of Rsbuild. For detailed information, please refer to Rsbuild - output.charset.