luhc228 / inspect-webpack-plugin

A webpack plugin for inspecting module transform of loaders.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

inspect-webpack-plugin

NPM version

A webpack plugin for inspecting module transform of loaders. The plugin is inspired by vite-plugin-inspect.

image

Install

Note: Webpack v5 is required.

npm i inspect-webpack-plugin -D

Add plugin to your webpack.config.ts:

import InspectWebpackPlugin from 'inspect-webpack-plugin';

export default {
  plugins: [
    new InspectWebpackPlugin(),
  ],
}

Then visit localhost:9000/ to inspect the modules transform.

About

A webpack plugin for inspecting module transform of loaders.


Languages

Language:TypeScript 94.0%Language:CSS 3.4%Language:HTML 2.0%Language:JavaScript 0.5%Language:Less 0.1%