0.14.1 • Published 1 month ago

postinstall-esbuild v0.14.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 month ago

postinstall-esbuild

This is a postinstall command plugin.

It runs esbuild on inputs, and concatenate bundles on output.

Supports Buffer, remote URL, or local paths.

Bundles remote dependencies, otherwise assets are copied.

Usage

The plugin can be called directly, or through postinstall.

Directly:

await require('postinstall-esbuild')(inputs, output, options);

Options

browsers

A Browserslist query string

A user-agent header matching minimum browsers version is generated for the remote http calls, if any.

minify

Pass minify: false to disable minification.

sourceMap

Pass sourceMap: true to output "*.map" source maps.

Pass sourceMap: false to disable and allow passing Buffers in inputs.

For now, css source maps might not be correct (lightning does not pass map to esbuild).

cwd

Change working directory.

0.14.1

1 month ago

0.14.0

2 months ago

0.13.3

5 months ago

0.13.2

6 months ago

0.13.1

6 months ago

0.13.0

6 months ago

0.12.0

6 months ago

0.11.0

6 months ago

0.10.0

6 months ago

2.0.0

6 months ago

0.9.0

7 months ago