Getting ready
To begin with, let's preview the completed recipe. Navigate to chapter9/complete/app/ and run harp server in your console. Next, open your browser and point it to localhost:9000/recipe09-02. Then, view the page source (in Chrome, you can use the CTRL + u shortcut keys and the page source will appear in a new tab).
Locate the call to the main.css style sheet and right-click on the style sheet link. Finally, click on the open in new tab command in the right-clicked contextual menu, and the style sheet will open in a new tab. Note that the file is minified.
Also, in your file explorer, you can navigate to chapter9/complete/app/www/css/main.css and verify the file size for this minified file--it should be around 35 kilobytes.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access