GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - CharlieLau/call-dependency

BranchesTags
Open more actions menu

Latest commit

 

History

8 Commits
8 Commits

Folders and files

NameName
Last commit message
Last commit date
config
config
 
 
lib
lib
 
 
test
test
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
index.js
index.js
 
 
package.json
package.json
 
 
yarn.lock
yarn.lock
 
 

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

  • webpack
  • dependents
  • node-source-walk

其它

About

No description or website provided.

Topics

module-dependency

Resources

Readme
Activity

Stars

4 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.