angular / angular2-seed

MIT License
1.01k stars 639 forks source link

production build with webpack #130

Closed chungtinhlakho closed 8 years ago

chungtinhlakho commented 8 years ago

my production is in a none node server. I was able to get this seed to work. but was not able to build production to test if this would work on my server.
I added "build:prod": "webpack -p --progress" to my package.json script

in webpack config, i added the below to have webpage generate my index file for me. I was able to run npm run build:prod and was successful but when i open it on firefox, i get nothing. can someone help point me in the right direction? thanks new HtmlWebPackPlugin({ template: './src/index.html' })

prod

pkozlowski-opensource commented 8 years ago

Duplicate of #17