Skip navigation

Ignoring and copying files

Ignoring and copying files: Creating an Open Source JavaScript Library
Ignoring and copying files: Creating an Open Source JavaScript Library

Kent continues to configure Babel and demonstrates a few additional features. He ignores any test scripts so they are not included in the distribution directory. He also uses the --copy-files flag to copy any non-JavaScript files like the JSON data file into the distribution directory. Finally, he adds the rimraf Node module to remove the “dist” folder each time the build script is run to ensure it’s clean and up-to-date. The code for this example is on the FEM/07.0-transpile-source branch.

Resume Transcript Auto-Scroll
Skill Level Intermediate
5h 29m
Duration
5,166
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 Your Free Trial Now

Start your free trial now, and begin learning software, business and creative skills—anytime, anywhere—with video instruction from recognized industry experts.

Start Your Free Trial Now