/jsBundler

a naive implementation of js module bundler in js

Primary LanguageJavaScript

a naive implementation of js module bundler in js.

just do a graph bfs and create a global object to store modules.

一个js模块打包器的简单实现,只是简单地使用bfs遍历依赖图,并将对应的模块存放在公共对象里。