Skip to content

Format Config

vp fmt and vp check read Oxfmt settings from the fmt block in vite.config.ts. See Oxfmt's configuration for details.

Example

ts
import { defineConfig } from 'vite-plus';

export default defineConfig({
  fmt: {
    ignorePatterns: ['dist/**'],
    singleQuote: true,
    semi: true,
    experimentalSortPackageJson: true,
  },
});