diff --git a/README.md b/README.md index 3d99955741..60a937b406 100644 --- a/README.md +++ b/README.md @@ -66,6 +66,9 @@ Check out the [upgrade](UPGRADE.md) page * npm publish ## TODO +* upgrade webpack-dev-server to 2.0.0-beta + * test HMR + * should allow to automatically open the browser when the server starts * load immutable * fix e2e: https://github.com/AngularClass/angular2-webpack-starter/issues/264 * add SASS/PostCSS support to production build @@ -75,8 +78,10 @@ Check out the [upgrade](UPGRADE.md) page * add Lodash import (vendor.ts) * initialize Redux store * put back require.d.ts and remove custom one once that is merged: https://github.com/DefinitelyTyped/DefinitelyTyped/pull/7049 -* find how to get hot module reloading (hmr) with the webpack-dev-server -* find how to automatically open the browser when the server starts +* fix production build + * https://github.com/erm0l0v/webpack-md5-hash/issues/1 +* extract build to a separate project +* create a yeoman generator * finalize readme * add installation notes * add explanations of the setup diff --git a/package.json b/package.json index f891202040..56eae79960 100644 --- a/package.json +++ b/package.json @@ -61,7 +61,7 @@ "webpack-dev-server": "1.14.x", "copy-webpack-plugin": "1.1.x", "extract-text-webpack-plugin": "1.0.x", - "html-webpack-plugin": "1.7.x", + "html-webpack-plugin": "2.8.x", "compression-webpack-plugin": "0.3.x", "webpack-md5-hash": "0.0.x", "raw-loader": "0.5.x", @@ -125,6 +125,8 @@ "build:prod": "webpack --config webpack.prod.config.js --progress --profile --colors --display-error-details --display-cached", "server": "npm run server:dev", "serve": "npm run server:dev", + "serve:dev": "npm run server:dev", + "serve:prod": "npm run server:prod", "server:dev": "webpack-dev-server --progress --profile --colors --display-error-details --display-cached --history-api-fallback --open --hot --inline --content-base src/", "server:prod": "http-server dist --cors", "webdriver:update": "webdriver-manager update", diff --git a/src/index.html b/src/index.ejs similarity index 82% rename from src/index.html rename to src/index.ejs index a30b940096..07ed025e83 100644 --- a/src/index.html +++ b/src/index.ejs @@ -3,7 +3,7 @@
- + @@ -27,24 +27,24 @@ -