esbuild-plugin-webpack-analyzer
v0.0.5
Published
Integration of Webpack Bundle Analyzer to ESBuild
Downloads
6
Readme
esbuild-plugin-webpack-analyzer
A basic integration of https://github.com/webpack-contrib/webpack-bundle-analyzer into ESBuild.
Usage
import { BuildOptions } from 'esbuild';
import { pluginWebpackAnalyzer } from 'esbuild-plugin-webpack-analyzer';
const esbuildConfig: BuildOptions = {
metafile: true, // required
plugins: [
pluginAnalyzer({
port: 8888,
host: '127.0.0.1',
open: true,
}),
],
};
Features
- shows only stats sizes of modules
- works both with
splitting: true
orsplitting: false