vite 8.x
Use Vite 8's programmatic JavaScript API and avoid Vite 7/Rollup-era configuration shapes.
- For
vite@8.2.2- Verified
- 2026-09-07, 4 examples executed
- Package
@modootoday/pmcp-vite@8.0.0
What it covers
- Programmatic API
- Configuration utilities
- Oxc JavaScript/TypeScript transforms
- CSS preprocessing
- Path normalization
- Dev and preview servers
- Production builds
- Vite 8 configuration migration
- CLI and config-file scope
- Not covered
One example from this skill
This is the skill's own text, not a summary of it. It runs: that is what verifying means here.
import assert from 'node:assert/strict'
import { mergeConfig } from 'vite'
const result = mergeConfig(
{ server: { port: 3000 }, define: { A: '1' } },
{ server: { strictPort: true }, define: { B: '2' } },
)
assert.equal(result.server.port, 3000)
assert.equal(result.server.strictPort, true)
assert.equal(result.define.A, '1')
assert.equal(result.define.B, '2')
What it did in the sandbox
Verifying this skill meant installing the package and running code against it with no route out. Nothing was observed. The full ledger lists every package examined, including the ones that never became a skill.
Nothing observed is not a finding of safety. It means one run, under one policy, produced nothing to report.
Getting it
With a subscription:
npx -y @modootoday/pmcp login
npx -y @modootoday/pmcp install @modootoday/pmcp-vite
It installs as a dev dependency of your project, and the MCP server finds it there like any other skill.