1.0.1 • Published 6 years ago
xregexp-loader v1.0.1
XRegexp Loader
Not actively maintained
Transforms XRegexp constructor calls to valid ES5 regular expressions.
Installation
npm install xregexp-loader
Usage
Add this to your webpack.config.js to apply the logic to your .js
files, for example.
module.exports = {
...
module: {
rules: [
{ test: /\.js$/, loader: "babel-loader!xregexp-loader" }
]
}
...
};