Registry / devops / vite-plugin-enter-dev

vite-plugin-enter-dev

JSON →
library0.0.7jsnpmunverified

A Vite plugin providing development enhancements, such as auto-restarting the Vite dev server when configuration files change. Currently at version 0.0.7, with a moderate release cadence. Supports both Vite 5 and 6. Unlike competitors like vite-plugin-restart or @vitejs/plugin-restart, this plugin is minimal and focused on specific use cases from enter.pro.

npm install vite-plugin-enter-dev
INSTALL
IMPORT
SIG · VITE-PLUGIN-ENTER-
V
vite-plugin-enter-dev
devopsjavascriptv0.0.7
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.

enterDevPlugin
import { enterDevPlugin } from 'vite-plugin-enter-dev'
const enterDevPlugin = require('vite-plugin-enter-dev')
ESM-only; CommonJS require will fail.
default
import vitePluginEnterDev from 'vite-plugin-enter-dev'
const vitePluginEnterDev = require('vite-plugin-enter-dev').default
Default export available; avoid mixing with named export.
type Config
import type { Config } from 'vite-plugin-enter-dev'
import { Config } from 'vite-plugin-enter-dev'
Type-only import to avoid runtime side effects.

Shows basic usage of the plugin in a Vite config file, importing and registering the plugin.

// vite.config.ts import { defineConfig } from 'vite'; import { enterDevPlugin } from 'vite-plugin-enter-dev'; export default defineConfig({ plugins: [ enterDevPlugin({ // options here }) ] });
Debug
Known issues
gotchaPlugin is ESM-only; using require() will throw an error.
fix
Use import syntax instead of require().
affects: >=0.0.1
deprecatedVersion 0.0.7 is not stable; API may change without major version bump.
fix
Pin exact version and test upgrades carefully.
affects: <1.0.0
gotchaRequires Vite ^5.0.0 or ^6.0.0; incompatible with Vite 4.
fix
Upgrade Vite to version 5 or 6.
affects: >=0.0.1
Errors
Common errors & fixes
Cannot find module 'vite-plugin-enter-dev'
Package not installed or typo in package name.
fix
Run 'npm install vite-plugin-enter-dev' and check package.json.
ERR_REQUIRE_ESM
Using require() on an ESM-only package.
fix
Replace require() with import or use dynamic import().
Upgrade
Version history
0.0.7latest on npm
Audit
Dependencies
viterequiredpeer dependency; plugin runs as a Vite plugin
Agent activity
6 hits · last 30 days
node
6
Resources
vite-plugin-enter-dev — npm install vite-plugin-enter-dev · libregistry