Skip to content

Latest commit

 

History

History
24 lines (14 loc) · 539 Bytes

README.md

File metadata and controls

24 lines (14 loc) · 539 Bytes

警告⚠️warning: 现在webpack已经4.x了,里面有的内容已经过时,比如commonchunks,建议先确认版本

webpack certain feature practice

some features in webpack, every single direcotry is a certain feature.

project's dist directory has a simple Dockerfile , you can run built static files on your local nigix server by docker

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build