Skip to content

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

Notifications You must be signed in to change notification settings

nshimiye/trace-webpack-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

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

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

module.exports {
    // ...

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

        // ...
    ],
    
    // ...
}

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published