git clone [email protected]:allyorange/webpack-html-mock.git
cd webpack-html-mock
npm ci
npm run start
changes under src/
folder immediately show in your browser
This is also available on other devices. When live reloading starts in your terminal you can see :
[webpack-dev-server] Access URLs:
-------------------------------------
Local: http:https://0.0.0.0:3000
External: http:https://xxxxxxxx:3000
-------------------------------------
The External URL works on your phone if it is on the same network.
npm run build
output files under public/
folder
npm run build:expanded
output files with the expanded style