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: about 3 years ago
Linked from 1 awesome list


Backlinks from these awesome lists:

Related projects:

RepositoryDescriptionStars
zheeeng/babel-plugin-rewrite-module-pathA Babel plugin that rewrites module paths to shorten and improve import statements2
babel/gulp-babelA Gulp plugin that enables Babel to transpile modern JavaScript code into compatible formats.1,320
wessberg/rollup-plugin-tsA TypeScript plugin for Rollup that bundles declarations and enables integration with transpilers like Babel and swc.496
owlsdepartment/vite-plugin-babelEnables Babel transformation of JavaScript files during Vite development and build processes.53
megawac/babel-plugin-ramdaRemoves unused Ramda dependencies from JavaScript code to simplify imports and reduce bundle size.311
remcohaszing/babel-plugin-transform-react-class-to-functionA plugin that transforms React component classes into functions to improve consistency and simplify code maintenance.24
babel/broccoli-babel-transpilerA plugin that transpiles JavaScript code to newer versions using Babel57
applelo/vite-plugin-browser-syncAn extension for Vite that integrates BrowserSync for live code reloading and previewing.67
vijaysutrave/babel-plugin-react-import-extendsA Babel plugin to simplify React component development by automatically extending the React class and importing React within components.10
tehvgg/rollup-plugin-force-bindingForces all import bindings of shared dependencies to come from one absolute source in bundle builds.3
es-tooling/eslint-plugin-dependProvides suggestions for optimizing dependencies and reducing redundancy in software projects359
browserify/watchifyAutomatically rebuilds browserify bundles in response to file changes1,789
yzydeveloper/vite-plugin-babel-compilerA 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-faccA plugin that optimizes rendering by hoisting function components to the highest possible scope to prevent changes.8
reazen/reludeA prelude/standard library for ReasonML projects providing utility functions and data structures.267