Skip to content

xty1992a/dynamic-entry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dynamic-entry

一个动态添加entry的webpack项目

run

  1. 启动npm run serve
  2. 访问 http://localhost:port
  3. 选择链接点击进入
  4. 页面第一次进入需要初始化编译,有一定耗时

实现

启动一个服务器,扫描指定文件夹下的所有入口,将入口设置为服务器的路由.
第一次访问该路由时,将该入口加入webpack编译中.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published