Skip to content

CharlieLau/call-dependency

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

简介

解析调用模块关系

安装

    npm install  call-dependency

使用

    //DEMO:
    deps('./src/main.js', {
		fileExtensions: ['js', 'scss', 'vue', 'css'],
		resolve: {
			alias: {
				'@': path.resolve(__dirname, '../src'),
			},
			extensions:['.js','.vue','.json']

		},
		// includeNpm: true
	})

	.then(res => {
		return res.image('./power-puff.svg');
	})
	.then((writtenImagePath) => {
		console.log('Image written to ' + writtenImagePath);
	});

结果图

options

参数 必输 默认 说明 备注
entry 入口文件

PR

ISSUE

Inspired

其它

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published