O'Reilly logo

Express in Action: Writing, building, and testing Node.js applications by Evan M. Hahn

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 11. Deployment: assets and Heroku

This chapter covers

  • LESS for improving your CSS
  • Browserify for packaging JavaScript, letting you share code between client and server
  • connect-assets as an alternative to Grunt for compiling and serving CSS and JavaScript
  • Deploying your applications to Heroku for the real internet

It’s time to put your applications into the real world. The first part of this chapter will discuss assets. If you’re building any sort of website, it’s very likely that you’ll be serving both CSS and JavaScript. It’s common to concatenate and minify these assets for performance. It’s also common to code in languages that compile to CSS (like SASS and LESS), just as it’s common to code in languages that transpile to JavaScript ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required