babel-plugin-modules-regexp
v1.0.0
Published
Babel plugin to apply a regexp on module names
Downloads
3
Readme
babel-plugin-modules-regexp
Information
Motivation
Bypass framework limitation to configure babel options like getModuleId
.
This plugin injects a regexp to replace default module names.
Usage
{
"plugins": [
["babel-plugin-modules-regexp", {
regexp: '(foo)',
substr: 'test/$1'
}]
]
}
Contributing
We're thankful to the community for contributing any improvements.
Do not forget to follow our eslint rules and make tests for the new functionalities/fixes.
Versioning
We use SemVer for versioning. For the versions available, see the tags on this repository.
Authors
See the list of contributors who participated in this project.
License
This project is licensed under the MIT License - see the LICENSE.md file for details