esbuild-dev-server Linux x64 binary
raw JSON → 0.3.0 verified Fri May 01 auth: no javascript
This is the Linux 64-bit binary for esbuild-dev-server, a development server for esbuild that provides live reloading. Version 0.3.0 introduces a new API and updated documentation. The package is a platform-specific binary dependency and is not meant to be used directly; instead, rely on esbuild-dev-server which automatically selects the correct binary. Release frequency is moderate, with version 0.3.0 being the latest.
Common errors
error Module not found: Can't resolve 'esbuild-dev-server-linux-x64' ↓
cause Attempting to directly import the platform binary package.
fix
Use the main package 'esbuild-dev-server' in your imports.
Warnings
gotcha This package is a platform-specific binary and should not be installed directly. ↓
fix Install the main package 'esbuild-dev-server' instead; it will pull the correct binary.
breaking v0.3.0 introduces a new API that is incompatible with v0.2.x. ↓
fix Update your code to use the new API as documented in the release notes.
Install
npm install esbuild-dev-server-linux-x64 yarn add esbuild-dev-server-linux-x64 pnpm add esbuild-dev-server-linux-x64 Imports
- esbuildDevServer wrong
import esbuildDevServer from 'esbuild-dev-server-linux-x64'correctimport { esbuildDevServer } from 'esbuild-dev-server'
Quickstart
import { esbuildDevServer } from 'esbuild-dev-server';
import esbuild from 'esbuild';
await esbuildDevServer({
esbuild,
entryPoints: ['src/index.ts'],
outdir: 'dist',
port: 3000,
hot: true,
});