coryhouse / javascript-development-environment

JavaScript development environment discussed in "Building a JavaScript Development Environment" on Pluralsight
https://app.pluralsight.com/library/courses/javascript-development-environment/table-of-contents
MIT License
296 stars 196 forks source link

distServer.js and compression order doesn't work for me unless swapped #29

Open rodsanshare opened 5 years ago

rodsanshare commented 5 years ago

This worked for me, and I think the video shows the same. But Github version shows it swapped. I don't know if this matters or not because I haven't finished the video. And what I mean not working is bundle.js wasn't being compressed.

app.use(compression()); app.use(express.static('dist'));

coryhouse commented 5 years ago

Thanks for the heads up on this! I'll leave this open until I update the course accordingly.