@babel/plugin-transform-dotall-regex
Version:
Compile regular expressions using the `s` (`dotAll`) flag to ES5.
14 lines (11 loc) • 391 B
JavaScript
import { createRegExpFeaturePlugin } from '@babel/helper-create-regexp-features-plugin';
import { declare } from '@babel/helper-plugin-utils';
const index = declare(api => {
api.assertVersion("^7.0.0-0 || ^8.0.0");
return createRegExpFeaturePlugin({
name: "transform-dotall-regex",
feature: "dotAllFlag"
});
});
export { index as default };
//# sourceMappingURL=index.js.map