1.0.0-beta.2 • Published 4 years ago

esbuild-minimizer-webpack-plugin v1.0.0-beta.2

Weekly downloads
2
License
ISC
Repository
github
Last release
4 years ago

esbuild-minimizer-webpack-plugin

This plugin uses esbuild to minify your JavaScript.

Getting Started

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

npm install esbuild-minimizer-webpack-plugin --save-dev

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

webpack.config.js

const ESBuildPlugin = require('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