Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/talltotal/webpack-dependencie


https://github.com/talltotal/webpack-dependencie

Last synced: about 5 hours ago
JSON representation

Awesome Lists containing this project

README

        

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

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

==> WIP <==

## use

### webpack plugin

```js
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.

> 是否开启