Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 729 Bytes

README.md

File metadata and controls

24 lines (17 loc) · 729 Bytes

antd-mobile with webpack

basic proj demo with webpack@2 and tree-shaking

Install & Start

npm i  # npm i --save-dev webpack@2 webpack-dev-server@2 extract-text-webpack-plugin
npm start

open http://localhost:8000/

Build

npm run build  # then see dist dir
# Note: you should remove `webpack-visualizer-plugin / webpack-bundle-analyzer` code in webpack.config.js file for production environment.

bundle analyzer tools: webpack-bundle-analyzer / webpack-visualizer-plugin (Note: just for dist bundle file analyse)