Huáng Jùnliàng 8ffca0475a Merge multiple regex transform plugin (#10447)
* feat: implement create-regexp-features-plugin

* fix: test input is not effective

* refactor: leverage create-regexp-features-plugin

* test: add more test cases

* test: update test fixture

* chore: add type annotation to features

* test: add regression test for issue 9892

* add regression test for issue 9199

* address review comments from Nicolò

* address review comments from Brian

* small tweaks

* Enable dotAllFlag when flags includes u
2019-10-29 22:58:04 +01:00

445 B

@babel/helper-create-regexp-features-plugin

Compile ESNext Regular Expressions to ES5

See our website @babel/helper-create-regexp-features-plugin for more information.

Install

Using npm:

npm install --save-dev @babel/helper-create-regexp-features-plugin

or using yarn:

yarn add @babel/helper-create-regexp-features-plugin --dev