New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

webpack-code-dependency-analysis-plugin

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webpack-code-dependency-analysis-plugin

A Webpack Plugin About Code Dependencies Analysis.

latest
npmnpm
Version
1.0.4
Version published
Maintainers
1
Created
Source

Webpack Code Dependencies Analysis Plugin

This plugin can analyze code dependency and generate tree structure to help you quickly review code dependency structure

Collection file dependency when import and importCall hooks is triggered.

Usage

npm install webpack-code-dependency-analysis-plugin

Enable the plugin in webpack.config.js:

const WebpackCodeDependencyAnalysis = require('webpack-code-dependency-analysis-plugin');

module.exports = {
  ...,
  plugins: [
    ...,
    new WebpackCodeDependencyAnalysis(),
  ],
}

image

Tips

  • Only webpack@4 and webpack@5 is supported.
  • The plugin is for analyze the dependencies in the business code. It only supports the code analysis start with the @ of alias path and relative path, excluding node_modules dependencies.

Keywords

webpack

FAQs

Package last updated on 30 Mar 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts