@emarketeer/esbuild-minimizer-webpack-plugin
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

@emarketeer/esbuild-minimizer-webpack-plugin

This plugin uses esbuild to minify your JavaScript.

Supports Apple Silicon (M1 Macs) Latest esbuild version

Getting Started

To begin, you'll need to install @emarketeer/esbuild-minimizer-webpack-plugin

npm install @emarketeer/esbuild-minimizer-webpack-plugin --save-dev

Then add the plugin to your webpack config. For example:

webpack.config.js

const ESBuildPlugin = require('@emarketeer/esbuild-minimizer-webpack-plugin').default;

module.exports = {
  optimization: {
    minimize: true,
    minimizer: [
      new ESBuildPlugin()
    ]
  }
}

And run webpack via your preferred method.

Options

cache

Type: Boolean|String Default: true

parallel

Type: Boolean|Number Default: true

Package Sidebar

Install

npm i @emarketeer/esbuild-minimizer-webpack-plugin

Weekly Downloads

7

Version

1.0.3

License

ISC

Unpacked Size

25.4 kB

Total Files

15

Last publish

Collaborators

  • hamid_sajjadi
  • ayankovsky