|
@@ -1,18 +1,15 @@
|
|
-# --- IN DEVELOPMENT ---
|
|
|
|
-# 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).
|
|
|
|
|
|
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`
|
|
|
|
|
|
+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`).
|
|
(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
|
|
|
|
|
|
+Instead, `require('mode_name')` injected. See more details
|
|
in [build/webpack.dev.conf.js](build/webpack.dev.conf.js)
|
|
in [build/webpack.dev.conf.js](build/webpack.dev.conf.js)
|