Package Exports
- @babel/plugin-transform-dotall-regex
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@babel/plugin-transform-dotall-regex) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@babel/plugin-transform-dotall-regex
Compile regular expressions using the
s(dotAll) flag to ES5 that works in today’s environments.
Example
In
/./sOut
/[\0-\uFFFF]/In
/./suOut
/[\0-\u{10FFFF}]/uInstallation
npm install --save-dev @babel/plugin-transform-dotall-regexUsage
Via .babelrc (recommended)
.babelrc
{
"plugins": ["@babel/plugin-transform-dotall-regex"]
}Via CLI
$ babel --plugins @babel/plugin-transform-dotall-regex script.jsVia Node.js API
require('@babel/core').transform(code, {
'plugins': ['@babel/plugin-transform-dotall-regex']
});Author
| Mathias Bynens |