Skip to content

dharapvj/learning-webpack2

Repository files navigation

Webpack Learning - 1 Step At a Time

This repo will serve as examples for the learning webpack and understanding benefits of various webpack plugins.

To run

npm i
# Run static web server
npm run server

Run webpack builds for one step (s) at a time..

npm run s1
npm run s2
... etc

for most of the steps, there are production outputs as well

npm run s2:prod
npm run s3:prod
... etc

there are also cleaning scripts

npm run clean:s1
npm run clean:s2
... etc