Skip navigation

Exercise: Adding Babel register and istanbul

Exercise: Adding Babel register and istanbul: Creating an Open Source JavaScript Library
Exercise: Adding Babel register and istanbul: Creating an Open Source JavaScript Library

In this exercise, Kent adds babel-register and babel-plugin-istanbul to the project. After configuring these to modules, he uses the NODE_ENV to indicate which environment is being used for each script so the correct plugins will be loaded. Since the NODE_ENV variable only works on OSX, Kent adds the cross-env module which allows it to be set cross platform. The solution to this exercise is on the FEM/07.1-transpile-tests branch.

Resume Transcript Auto-Scroll
Skill Level Intermediate
5h 29m
Duration
25,725
Views
Show More Show Less
Skills covered in this course
Web Web Development JavaScript

Continue Assessment

You started this assessment previously and didn't complete it. You can pick up where you left off, or start over.

Start My Free Month

Start your free month on LinkedIn Learning, which now features 100% of Lynda.com courses. Develop in-demand skills with access to thousands of expert-led courses on business, tech and creative topics.

Start My Free Month