Creating an Open Source JavaScript Library on Github Creating an Open Source JavaScript Library on Github

Exercise: Adding Babel Register & Istanbul

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. - http://slides.com/kentcdodds/write-oss#/10/2
Get Unlimited Access Now