/inspect-webpack-plugin

A webpack plugin for inspecting module transform of loaders.

Primary LanguageTypeScript

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.