Skip to content

Instantly share code, notes, and snippets.

Avatar
🏗️
Developing...

Safi myuseringithub

🏗️
Developing...
View GitHub Profile
View How_Require_Extensions_Work.md

Why

Doing require extensions correctly is essential, because:

  1. Users should be able to install multiple extensions in succession, and have them work together.
  2. Coverage tools like nyc need it to reliably supply coverage information that takes into account sourcemaps from upstream transforms.
  3. Because non-standard, un-predictable behavior causes hard to solve bugs, and major headaches for project maintainers.

What is a require extension anyways?

You can’t perform that action at this time.