strings-webpack-plugin

1.0.6 • Public • Published

strings-webpack-plugin

print strings found in the output that match a whitelist of strings

Usage

webpack.config.js

var StringsPlugin = require('strings-webpack-plugin');
 
module.exports = {
   ...
   plugins: [
        new StringsPlugin({
            strings: ['asdf']
            file: path.resolve(__dirname, 'strings.json')
        })
    ]
}

Readme

Keywords

Package Sidebar

Install

npm i strings-webpack-plugin

Weekly Downloads

0

Version

1.0.6

License

ISC

Last publish

Collaborators

  • pwmckenna