1.0.1 • Published 6 years ago

xregexp-loader v1.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

XRegexp Loader

Not actively maintained

NPM

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" }
    ]
  }
  ...
};

License

1.0.1

6 years ago

1.0.0

7 years ago