{"_id":"emit-file-webpack-plugin","_rev":"4-5e33eabc6d15629772afabacc4eb845b","name":"emit-file-webpack-plugin","dist-tags":{"latest":"2.0.1"},"versions":{"1.0.0":{"name":"emit-file-webpack-plugin","version":"1.0.0","description":"Webpack plugin to emit files.","main":"index.js","repository":{"type":"git","url":"git+https://github.com/Kir-Antipov/emit-file-webpack-plugin.git"},"keywords":["webpack","plugin","create","file","emit","copy","generate"],"author":{"name":"Kir_Antipov","url":"https://github.com/Kir-Antipov"},"license":"MIT","bugs":{"url":"https://github.com/Kir-Antipov/emit-file-webpack-plugin/issues"},"homepage":"https://github.com/Kir-Antipov/emit-file-webpack-plugin#readme","devDependencies":{"webpack":"^5.11.1"},"peerDependencies":{"webpack":"*","webpack-sources":"*"},"gitHead":"fc958657331d0de724203da8bfe0e917d545143e","_id":"emit-file-webpack-plugin@1.0.0","_nodeVersion":"14.9.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-GjRB4RnMJoF7XD96i0wFgK873mteS4rYZ0/YXDvdpDjwwq/gvLVFh7gBdJsYLs5mBmhJKcdye6A4Dn5kFoGe3A==","shasum":"5b38b42a9e080b4d9ba0b0fb2244af183cba1781","tarball":"https://registry.npmjs.org/emit-file-webpack-plugin/-/emit-file-webpack-plugin-1.0.0.tgz","fileCount":4,"unpackedSize":8230,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf8JsUCRA9TVsSAnZWagAAdogP/1aiSbXqRBEgGNnvF9q8\naScb3quaOhm455jxedJweoI4+X9fFHIUzSg1+l/m3HvVOyd+rxARwyQ+qgWe\nbcLAnzXJf3pK1vOE6EiwUOdGmxeUpqOQLQy09ndgPwnz78bleplaYMlB7cxD\nvqBQFyq3VHi3pfzSxKEd865a4TiGoYUgHHdvHS8JrWPXiZ5TEush/JnaEsd4\n3OgAHeVukzwz4CQFwFEZb2/aaZntpE47hEhbriK21CD6F0mahV1VsFP+Fo/C\nkyIt92jmO7a66sWGy3zK0MmR+iLcNIwWT2a1kMbC5BmckJ71H0oMiczkKjCf\na+LphPxSYgzFogS7VdZMetDhqMBAABqNnOlK4m7YnuTo0HdU8DDCE4T7WCrM\nMhzHEm80FWRyMwfLltIPpR0W6cPRmxh4GWyJt8tOSe+TlL1iK5qioswSphok\nKX7DP29pSjtKWEVVAOhNj2q1Jr1D8T+Zr0nTQPGLsiy9q8FA08PHaBTmGKIr\nksV65ZVL/Eij5jGpPan1g/VSPxTt4GT8alaXH0Fy0V4T9HDxuQ5bQRoIab8D\nUToNok7QNcmFMuTCLw8qGWRaiVPfFpmpaKGjGBijQXTj/EKRVKcj2jHGP+s/\nXvQNPaQPyjuzATqC3ZEeNstCVvJKF3jIbDQEJfHt1P9bB1W+i2uOckhdyfZd\nB3oN\r\n=rIlD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCG7gYMSMIqXPc7BOoXIQEWJS0Inq9myfd/BtxZ07+FwQIgFupGnuqiY83S9mpXIzx3aAK0qeZmWc0ME764oiWeJOs="}]},"_npmUser":{"name":"kir_antipov","email":"kp.antipov@gmail.com"},"directories":{},"maintainers":[{"name":"kir_antipov","email":"kp.antipov@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/emit-file-webpack-plugin_1.0.0_1609603860372_0.13915731570100398"},"_hasShrinkwrap":false},"1.1.0":{"name":"emit-file-webpack-plugin","version":"1.1.0","description":"Webpack plugin to emit files.","main":"index.js","repository":{"type":"git","url":"git+https://github.com/Kir-Antipov/emit-file-webpack-plugin.git"},"keywords":["webpack","plugin","create","file","emit","copy","generate"],"author":{"name":"Kir_Antipov","url":"https://github.com/Kir-Antipov"},"license":"MIT","bugs":{"url":"https://github.com/Kir-Antipov/emit-file-webpack-plugin/issues"},"homepage":"https://github.com/Kir-Antipov/emit-file-webpack-plugin#readme","devDependencies":{"webpack":"^5.14.0"},"peerDependencies":{"webpack":"*","webpack-sources":"*"},"gitHead":"a17e94f434c9185d659e18806d49f3c6bc73d706","_id":"emit-file-webpack-plugin@1.1.0","_nodeVersion":"14.9.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-2vVvLcoFsHsnFo0gM8dC6a22Gtbzd9hqSt16B4ZxREI/GuJF8UM7z2s0ZWvFtDfl4Op0S43xM3g8WtRBgOFe+w==","shasum":"6ee547f6771ad5b2af9170a7598f71218cfb2249","tarball":"https://registry.npmjs.org/emit-file-webpack-plugin/-/emit-file-webpack-plugin-1.1.0.tgz","fileCount":4,"unpackedSize":9386,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf/8V2CRA9TVsSAnZWagAAVucP/jKYYLz7H4nQzzJ1IkEo\nnl8v2DCKMnUiz/eBfUDlSUm/DLahokhY7mycNon0gWNTv3fsWDdbMjolOtir\ndWiq6u9dpoODzKsiBjlAMb3ypy12HW4QlkwWVIe3Vepz1YaNRGg8cUxY/3ZP\n+VJr33WZP/mvtik7Fgjbm/+kBCMbrN3rjpXKd9igohJBhC85oXiwUgPKOSAc\nlNSDPZcJh0jzlTQKUU2l2imVQwuP372FFD7nPw0P6nBbIFA4ZAS8YDWDY3N9\nYrS12UC3+v7Tz17QKp4j9oXLm5zKIfGh15zrTa+cXnvU4bUh+/JT59HPUMAa\nmxx92U0QVNprHY5oNyb1XRM0wskyY7tkson9rhacYwW9RR0Yf/j2nHlA0dHH\nbt8l+4Jc39VIDCAssVVGkNTOJvAov7kEfbQ+NZUs4i/9rQ5nJRc+1cNXRmNc\nhYIlEoQiMYhI60GMbK5oT7AZ/vBREi5X0nqAZHxKde9IMAfN/llrXrSQLYWd\n2Y9F08yUhE4nQSNBjV1DSMinrmc0eG7Huo7iFv+mZNYG6nUxLlg8sM9/MxkI\nZs5E8qOrhKaHLGzsXsFMHPBJxYVuuoi9Oe8ydGIkIp1y+DKYEBX1tePdonjV\n1yKj11dNuPI+kpDqweis05Rnh1w8yv+bS5n54hQURdPLLqR6KPxXfmxEr1qv\nWVKC\r\n=KHxz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCJjGrzyHvFpEV61hzOWrSuq3/sZ5uigu545kz0YfjYTwIgLojq1GvTeexwRjo3tucbVohFln0QHDebML/G6GeRTIA="}]},"_npmUser":{"name":"kir_antipov","email":"kp.antipov@gmail.com"},"directories":{},"maintainers":[{"name":"kir_antipov","email":"kp.antipov@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/emit-file-webpack-plugin_1.1.0_1610597749881_0.910038352493399"},"_hasShrinkwrap":false},"2.0.0":{"name":"emit-file-webpack-plugin","version":"2.0.0","description":"Webpack plugin to emit files.","main":"index.js","types":"index.d.ts","repository":{"type":"git","url":"git+https://github.com/Kir-Antipov/emit-file-webpack-plugin.git"},"keywords":["webpack","plugin","create","file","emit","copy","generate"],"author":{"name":"Kir_Antipov","url":"https://github.com/Kir-Antipov"},"license":"MIT","bugs":{"url":"https://github.com/Kir-Antipov/emit-file-webpack-plugin/issues"},"homepage":"https://github.com/Kir-Antipov/emit-file-webpack-plugin#readme","devDependencies":{"webpack":"^5.37.1"},"peerDependencies":{"webpack":"*","webpack-sources":"*"},"gitHead":"490a1c6aee0f4f4d3aa9b9a1023c520a5f04e641","_id":"emit-file-webpack-plugin@2.0.0","_nodeVersion":"14.9.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-/mm9s8U0y4wXCjvC347XvepF7vaI/Y5fiMTJpnEaV4RjX6PItLj7T6+meNogxAxE4Z/3cG+/S9Ygy7nyRhL1Cw==","shasum":"09a705481161395434a078622fef5679662ac24f","tarball":"https://registry.npmjs.org/emit-file-webpack-plugin/-/emit-file-webpack-plugin-2.0.0.tgz","fileCount":5,"unpackedSize":11617,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgr4zECRA9TVsSAnZWagAAv90QAJzxKFIL9AEUK8uBbPm/\nC5jCIfGmCAIgiT4fAx5f1MtCKFWDK9ZXUO80AC186Y9G8dInatOn0ScIb9+b\nAC7lnwLjgtKRYbYB+dplOC7PuYZoLpSu1THYPG2sKl7MT/qOkcdxc7w4Yqle\n7B5nFSsfzduhYqbsfMQDboVQUXgzsdb3JV5WybNXDYsUvpanimHqMLO51v5S\nPELxmMjWMEANUUEZmrJQiJCIKl48mVWBG57I5rAbNyMqUWwE83kbPS1mNUJh\n1Pr7BJY9PFO3F4OcgiCbyLfCIkCnwvT/9jS0Ujj9VYea8aRkolx/6zU4Icnp\nmyFVVWftuGjWLuOpjBESw8DDPCVXiSDvaAlDyZf68uJVG7vU/fw907VH78iB\nSHwfdxb+HsaVFBhdzBbzw1SRo6C5VFOWOu1UrKLUpnoZMI8LK+Y7K9gkLHSP\n73C3Q7xcrjCNMQ1VmYdtXuZI6Nn5sGRrs20yX1OK5ALnn8fTExd+pbDjAtoy\nZnuIzKelE3nglG/agD3SCn9891Jm6qveNIk9/mmPXlS1spSqCJ40UDfsuMRO\n0cAgJy+WqeWX54hwGSk524CyMCgQymoQv88uUCpriskd0XHV00hmWEinXE3R\nqMy9gP0RdNVHXKMad8wB+EPCXkN9+axVxpwVWoIVWm99LeBsy7Gty8vQLPY+\n0Q2R\r\n=hZbk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCSk9U2swV/P8fB+FVzRHEhzlumZU1oF6woyeNE3yKZ1QIgGZ0tA46K44YzJ7MAHnTA7LWoGutKcELd72Vsalsrx30="}]},"_npmUser":{"name":"kir_antipov","email":"kp.antipov@gmail.com"},"directories":{},"maintainers":[{"name":"kir_antipov","email":"kp.antipov@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/emit-file-webpack-plugin_2.0.0_1622117571630_0.43317499837091455"},"_hasShrinkwrap":false},"2.0.1":{"name":"emit-file-webpack-plugin","version":"2.0.1","description":"Webpack plugin to emit files.","main":"index.js","types":"index.d.ts","repository":{"type":"git","url":"git+https://github.com/Kir-Antipov/emit-file-webpack-plugin.git"},"keywords":["webpack","plugin","create","file","emit","copy","generate"],"author":{"name":"Kir_Antipov","url":"https://github.com/Kir-Antipov"},"license":"MIT","bugs":{"url":"https://github.com/Kir-Antipov/emit-file-webpack-plugin/issues"},"homepage":"https://github.com/Kir-Antipov/emit-file-webpack-plugin#readme","devDependencies":{"webpack":"^5.37.1"},"peerDependencies":{"webpack":"*","webpack-sources":"*"},"gitHead":"ede10a12d8253422a16c425a0b9345743581ded4","_id":"emit-file-webpack-plugin@2.0.1","_nodeVersion":"14.9.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-OCE+944bpMq2FuSRC+LPLfBh8TiBP2QuyBQE2yhvtmhHd9F6c+DcrFXMV9geC4MORFMZB+di2spm2ZOx8kPZlw==","shasum":"6d7a08543930012c17ad93351ef93b4a4ef53b95","tarball":"https://registry.npmjs.org/emit-file-webpack-plugin/-/emit-file-webpack-plugin-2.0.1.tgz","fileCount":5,"unpackedSize":11627,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgr4/zCRA9TVsSAnZWagAAF+oQAJgPq4ox8ECdJ44QNaQD\nQgPSMvNpoJIWn4uKXe6Rb0jRrUxw8I+kCUITtVY/lhtsfVBvDCsSUJ88zYlN\nhC9X5hgRURPnwHXhsN7lS4Z9bX3qZ1K0EUqdLKj96cw+3jpM41/kJh8i4t0V\nKcdjNJWS5cTtkfiHUrW2R7CP9/Myeo1tnOXrUn2jE2Jd253G6FSpf3Q7wBCq\nOs+OcPX1Fyplh2ngXdiVJU7/MiyuIqz73anl1kjtV7Vxs6Bn95sO+TpP+dzG\nWUVI79rRdwEZ2RMwnX9cbm0pkPUikgywmBfM0Gy/VfwErR2kPbGI/m7nGZxX\nsoBKOxbaIvS5oIIFi6pHpSrBJUaM++o13HqDNvDGS/irfe6P0z6id4R8Ia5f\ny1uQz97SPXDBcT/Dla/TDdgIe+8yk+rLnsJXbx//tFYCko/3chVDRV5dWwMx\nJUDOuwA8Tep2K3mV7VQQka+6APWIQsLUz0Q7MyMtkpI21h8k+yLpPU1MeBll\nzOqvgn3VTAihTqlULAljviKycgfz9QecK6kbxOA5PaQ/BTLxZobHvEIvbJmF\nn5PWhmaST3QbgE4+yj7HUESP1IHTZAHIlsBmO92Hy8DIvCkg7+/eOOFcOyS5\nXgaiimpmoeLYfRPzbcnT3+qRdAWcEPwgZWN2dvVrmeHE18sCgXd/Ajm1vELr\n1OVO\r\n=GKug\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDyihrwoJ4ThLCX9kGWqGm+H4hC6xb0PElwNjaOmk0MuAiEAqUO1quyLEywX3jZuiA/q5hfy7YyntbRUj+ruIwclASU="}]},"_npmUser":{"name":"kir_antipov","email":"kp.antipov@gmail.com"},"directories":{},"maintainers":[{"name":"kir_antipov","email":"kp.antipov@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/emit-file-webpack-plugin_2.0.1_1622118387132_0.062476506597174186"},"_hasShrinkwrap":false}},"time":{"created":"2021-01-02T16:11:00.371Z","1.0.0":"2021-01-02T16:11:00.533Z","modified":"2022-05-01T06:08:36.242Z","1.1.0":"2021-01-14T04:15:49.996Z","2.0.0":"2021-05-27T12:12:51.738Z","2.0.1":"2021-05-27T12:26:27.286Z"},"maintainers":[{"name":"kir_antipov","email":"kp.antipov@gmail.com"}],"description":"Webpack plugin to emit files.","homepage":"https://github.com/Kir-Antipov/emit-file-webpack-plugin#readme","keywords":["webpack","plugin","create","file","emit","copy","generate"],"repository":{"type":"git","url":"git+https://github.com/Kir-Antipov/emit-file-webpack-plugin.git"},"author":{"name":"Kir_Antipov","url":"https://github.com/Kir-Antipov"},"bugs":{"url":"https://github.com/Kir-Antipov/emit-file-webpack-plugin/issues"},"license":"MIT","readme":"# Emit file plugin for Webpack\r\n\r\n[![npm: emit-file-webpack-plugin][1]][2]\r\n[![License][3]][4]\r\n\r\nWebpack plugin to emit files. The only one that does it right.\r\n\r\n## Installation\r\n\r\n- With `npm`:\r\n```cmd\r\nnpm i --save-dev emit-file-webpack-plugin\r\n```\r\n\r\n- With `yarn`:\r\n```cmd\r\nyarn add --dev emit-file-webpack-plugin\r\n```\r\n\r\n## Usage\r\n\r\n**webpack.config.js**\r\n\r\n```js\r\nconst webpack = require('webpack');\r\nconst EmitFilePlugin = require('emit-file-webpack-plugin');\r\n\r\nmodule.exports = {\r\n  // ...\r\n  plugins: [\r\n    new EmitFilePlugin({\r\n      // OPTIONAL: defaults to the Webpack output path.\r\n      // Output path.\r\n      // Can be relative (to Webpack output path) or absolute.\r\n      path: `.`,\r\n\r\n      // REQUIRED.\r\n      // Name of the file to add to assets.\r\n      // If hash option is enabled add `[hash]` here to choose where to insert the compilation hash.\r\n      // See the hash option for more information.\r\n      filename: `index.js`,\r\n\r\n      // REQUIRED.\r\n      // File content. Can be either a string, a buffer, or a (asynchronous) function.\r\n      // If the resulting object is not a string or a buffer, it will be converted\r\n      // to string via `.toString` (if the function was overridden) or `JSON.stringify`.\r\n      content: `console.log('Hello world!');`,\r\n\r\n      // OPTIONAL: defaults to the webpack.Compilation.PROCESS_ASSETS_STAGE_ADDITIONAL.\r\n      // Asset processing stage.\r\n      // https://webpack.js.org/api/compilation-hooks/#processassets\r\n      stage: webpack.Compilation.PROCESS_ASSETS_STAGE_ADDITIONAL,\r\n\r\n      // OPTIONAL: defaults to false.\r\n      // Adds the compilation hash to the filename. You can either choose within the filename\r\n      // where the hash is inserted by adding `[hash]` i.e. `test.[hash].js` or the hash will be\r\n      // appended to the end of the file i.e. `test.js?hash`.\r\n      hash: false\r\n    })\r\n  ]\r\n};\r\n```\r\n\r\n[1]: https://img.shields.io/npm/v/emit-file-webpack-plugin?cacheSeconds=3600\r\n[2]: https://www.npmjs.com/package/emit-file-webpack-plugin\r\n\r\n[3]: https://img.shields.io/github/license/Kir-Antipov/emit-file-webpack-plugin.svg?style=flat&label=License&cacheSeconds=36000\r\n[4]: https://raw.githubusercontent.com/Kir-Antipov/emit-file-webpack-plugin/master/LICENSE.md\r\n","readmeFilename":"README.md"}