babel-plugin-haste-require
v0.1.0
Published
A Babel plugin to rewrite required modules' names based on a modules map
Readme
babel-plugin-require-haste
A Babel transformation plugin to allow the usage of modules in a Haste modules system environment. The code for this plugin has been extracted and modified from facebook/fbjs repository.
It will respond to the following modules usage structures:
require('MyModuleName');
import 'MyModule';
import MyModule from 'MyModule';
import {something} from 'MyModule';
import type User from 'MyModule';