Compile regular expressions using the
s
(dotAll
) flag to ES5.
See our website @babel/plugin-transform-dotall-regex for more information.
Using npm:
npm install --save @babel/plugin-transform-dotall-regex
or using yarn:
yarn add --save @babel/plugin-transform-dotall-regex