Minor updates

This commit is contained in:
Tony Air 2018-02-07 11:58:49 +07:00
parent 055f9f0d64
commit 3ed862aa4d
2 changed files with 6 additions and 5 deletions

View File

@ -59,3 +59,8 @@ Checkout files at /site/ folder for details
+ yarn - to update packages
+ yarn start - to start webpack webserver
+ yarn build - to build assets# silverstripe-webpack
### TODO:
+ Planktos torrent auto-generation for static files (https://github.com/xuset/planktos#----------planktos)
+ ServiceWorker auto-generation

View File

@ -14,11 +14,7 @@ const config = merge.strategy({
entry: {
app: [
'react-hot-loader/patch',
'webpack-dev-server/client?http://' + conf.HOSTNAME + ':' + conf.PORT + '/',
'webpack/hot/only-dev-server',
],
main: [
'webpack-dev-server/client?http://' + conf.HOSTNAME + ':' + conf.PORT + '/',
'webpack-dev-server/client?https://' + conf.HOSTNAME + ':' + conf.PORT + '/',
'webpack/hot/only-dev-server',
],
},