Registry / devops / esbuild-dev-server-win32-x64

esbuild-dev-server-win32-x64

JSON →
library0.3.0jsnpmunverified

Platform-specific binary for esbuild-dev-server, a plugin that adds a local development server with hot reloading to esbuild. Version 0.3.0 is the latest. This package is the Windows 64-bit binary; users should install the main `esbuild-dev-server` package which automatically selects the correct binary for their platform.

npm install esbuild-dev-server-win32-x64
INSTALL
IMPORT
SIG · ESBUILD-DEV-SERVER
E
esbuild-dev-server-win32-x64
devopsjavascriptv0.3.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

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

esbuildDevServer
✓ import { esbuildDevServer } from 'esbuild-dev-server'
✗ const esbuildDevServer = require('esbuild-dev-server') // note: ESM only, no default export
ESM-only package; CommonJS require will fail. Ensure your project uses ES modules.
esbuild
✓ import { build } from 'esbuild'
✗ const esbuild = require('esbuild')
esbuild is CJS/ESM compatible, but esbuild-dev-server is ESM-only, so prefer ESM imports throughout.

Sets up esbuild with a dev server and hot reloading using esbuild-dev-server.

import { esbuildDevServer } from 'esbuild-dev-server' const buildOptions = { entryPoints: ['src/index.js'], outdir: 'dist', bundle: true, } await esbuildDevServer({ build: buildOptions, port: 3000, hot: true, }) console.log('Dev server running on http://localhost:3000')
Debug
Known issues
breakingBreaking change in v0.3.0: The function signature changed from (options) to esbuildDevServer(options).
fix
Update import and call to esbuildDevServer({...}) instead of calling the default export directly.
affects: >=0.3.0
gotchaDo not install esbuild-dev-server-win32-x64 directly; it is a platform-specific binary installer.
fix
Install the main 'esbuild-dev-server' package, which will automatically download the correct binary for your platform.
affects: *
gotchaESM-only: This package does not support CommonJS require().
fix
Use ES module imports (import/export) in your project. Set "type": "module" in package.json or use .mjs extension.
affects: *
Errors
Common errors & fixes
Error [ERR_REQUIRE_ESM]: require() of ES Module ... from ... not supported.
Using require() on an ESM-only package (esbuild-dev-server).
fix
Use import instead of require. If your project uses CommonJS, consider dynamic import() or switch to ES modules.
The dev server is not starting. / Hot reload not working.
Incorrect configuration or missing entry points.
fix
Ensure entryPoints are correct and outdir is set. Check that hot: true is passed to esbuildDevServer.
Upgrade
Version history
0.3.0latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
esbuild-dev-server-win32-x64 — npm install esbuild-dev-server-win32-x64 · libregistry