|
@@ -1,7 +1,6 @@
|
|
# --- IN DEVELOPMENT ---
|
|
# --- IN DEVELOPMENT ---
|
|
# DON'T USE THIS REPO YET
|
|
# DON'T USE THIS REPO YET
|
|
|
|
|
|
-
|
|
|
|
# Express Webpack example
|
|
# Express Webpack example
|
|
Repo showing how to bundle an [Express.js](https://github.com/expressjs/express)
|
|
Repo showing how to bundle an [Express.js](https://github.com/expressjs/express)
|
|
application to a bundle with [Webpack](https://github.com/webpack/webpack).
|
|
application to a bundle with [Webpack](https://github.com/webpack/webpack).
|
|
@@ -9,11 +8,11 @@ application to a bundle with [Webpack](https://github.com/webpack/webpack).
|
|
Project has production and development build.
|
|
Project has production and development build.
|
|
|
|
|
|
## Production build
|
|
## Production build
|
|
-
|
|
|
|
-Webpack makes a bundle with all modules inside. You can copy file `dist/app.js` to any directory
|
|
|
|
-and run it with `node app.js` (without `package.json` and `node_modules`).
|
|
|
|
|
|
+Webpack makes a bundle with all modules inside. You can copy file `dist/app.js`
|
|
|
|
+to any directory and run it with `node app.js`
|
|
|
|
+(without `package.json` and `node_modules`).
|
|
|
|
|
|
## Development build
|
|
## Development build
|
|
-
|
|
|
|
Makes a bundle without modules from `node_modules`.
|
|
Makes a bundle without modules from `node_modules`.
|
|
-Instead, `require('mode_name')` injected. See more details in [build/webpack.dev.conf.js](build/webpack.dev.conf.js)
|
|
|
|
|
|
+Instead, `require('mode_name')` injected. See more details
|
|
|
|
+in [build/webpack.dev.conf.js](build/webpack.dev.conf.js)
|