I really can't say enough about how helpful these videos are. They really fill in a lot of blanks in both the documentation and virtually every article I've read about Webpack. Thanks!
Thank you Matt. One quick question. I am trying to run a webpack project on port 80. I am using "npm run server:prod". Using webpack config file, I changed port number to 80 - i.e. something like below const PORT = process.env.PORT || 80; However, whenever I run the project using npm run server:prod, it's always running on port 8080 or 8081. Any thoughts on what I am doing wrong here, how can I run prod on port 80
hmm not sure, is it possible you already have something running on that port? also I think certain ports are restricted but I'm not entirely sure how that's all set up.
Actually I found out that I can do it by chaning package.json file. I had this below line in it "server:prod": "http-server dist --cors" so added -p 80 in it "server:prod": "http-server dist -p 80 --cors"
I really can't say enough about how helpful these videos are. They really fill in a lot of blanks in both the documentation and virtually every article I've read about Webpack. Thanks!
Jeeez. Finally a tutorial which uses real world filestructure! Thank you.
Meh, 2016 :(
Very helpful! Thanks for making these videos.
Thank you Matt. One quick question. I am trying to run a webpack project on port 80. I am using "npm run server:prod". Using webpack config file, I changed port number to 80 - i.e. something like below
const PORT = process.env.PORT || 80;
However, whenever I run the project using npm run server:prod, it's always running on port 8080 or 8081.
Any thoughts on what I am doing wrong here, how can I run prod on port 80
hmm not sure, is it possible you already have something running on that port?
also I think certain ports are restricted but I'm not entirely sure how that's all set up.
thank you Matthew
Actually I found out that I can do it by chaning package.json file. I had this below line in it
"server:prod": "http-server dist --cors"
so added -p 80 in it
"server:prod": "http-server dist -p 80 --cors"
oh so wait are you using dev server or http-server?
awesome dude!
very helpful, thank you.
Your CMD is not visible.
helpfull , thanks!