Webpack dev tools to make performance analysis, error investigation and loader development more convenient

Overview

build-tool-inspector

Introduction

Webpack dev tools to make performance analysis, error investigation and loader development more convenient. Provide the following functions:

  1. All modules and intermediate compilation results passed by the loaders.

devtool-0.png

devtool-1.png

  1. The time consuming of all loaders and the number of files they compile.

devtool-3.png

  1. Module dependency graph structure visualization.(Think of performance, the function will be closed when the number of modules is greater than 100)

devtool-4.png

  1. View the final config of webpack.

devtool-5.png

Usage

1. Install

pnpm install @modern-js/inspector-webpack-plugin -D

2. Use in webpack

// webpack.config.ts
import { InspectorWebpackPlugin } from '@modern-js/inspector-webpack-plugin'

// Add plugin
export default {
  plugins: [new InspectorWebpackPlugin()]
}

3. Custom Options

export default {
  plugins: [new InspectorWebpackPlugin({
    // Custom the port of devtool page, which is 3333 by default.
    port: 3456,
    // Config the module that need to be ignored, ignore will not work by default.
    ignorePattern: /node_modules/
  })]
}

Credits

The UI interface implementation of inspector is modified from existing project vite-plugin-inspect.At the same time, webpack loader in the inspect got inspired by speed-measure-webpack-plugin.Thanks for them.

You might also like...

Lingui loader for Vite, Rollup, Webpack, and more

unplugin-lingui-loader It’s a good practice to use compiled message catalogs during development. However, running compile everytime messages are chang

Nov 3, 2022

1kb js library contains development debugging, error monitoring and reporting, user problem localization features

1kb js library contains development debugging, error monitoring and reporting, user problem localization features

1kb js library contains development debugging, error monitoring and reporting, user problem localization features

Dec 22, 2022

A convenient tool to view the youtube superchat messages in the streaming.

A convenient tool to view the youtube superchat messages in the streaming.

Youtube 超級留言訊息實況小工具 一個可以用於實況中顯示Youtube 超級留言訊息的小工具。 下載頁面 可至Release頁面根據自身的作業系統下載最新版本。 檔名 作業系統 youtube-superchat-message-tool-win32-x64-{version}.zip Win

Apr 14, 2022

Convenient wrapper for launching CLI applications for Deno.

deno_cliwrap Convenient wrapper for launching CLI applications in Deno. Module link: https://deno.land/x/cliwrap Usage In the following examples, we'l

Jul 2, 2022

✏️ A new tab extension for convenient note-taking

✏️ A new tab extension for convenient note-taking

MDTab Write quick notes in Markdown on any new tabs! Installation Right now MDTab has only been tested on Chrome (brave browser). You can install it f

Nov 11, 2022

Code Scanning/SAST/Static Analysis/Linting using many tools/Scanners with One Report - Scanmycode Community Edition (CE)

Code Scanning/SAST/Static Analysis/Linting using many tools/Scanners with One Report - Scanmycode Community Edition (CE)

Star it If you like it, please give it a GitHub star/fork/contribute. This will ensure continous development ⭐ TLDR; To install it. Install docker and

Dec 29, 2022

A Cli that handles the creation of a basic express App that supports Husky configuration & static analysis tools

A Cli that handles the creation of a basic express App that supports Husky configuration & static analysis tools

@phazero/create-express-app · Create express app is a CLI that can generate boiler plate code for setting up an express app. Installation & Usage npx

Oct 29, 2022

Three.js boilerplate project configured with typescript, webpack and css/style loader, HTTPS local server, and a sample test codes !!

Three.js boilerplate project configured with typescript, webpack and css/style loader, HTTPS local server, and a sample test codes !!

three.js-boilerplate Welcome, this is a three.js boilerplate project where you can clone it and start to work !!! Installed and Configured Items: Type

Jul 6, 2022

Colr Pickr, a vanilla JavaScript color picker component built with SVGs, with features like saving colors. Similar design to the chrome-dev-tools color picker.

Colr Pickr, a vanilla JavaScript color picker component built with SVGs, with features like saving colors. Similar design to the chrome-dev-tools color picker.

Colr Pickr Colr Pickr, a vanilla JavaScript color picking component built with SVGs, with features like saving colors. Similar design to the chrome-de

Jun 27, 2022
Releases(v1.0.1)
  • v1.0.1(Sep 2, 2022)

  • v1.0.0(Sep 2, 2022)

    Features:

    • 🚀 All modules and intermediate compilation results passed by the loaders.
    • 🚀 The time consuming of all loaders and the number of files they compile.
    • 🚀 Module dependency graph structure visualization.(Think of performance, the function will be closed when the number of modules is greater than 100).
    • 🚀 View the final config of webpack.
    • 🚀 View the webpack output chunk.
    Source code(tar.gz)
    Source code(zip)
  • alpha(Aug 22, 2022)

Owner
Modern JS
Let's go gentle into that good era of modern web development
Modern JS
Vite plugin for more convenient Relay experience.

vite-plugin-relay Vite plugin for more convenient Relay experience. What this plugin does for you: Generates artifacts on code changes Transform codes

Hyeseong Kim 13 Nov 7, 2022
High performance and SEO friendly lazy loader for images (responsive and normal), iframes and more, that detects any visibility changes triggered through user interaction, CSS or JavaScript without configuration.

lazysizes lazysizes is a fast (jank-free), SEO-friendly and self-initializing lazyloader for images (including responsive images picture/srcset), ifra

Alexander Farkas 16.6k Jan 1, 2023
Unstyled, dev error overlays for SolidJS

solid-error-overlay Unstyled, headless Error Overlay for SolidJS Install npm i solid-error-overlay yarn add solid-error-overlay pnpm add solid-error-o

Alexis H. Munsayac 20 Dec 29, 2022
This an CRUD app built were users can create, update and delete specific day to day tasks as they wish. The app is built using webpack and served with webpack dev server

Todo-List This an CRUD app built were users can create, update and delete specific day to day tasks as they wish. The app is built using webpack and s

Duane David 10 Sep 28, 2022
This is a simple web app that allows a user add list of tasks that needs to be completed. It is built using webpack and served by a webpack dev server.

TO-DO-LIST "To-do list" is a tool that helps to organize your day. It simply lists the things that you need to do and allows you to mark them as compl

Favour Ezeugwa 18 Aug 19, 2022
A simple HTML page maintaining list of To Do tasks using webpack and served by a webpack dev server.

Task Organiser In this project, we build a simple HTML list of To Do tasks using webpack and served by a webpack dev server. Built With HTML CSS Javas

Angom 4 Jun 24, 2022
This project is about building a simple HTML list of To Do tasks. Built using webpack and served by a webpack dev server.

To Do List app This project is about building a simple HTML list of To Do tasks and is built using webpack and served by a webpack dev server. Built W

Dino Ronald Quispe Arias 6 Nov 4, 2022
In this project, we built a simple HTML list of To Do tasks. This simple web page was created using webpack and served by a webpack dev server.

To do list In this project, we built a simple HTML list of To Do tasks. This simple web page was created using webpack and served by a webpack dev ser

Jesús Vázquez 8 Dec 21, 2022
In this project, I build a simple HTML list of To Do tasks. This simple web page will be built using webpack and served by a webpack dev server.

To Do list with Webpack In this project, I build a simple HTML list of To Do tasks. This simple web page will be built using webpack and served by a w

Sidney Kaguli 8 Aug 23, 2022
In this project, I built a simple HTML list of To Do tasks. The list is styled according to the specifications listed later in this lesson. This simple web page is built using webpack and served by a webpack dev server.

Awesome books:JavaScript Using Modules In this project, I built a simple HTML list of To Do tasks. The list is styled according to the specifications

 Hassan Momanyi 10 Nov 25, 2022