Webpack Hello-world Demo.
With this sample project you can notice webpack sample config, bundle file output.
npm i
npm start
Then check in your browser
You will see
Load foo.js
Load bar.js
Load main.js
Sequence show in html content.
If you open your browser dev console (Press F12
in Chrome),
you can see the console.log()
from app/foo.js
, app/bar.js
, main.js
shows by the required sequence.