An open API service indexing awesome lists of open source software.

https://github.com/nshimiye/trace-webpack-plugin

Find out why a given file is part of your Webpack bundle
https://github.com/nshimiye/trace-webpack-plugin

debugging plugin webpack

Last synced: 2 months ago
JSON representation

Find out why a given file is part of your Webpack bundle

Awesome Lists containing this project

README

          

# Trace Webpack Plugin

Find out why a given file is part of your webpack bundle

## Description

This plugin will print out the path from the webpack entry point to the module that match a file of interest!

## Usage

```js
// inside webpack config file
const { Trace } = require('trace-webpack-plugin');

module.exports {
// ...

plugins: [
new Trace({ pattern: /^fileName$/ }),

// ...
],

// ...
}
```