bkonkle

bkonkle/ignore-styles

Ignore imported style files when running in Node

JavaScript
210
16
MIT License

ignore‑styles is a tiny Node hook (compatible with Babel’s `register`) that tells Node to silently ignore imported style files such as `.css`, `.scss`, `.sass`, etc., when the code is run outside a bundler (e.g., in Mocha tests). It’s aimed at JavaScript/React developers who use Webpack‑style CSS imports in their source but need those imports to be no‑ops—or optionally return mock values—during server‑side execution or unit testing.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies of bkonkle/ignore-styles

Account's avatar
Babel preset for all es2015 plugins, with loose mode enabled where available.
Account's avatar
BDD/TDD assertion library for node.js and the browser. Test framework agnostic.
Account's avatar
simple, flexible, fun test framework
Account's avatar
JavaScript Standard Style

Support the repos that depend on this repository

Top contributors

bkonkle's profile
bkonkle
44 contributions
barm's profile
barm
1 contributions
dosentmatter's profile
dosentmatter
1 contributions
Connormiha's profile
Connormiha
1 contributions
nlitwin's profile
nlitwin
1 contributions
SimeonC's profile
SimeonC
1 contributions
tai2's profile
tai2
1 contributions

Recent events

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

No events yet