{"_id":"webpack-encoding-plugin-quiet","_rev":"448164","name":"webpack-encoding-plugin-quiet","description":"Control Webpacks output encoding","dist-tags":{"latest":"0.2.1"},"maintainers":[{"name":"ymfe","email":"ymfe.team@gmail.com"}],"time":{"modified":"2021-08-05T06:52:59.000Z","created":"2017-02-20T12:22:22.774Z","0.2.1":"2017-02-20T12:22:22.774Z"},"users":{},"author":{"name":"Tobias Wingerter","email":"tobias@quackes.de"},"repository":{"type":"git","url":"git+https://github.com/quackes/webpack-encoding-plugin.git"},"versions":{"0.2.1":{"name":"webpack-encoding-plugin-quiet","version":"0.2.1","description":"Control Webpacks output encoding","main":"EncodingPlugin.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/quackes/webpack-encoding-plugin.git"},"keywords":["webpack","encoding"],"author":{"name":"Tobias Wingerter","email":"tobias@quackes.de"},"license":"MIT","devDependencies":{},"dependencies":{"webpack":"^1.12.4","webpack-sources":"^0.1.2","encoding":"^0.1.11"},"gitHead":"4719b7d707494404ee146877c0a6d5e2ad0478f8","bugs":{"url":"https://github.com/quackes/webpack-encoding-plugin/issues"},"homepage":"https://github.com/quackes/webpack-encoding-plugin#readme","_id":"webpack-encoding-plugin-quiet@0.2.1","_shasum":"d162715765082f748e23deb13c505bdc95b3240f","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"ymfe","email":"ymfe.team@gmail.com"},"dist":{"shasum":"d162715765082f748e23deb13c505bdc95b3240f","size":2673,"noattachment":false,"key":"/webpack-encoding-plugin-quiet/-/webpack-encoding-plugin-quiet-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/webpack-encoding-plugin-quiet/download/webpack-encoding-plugin-quiet-0.2.1.tgz"},"maintainers":[{"name":"ymfe","email":"ymfe.team@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/webpack-encoding-plugin-quiet-0.2.1.tgz_1487593342523_0.4523619953542948"},"directories":{},"publish_time":1487593342774,"_cnpm_publish_time":1487593342774,"_hasShrinkwrap":false}},"readme":"# Webpack Encoding Plugin\n\nTake control over the encoding of emitted webpack assets.\nThis can be useful, if the delivering webserver enforces a specific content-type, \nso that your js-code is not interpreted as utf-8 by the browser.\n\n## Usage\n\ninstall module\n\n    npm install webpack-encoding-plugin\n    \nsetup webpack config\n   \n``` javascript\nvar EncodingPlugin = require('webpack-encoding-plugin');\nmodule.exports = {\n    entry: './entry.js',\n    output: {\n        path: '../dist',\n        filename: 'bundle.js'\n    },\n    plugins: [new EncodingPlugin({\n      encoding: 'iso-8859-1'\n    })]\n};\n```\n\nAdditional options:\n\n`test`, `include`, `exclude` RegExp or array of RegExps to filter processed files\n(default `test` is `/(\\.js|\\.css)($|\\?)/i`)\n\n## Encodings\n\nThe Plugin uses [iconv-lite](https://www.npmjs.com/package/iconv-lite) to handle the encoding.\nA list of supported encodings can be found [here](https://github.com/ashtuchkin/iconv-lite/wiki/Supported-Encodings)","_attachments":{},"homepage":"https://github.com/quackes/webpack-encoding-plugin#readme","bugs":{"url":"https://github.com/quackes/webpack-encoding-plugin/issues"},"license":"MIT"}