Skip to content

webpack优化,采用dllPlugin,服务端使用koa2

Notifications You must be signed in to change notification settings

soulcm/webpack-dll

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

webpack优化之dll

可以直接拿下来进行项目开发

知识点:

  • koa2
  • 封装webpack-dev-middleware webpack-hot-middleware,以供koa使用,参考这篇文章
  • webpack.DllPlugin
  • 抛弃了npm, 采用yarn

步骤:

yarn

//development
npm run build:dll
npm run dev

//build
npm run build:dll
npm run build

About

webpack优化,采用dllPlugin,服务端使用koa2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published