Build Config
vp dev, vp build, and vp preview use the standard Vite configuration, including plugins, aliases, server, build and preview fields.
Example
ts
import { defineConfig } from 'vite-plus';
export default defineConfig({
server: {
port: 3000,
},
build: {
sourcemap: true,
},
preview: {
port: 4173,
},
});