Skip to content

This plugin uses esbuild to minify your JavaScript.

Notifications You must be signed in to change notification settings

eMarketeerSE/esbuild-webpack-plugin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@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

About

This plugin uses esbuild to minify your JavaScript.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%