Skip to content
This repository has been archived by the owner on Feb 10, 2018. It is now read-only.
/ xregexp-loader Public archive

Transforms XRegexp constructor calls to valid ES5 regular expressions.

License

Notifications You must be signed in to change notification settings

ckotzbauer/xregexp-loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Transforms XRegexp constructor calls to valid ES5 regular expressions.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published