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
- Host: GitHub
- URL: https://github.com/nshimiye/trace-webpack-plugin
- Owner: nshimiye
- Created: 2021-07-11T03:07:32.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-10-20T04:04:58.000Z (over 4 years ago)
- Last Synced: 2025-03-28T00:41:31.060Z (over 1 year ago)
- Topics: debugging, plugin, webpack
- Language: JavaScript
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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$/ }),
// ...
],
// ...
}
```