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')
        })
    ]
}

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.6
    4
    • latest

Version History

Package Sidebar

Install

npm i strings-webpack-plugin

Weekly Downloads

5

Version

1.0.6

License

ISC

Last publish

Collaborators

  • pwmckenna