Skip to content

Commit c790033

Browse files
author
AshwinH
committed
Adds readme.md on root
1 parent 622f308 commit c790033

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
Learning WEBPACK - MODULE BUNDLER
2+
3+
|Example No.|Execution Command|Comments|
4+
|-----------|-----------------|--------|
5+
|1, 2| ```webpack entry.js bundle.js``` | |
6+
|3| |we need the ```css-loader``` to process CSS files. We also need the ```style-loader``` to apply the styles in the CSS file. They need to be installed locally, without ```-g```|
7+
|4|```webpack entry.js bundle.js --module-bind 'css=style!css'``` | if you are using ```bash``` then use single quotes in Command. Please see https://github.com/webpack/webpack/issues/1453 for more information|
8+
|5|```webpack``` **OR** ```webpack --progress --colors``` **OR** ```webpack --progress --colors --watch``` | |
9+
|6|```webpack-dev-server --progress --colors --watch|webpack-dev-server is a development server, it binds a small express server on localhost:8080 which serves your static assets as well as the bundle |

0 commit comments

Comments
 (0)