babel-plugin-rewire

Dependency rewirler

A Babel plugin for rewriting module dependencies to facilitate testing and mocking of external dependencies.

A babel plugin adding the ability to rewire module dependencies. This enables to mock modules for testing purposes.

GitHub

842 stars
9 watching
90 forks
Language: JavaScript
last commit: over 1 year ago
Linked from 1 awesome list


Backlinks from these awesome lists:

Related projects:

Repository Description Stars
zheeeng/babel-plugin-rewrite-module-path A Babel plugin that rewrites module paths to shorten and improve import statements 2
babel/gulp-babel A Gulp plugin that enables Babel to transpile modern JavaScript code into compatible formats. 1,321
wessberg/rollup-plugin-ts A TypeScript plugin for Rollup that bundles declarations and enables integration with transpilers like Babel and swc. 496
owlsdepartment/vite-plugin-babel Enables Babel transformation of JavaScript code during Vite build and serve phases 53
megawac/babel-plugin-ramda Removes unused Ramda dependencies from JavaScript code to simplify imports and reduce bundle size. 311
remcohaszing/babel-plugin-transform-react-class-to-function A plugin that transforms React component classes into functions to improve consistency and simplify code maintenance. 24
babel/broccoli-babel-transpiler A plugin that transpiles JavaScript code to newer versions using Babel 57
applelo/vite-plugin-browser-sync An extension for Vite that integrates BrowserSync for live code reloading and previewing. 67
vijaysutrave/babel-plugin-react-import-extends A Babel plugin to simplify React component development by automatically extending the React class and importing React within components. 10
tehvgg/rollup-plugin-force-binding Forces all import bindings of shared dependencies to come from one absolute source in bundle builds. 3
es-tooling/eslint-plugin-depend Provides suggestions for optimizing dependencies and reducing redundancy in software projects 349
browserify/watchify Automatically rebuilds browserify bundles in response to file changes 1,790
yzydeveloper/vite-plugin-babel-compiler A plugin for Vite that uses Babel to compile TypeScript code and work around some experimental features not supported by Esbuild. 24
strayiker/babel-plugin-hoist-facc A plugin that optimizes rendering by hoisting function components to the highest possible scope to prevent changes. 8
reazen/relude A prelude/standard library for ReasonML projects providing utility functions and data structures. 267