Skip to content

一个简单的,参考vue-cli后的webpack配置,区分开发和生产环境。

Notifications You must be signed in to change notification settings

liyang0612/light-complete-webpack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

简洁,但结构较完整的webpack生产和开发环境配置

  • 参考vue-cli, 用node启动webpack服务;
  • 使用环境变量区分环境,开发环境和生产环境代码分离;
  • 使用webpack-dev-middleware 和 webpack-hot-middleware 搭建express服务器;

About

一个简单的,参考vue-cli后的webpack配置,区分开发和生产环境。

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published