@talltotal/webpack-dependencie

0.0.2 • Public • Published

Webpack Dependencie

webpack插件 + vscode插件组合,显示文件被依赖关系

Count & Show the number of times the file is dependent.

==> WIP <==

use

webpack plugin

import WebpackDependenciePlugin from '@talltotal/webpack-dependencie'
import webpack from 'webpack'

webpack({
    plugins: [
        new WebpackDependenciePlugin()
    ]
})

vscode extension

EXPLORER 面板

  • 文件右键 => File References 列出此文件被哪些文件依赖
  • 文件夹右键 => No References 列出此文件夹下哪些文件没有被依赖

EDITOR 面板

  • 右键 => File References 列出当前文件被哪些文件依赖

Settings

  • WebpackDependencie.open: true

    Whether to turn on Definition Resolve.
    是否开启

Readme

Keywords

Package Sidebar

Install

npm i @talltotal/webpack-dependencie

Weekly Downloads

2

Version

0.0.2

License

MIT

Unpacked Size

6.43 kB

Total Files

3

Last publish

Collaborators

  • talltotal