satya164

satya164/babel-plugin-optional-requ...

Babel plugin to optionaly require modules

JavaScript
53
1
No license

This Babel plugin enables optional module imports, allowing developers to include dependencies that may or may not be available at runtime. It's particularly useful for library authors who want to offer optional dependencies to reduce bundle size, or for apps that need to conditionally load configuration files. The plugin transforms `require` calls wrapped in `try/catch` blocks into runtime checks, ensuring smooth handling of missing modules.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies of satya164/babel-plugin-optional-require

Account's avatar
Utilities for testing babel plugins
Account's avatar
A string tag that strips indentation from multi-line strings. ⬅️
Account's avatar
Personal ESLint Config of @satya164
Account's avatar
Delightful JavaScript Testing.

Support the repos that depend on this repository

Top contributors

satya164's profile
satya164
15 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet