Skip to content

Latest commit

 

History

History
42 lines (31 loc) · 1.27 KB

README.md

File metadata and controls

42 lines (31 loc) · 1.27 KB

gnirts-loader

npm GitHub issues dependencies license

gnirts loader module for webpack.

Obfuscate string literals in JavaScript code.
See gnirts for more information about gnirts.

Installation

npm install --save-dev gnirts-loader gnirts

Usage

Documentation:

For example:

// webpack.config.js
module.exports = {
  entry: './app.js',
  output: {
    filename: 'bundle.js'
  },
  module: {
    rules: [{
      test: /\.js$/,
      loader: 'gnirts-loader'
    }]
  }
};