Registry / devops / vite-plus

vite-plus

JSON →
library0.1.19jsnpmunverified

vite-plus is a unified toolchain for web development, currently at v0.1.19 stable with frequent alpha releases (v0.1.20-alpha.3). It wraps Vite and provides additional CLIs for linting, formatting, and testing, with features like lazy plugin loading and Windows terminal fixes. Differentiators: it offers a single setup script, built-in lint/check commands, and lazy loading to improve build performance. Requires Node.js ^20.19.0 || >=22.12.0.

npm install vite-plus
INSTALL
IMPORT
SIG · VITE-PLUS
V
vite-plus
devopsjavascriptv0.1.19
Install
Import
Disk
Pass rate
0/ 6
Env Coverage0 / 6
glibc
1822
musl
1822
Install & Compatibility
Where this runs
tested against v? · npm install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
node 18223 runs
build_error
glibc
node 18223 runs
build_error
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

defineConfig
import { defineConfig } from 'vite-plus'
const defineConfig = require('vite-plus')
ESM-only; CommonJS require is not supported.
lazyPlugins
import { lazyPlugins } from 'vite-plus/plugin'
import { lazyPlugins } from 'vite-plus'
lazyPlugins is exported from a subpath; direct import from 'vite-plus' returns undefined.
vp
import { vp } from 'vite-plus'
import { cli } from 'vite-plus'
The CLI object is named 'vp', not 'cli'.

Creates a vite-plus config using lazy loaded Vue plugin, demonstrating lazyPlugins usage.

import { defineConfig } from 'vite-plus'; import { lazyPlugins } from 'vite-plus/plugin'; export default defineConfig({ plugins: [ lazyPlugins(() => import('@vitejs/plugin-vue'), { include: /\\.vue$/ }), ], build: { outDir: 'dist', }, });
Debug
Known issues
breakingNode.js <20.19.0 or <22.12.0 not supported
fix
Upgrade Node.js to ^20.19.0 or >=22.12.0
affects: <0.1.0
breakingCLI changed from 'vite-plus' command to 'vp' command in v0.1.18
fix
Use 'vp' instead of 'vite-plus' in terminal; update scripts accordingly.
affects: >=0.1.18
gotchalazyPlugins must be imported from 'vite-plus/plugin', not 'vite-plus'
fix
Change import to: import { lazyPlugins } from 'vite-plus/plugin'
affects: >=0.1.19
deprecatedCommonJS require() of vite-plus will throw in Node ESM mode
fix
Use ESM imports or set 'type': 'module' in package.json
affects: >=0.1.0
Errors
Common errors & fixes
Error [ERR_REQUIRE_ESM]: require() of ES Module not supported
Using require() to import an ESM-only package
fix
Switch to ESM imports: import { defineConfig } from 'vite-plus'
Module not found: Can't resolve 'vite-plus/plugin'
Missing subpath exports in older versions; fixed in v0.1.19
fix
Upgrade to vite-plus@^0.1.19 or use import from 'vite-plus' if available
Error: Unknown command 'vite-plus'
CLI renamed from 'vite-plus' to 'vp' in v0.1.18
fix
Use 'vp' command instead of 'vite-plus'
Upgrade
Version history
0.1.19latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
15 hits · last 30 days
node
14
Resources
vite-plus — npm install vite-plus · libregistry