Bronze Challenge: Limiting Imports

Change ember-cli-build.js to only import the collapse.js and transition.js files. When you do this, your vendor.js will be smaller in size and your NavBar component will still work.

Before you make any changes, find dist/assets/vendor.js and note the number of lines of code (or file size). Make the change and compare the new file size.

Get Front-End Web Development: The Big Nerd Ranch Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.