Socket
Book a DemoInstallSign in
Socket

sinamfe-webpack-module-dependency

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sinamfe-webpack-module-dependency

获取工程依赖树以及相应版本

latest
npmnpm
Version
0.0.1
Version published
Weekly downloads
1
-66.67%
Maintainers
1
Weekly downloads
 
Created
Source

使用方法: 安装

cnpm install @mfelibs/base-webpack-module_dependency

在webpack中引入:


var moduleDependency = require("@mfelibs/base-webpack-module_dependency");
module.exports = webpackMerge(commonConfig, {
    plugins: [
        new moduleDependency()
    ]
})

History
1.0.0: 支持输出webpack工程依赖树及版本信息
1.1.0: 新增git Hook功能,下载插件初始化时检测工程目录下有.git目录存在,写入pre-push钩子,发送依赖树到服务端;新增禁止打包功能,当同一entry依赖同一模块多个版本时,禁止打包
1.3.2: 因babel加载导致路径改变, 递归建立依赖树时使用userRequest代替request查找真实的加载路径
1.3.3: 修复引入用户自定义js后 自定义js的依赖无法显示的bug
1.3.4: 修复用户引用js错误后 插件崩溃的bug 1.4.0: 依赖树生成在对应页面文件夹中

Keywords

webpack

FAQs

Package last updated on 11 Jul 2017

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