Skip to content

Kino-Zh/express-webpack-starter

 
 

Repository files navigation

express-webpack-starter

express-webpack-starter shows how to use webpack in multipage application with express.

Features

  • Hot reload with webpack dev server
  • CSS extraction
  • Sepreate common chunks and application code
  • Long term cache with contenthash in css and js files
  • Support .vue files and es2015+ syntax
  • Gzip compression when bundles are too big

Usage

First of all, you should clone this repo

git clone https://github.com/Cherish-xzw/express-webpack-starter

After that, you can run

$ yarn
$ yarn dev # start server with development mode
$ yarn start # start server with production mode

Lisence

MIT

About

Use webpack in traditional multipage application with express.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 85.1%
  • HTML 11.4%
  • CSS 3.5%