0.2.2 • Published 5 years ago

webpack-plugin-bundlesize v0.2.2

Weekly downloads
3
License
ISC
Repository
github
Last release
5 years ago

WIP :warning: The package is still in development stage

Do help with your awesome contributions and issues

Micro Plugins is still in WIP too would love the feedback over that

:smile:

Usage

  1. Installation
  1. In your webpack config webpack.config.js (Your webpack config file)
  1. Options - Optional

Micro Plugin Development Guide

Refer the examples/micro-plugins for some examples

Instead of apply method for webpack plugins, I changed it to commit method

List of hooks available for this (as of now)

  • onSizeExceed
  • onSizeSafe
  • onSizeWarn

Few More comming soon like beforeRun,error etc...

TODO

  • Monorepo(s) for builtin microplugin

  • Typescript Migration

  • To implement the current in watchRun hook

  • To recommend some optimizations when size exceeding - MicroPlugin

  • To implement the logo and make the looks better

  • To suggest optmizations MicroPlugin List

    • read the config and check whether the splitchunk is implemented or not
    • Minify plugin
    • Codespliting suggestion
  • Typescript Migration