Alexey Velikiy 5 年之前
父節點
當前提交
5349b1db2b
共有 1 個文件被更改,包括 14 次插入0 次删除
  1. 14 0
      README.md

+ 14 - 0
README.md

@@ -1,5 +1,19 @@
+# --- IN DEVELOPMENT ---
+# DON'T USE THIS REPO YET
+
+
 # Express Webpack example
 Repo showing how to bundle an [Express.js](https://github.com/expressjs/express) 
 application to a bundle with [Webpack](https://github.com/webpack/webpack).
 
 Project has production and development 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`).
+
+## Development build
+
+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)