Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@es-exec/esbuild-plugin-serve

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@es-exec/esbuild-plugin-serve

An esbuild plugin to run a script after building a package.

  • 0.0.5
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

ES Serve

An esbuild plugin for running a module after it is build with esbuild. This project will find the output module to run after being built from the esbuild outputs, or it can run a specified main file.

Installation

npm

npm install --save-dev @es-exec/esbuild-plugin-serve

yarn

yarn add --dev @es-exec/esbuild-plugin-serve

Usage

import serve from '@es-exec/esbuild-plugin-serve';

/** @type import('@es-exec/esbuild-plugin-serve').ESServeOptions */
const options = {
    main: 'build/index.mjs' // The module to run after the project is built. If not specified, will run the build outputs.
};

export default {
    ..., // Other esbuild config options.
    plugins: [serve(options)],
};

Keywords

FAQs

Package last updated on 24 Mar 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc