1.0.0 • Published 5 years ago

babel-plugin-modules-regexp v1.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

babel-plugin-modules-regexp

Build Status GitHub version NPM version Dependency Status codecov Greenkeeper badge

Information

NPM

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