{"_id":"@purtuga/esm-webpack-plugin","_rev":"11-3092d737f3da90b759d2ec88c7ea31fd","name":"@purtuga/esm-webpack-plugin","dist-tags":{"latest":"1.5.0"},"versions":{"1.0.0":{"name":"@purtuga/esm-webpack-plugin","version":"1.0.0","description":"A webpack plugin that changes the output to be an ESM library","main":"esm-webpack-plugin.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/purtuga/esm-webpack-plugin.git"},"keywords":["webpack","plugin","esm","module","export","library"],"author":{"name":"Paul Tavares"},"license":"MIT","bugs":{"url":"https://github.com/purtuga/esm-webpack-plugin/issues"},"homepage":"https://github.com/purtuga/esm-webpack-plugin#readme","gitHead":"9df7e48bfc5cce474fff89bf1eb0e9b35b6849ae","_id":"@purtuga/esm-webpack-plugin@1.0.0","_npmVersion":"5.5.1","_nodeVersion":"8.9.0","_npmUser":{"name":"paultavares","email":"support@purtuga.com"},"dist":{"integrity":"sha512-5Gish6fqY9lhc3pu0DXmTvawMRha5fwnpzieLDIqKgxQck8DyBz5V5rli7IfLRdZ1BnnRwJrYxJVn3Rd4th47Q==","shasum":"8eef112ec0eeb5799edd994d9e3e74257d02b56d","tarball":"https://registry.npmjs.org/@purtuga/esm-webpack-plugin/-/esm-webpack-plugin-1.0.0.tgz","fileCount":4,"unpackedSize":6593,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbLZ7oCRA9TVsSAnZWagAAqVgP/RgV6MapL6osZEcvgrqc\n8Iof717prZSHhdqckkmFkPrNmXsVk8xxLiivFRFgBa+x74UjKOmVf7oQIHnq\nTYguW69i2kJOj+zkekqLcPK7q2npkzFCaKMmoXTxxSKuyBiD1DZVauxddKnn\nxXY/fQdz/K6qbQLL5AMKReua8fjOO3Z7v27nYy2xmd64iEimYEMAGg/sfRof\nUZA7KZNVlvwoeZLA7EYUuA2ziXFIKt0jmpMQCO59SSrBo5OHBNu2/Gl9SiHX\n72A7WSgsjxE3ElzaD4sKkMolxrNV/lfDCX/hqCTmDLYVQD3y/9iiEmdO7WZP\n59prh5eVpkAT4AqjweyvxOGoOcve5jvMZ8ipHZGT6hoFsmtnf2eiOY2ewzQn\nmU1k9NKrH33KVu0+Rhi4P4ft45bPchFMT+uhtEzWOtgeq+rRXsNosIrMPbTX\n9Dz8RfYZWiIL66ftmHAyFpdmMwGQpYj6SoR7s1SH/8yW/IYndROutGT4bq8Y\nPLtXqSwnSzUODNUWT+Wbk+3w/5RQBkP67iRufy/xp6q7Tt1y6UVyIKTnPEry\n7qY7w99FnRPI7Lo/247C5IGWFOUHGqtMBPsipy3tlz8dlar7X7bw/iuk+n+i\nDnot1B5j4wxHaRabtVxS5HFJjVSlafY1W9BrfnwUwwH7J5/AX1F5/2Ok0rd6\nVjmy\r\n=iReB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDe3wUQ0CBSRuDSsuY6ddwk7noOMLz07/xkHNXbZOZ7FwIhAMRyeid85uZKbKUqy2Lnu/0mMp/S1XMy9UZv4DkIwHTG"}]},"maintainers":[{"name":"paultavares","email":"support@purtuga.com"},{"name":"ptavares","email":"ptavares@purtuga.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/esm-webpack-plugin_1.0.0_1529716456053_0.35436722695480194"},"_hasShrinkwrap":false},"1.0.1":{"name":"@purtuga/esm-webpack-plugin","version":"1.0.1","description":"A webpack plugin that changes the output to be an ESM library","main":"esm-webpack-plugin.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/purtuga/esm-webpack-plugin.git"},"keywords":["webpack","plugin","esm","module","export","library"],"author":{"name":"Paul Tavares"},"license":"MIT","bugs":{"url":"https://github.com/purtuga/esm-webpack-plugin/issues"},"homepage":"https://github.com/purtuga/esm-webpack-plugin#readme","gitHead":"2fd2d277b21e1c1e762e3b813565c9c7ebf58069","_id":"@purtuga/esm-webpack-plugin@1.0.1","_npmVersion":"5.5.1","_nodeVersion":"8.9.0","_npmUser":{"name":"paultavares","email":"support@purtuga.com"},"dist":{"integrity":"sha512-0fXoDHrV4WxuXzsCvD+DW/xOCSmN3khEJ1vsiDARofmgYRcqY3Sc7zfGoSFVIHcVKzcnZEFLPeybNG1GXke5GA==","shasum":"3c08bc26fb416836ef0e251c4bd0bce396474fb3","tarball":"https://registry.npmjs.org/@purtuga/esm-webpack-plugin/-/esm-webpack-plugin-1.0.1.tgz","fileCount":4,"unpackedSize":7950,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb61p4CRA9TVsSAnZWagAAGAQP+waFdkrIEao85dOvKcgi\nTf8Hiu9oXcm1Gzte6cWT0iFmn4V/oPoz76sZ76y14sxmxCpfgcO5zP8cDBW4\n/R8/0MaVd3xuOEconHBVLzqy7ot6+/LkZwS5HEtMeahnd50S6PxjSb7MeLWW\nR4r2y31LIS9UqM3/tj+Nc9+iIr5eurxOVDAyl/o8j7PzQoZdb9VB/EvAU6gZ\nNoVXBc4LqBtG1dDZxcLK1ZYn/mtsC0WEsEyba19KFZuTw/04G4rAY2qU1g59\nahtfs2q5ZdyAGM27KLJ7UMbgm1YzxTMiKksIpI3z51LzVB4nr7Rpt+lmcf8X\n1l81TogETVMm5t/zAtLs/KThM/cPRZLgFJSg3QCq49b/GBu3am58PLT4wTCZ\n/Cfw2EZVH6H/5m6BGu2G6hLT3q+BLKf+OE/2oRxIyPNEoyuqvI/aF47CsE5w\nc8tYB02VKSjqfpe6mAaMz7zz30K7dPRWNnx3m0P5xcB0gIlTNphJ5oPWOr1T\nFsm6MZ33AeyjujPO2HMbxdNTIaQwZ94zOu02D7WGPu+EwAsIRpj43xcC4L3V\n0QIVIo6Hv6FSE0/i0amdmgvPevnoz8lwWgFsZCRwvHS5FJp64jM+3bwJF7TA\n5+RYMYYeB2jxUzJO/X/O0gh3vceMUW3boNdPNT0rIPRKyBULDEjEWALbyUJB\nWTli\r\n=NMoT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCcr0jF1tcMPkkosSaaTA9SSWdvpbZfVTnNZ0Le8c93ngIhAImrgz55C6tNWCzHWPsAqEft+iUUCYk8Db2A4PsB8dIE"}]},"maintainers":[{"name":"paultavares","email":"support@purtuga.com"},{"name":"ptavares","email":"ptavares@purtuga.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/esm-webpack-plugin_1.0.1_1542150775513_0.5070924292122649"},"_hasShrinkwrap":false},"1.0.2":{"name":"@purtuga/esm-webpack-plugin","version":"1.0.2","description":"A webpack plugin that changes the output to be an ESM library","main":"esm-webpack-plugin.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/purtuga/esm-webpack-plugin.git"},"keywords":["webpack","plugin","esm","module","export","library"],"author":{"name":"Paul Tavares"},"license":"MIT","bugs":{"url":"https://github.com/purtuga/esm-webpack-plugin/issues"},"homepage":"https://github.com/purtuga/esm-webpack-plugin#readme","gitHead":"7af0c7efa5a0163a0457526db83e7dfde93f38df","_id":"@purtuga/esm-webpack-plugin@1.0.2","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"paultavares","email":"support@purtuga.com"},"dist":{"integrity":"sha512-+i+5OSgb6BiK3ZVR6NhWtuCn9uS3x3i6di7IVqlx2rU3tD7JqfuSE9007Bqz3xnB9IftO36Cb0fokDXC67YNPw==","shasum":"e933b7a1247e7f2d4c918a69ee391de0e7e4c0d9","tarball":"https://registry.npmjs.org/@purtuga/esm-webpack-plugin/-/esm-webpack-plugin-1.0.2.tgz","fileCount":4,"unpackedSize":7980,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc9oEhCRA9TVsSAnZWagAANOEP+wWdah+AYzOl7sCGdP8S\nPlhFTfOA3zcZoRW9xN0QosPj+S0VIS8WOus16VRLd6CNbz6KpwXQdBYrHt7b\nYltNw7Oub8+YT6IxEiXkBZMrx2HVUQeUdRDpVVV+Z9jitdoD9iePznN+Dhqo\nUb3u/NidI/fIqrDCPONl44dusPtKX7A5TtaQTKFTvkbwn6V9POOkUl0tbHL0\nIHbFYjurEazgjAuTF77WQMkM3R5XgIE6hCXqmgqlrfCxuTNrhP3UDbxGrW/i\nqU7b3vVUG0bdERLMT4Wghj6BQbOpMdW6YJsQQjvUw+JNfjQ20dsYdZGgY6cs\nI9uOdnwZJKme8edRCvLD9akrTLCLUuYox4b70ozbFRwRzE/cHAcO2wZ8Fj3w\ncrxgmy7GBn8HOscsysSNBZNR6Xf/npfusuPye6tLNQ/uttnlYM3oim2O0WcN\n2ExaeQy1rA0EMRS2RMtcwLpBbbQ/3dzdxoQJ14GMVnJt/hfmuNiMhjWzFxcF\nIsbjuLQ3g5sxXuV7Fj0xp7prdRj2pF93lxSGTv1+s7t6pQMzqViA9Lq/qaPh\nzadQmvMxHVMI213fT7C/qPE3QPbKU367mUrvFiPjIakRbF7lqdHKYSix+lCE\nckuMLZDmpgNuK5hk4CI57L4NURkIQpk/jeU4F3zLvnkkiyOZtNZmm3xn/TKN\n8LHq\r\n=o3gb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHAO8q9w8BdaXzqhLuVsN/x9BDfFD71pWBWnYqQVXDoDAiBxGX/5LM9yMWcI0uLKC25NwBYtPEX3Nhe41gDBwFFEfQ=="}]},"maintainers":[{"name":"paultavares","email":"support@purtuga.com"},{"name":"ptavares","email":"ptavares@purtuga.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/esm-webpack-plugin_1.0.2_1559658784217_0.03217807973784925"},"_hasShrinkwrap":false},"1.1.0":{"name":"@purtuga/esm-webpack-plugin","version":"1.1.0","description":"A webpack plugin that changes the output to be an ESM library","main":"esm-webpack-plugin.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/purtuga/esm-webpack-plugin.git"},"keywords":["webpack","plugin","esm","module","export","library"],"author":{"name":"Paul Tavares"},"license":"MIT","bugs":{"url":"https://github.com/purtuga/esm-webpack-plugin/issues"},"homepage":"https://github.com/purtuga/esm-webpack-plugin#readme","gitHead":"1866b1901a85468737e890c81d72632ed8558bcf","_id":"@purtuga/esm-webpack-plugin@1.1.0","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"paultavares","email":"support@purtuga.com"},"dist":{"integrity":"sha512-7/zbET2+WnQZa6MVxYPsrtTFSpm1PVgm2gY3N4FFKHuT2aex5L3bk0PZb+9k4OvBOGytHQ1fhXVxGKp6RVVQVQ==","shasum":"70f99f1fbcfafcaa9e28748a698186cff3cb66e6","tarball":"https://registry.npmjs.org/@purtuga/esm-webpack-plugin/-/esm-webpack-plugin-1.1.0.tgz","fileCount":4,"unpackedSize":10514,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc/6pvCRA9TVsSAnZWagAAtd0P/0CxyGx3TY57K66gAyJa\nZCPLxVd2LF6bMofnwgWPQZY9LOnWhTy6gaNctBTXg1g/stmMoEQKS+AYOgyW\njrsi3hy8ichOJ8VqJIaxEXCqb9KREKSih8YK+pYz9Dl1F6sJklWfDJ1Hd5j0\n3/qY8iHkBk9R9vekxt5q0eRKXI6wJ8brPRl2h4SQvjWTS65zTK04jIEItIxd\nN9HufyAYrMwNa/BwzJVEZtOrFUQ6BdbWV5vaxljcOKRxXvhJji95xd0N+o9X\nGV5lHgJzYixTZ9XiPWwh0lskApAQwN2m+OrOuYzoTrWtBq16g7QQx1daGxcC\nGy2fQL3Es3kUoHaVzfk7thGOWngfctfia0G0ktaLulMSb7Nzt8R5H8x5NTLa\nudhh2DY429VXtSB3BeqJoqko1BgXQrq9hFg+9UVS8FAQPyK2Ep8BGbD3Xb1d\naOM3C7zWnV/ND+GIOCwfGQ8NGrVCTWyFo4UIVx2cdiLu8bak++DC0N+L66+X\n/WLX+wu8k440sSxBBZoKI/k5ceQuLmcajH7Fc3IeDQgpVLV5Wyiu8ORyD4hL\n6kkIc50835xgBFfvpxLp6RGWWXP3A7zHbqGVIuHH8680tUNiIJRjFlqO8d87\nawy0rwDG/Hv0P19+OR20IWdLLf5qFGBNPYKTl0xRffw25AGeu70U8b5DlcF9\n89Bg\r\n=noaJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG90xh5sG4yma+/mERh8ntz0z97a4oF0RruAL6fByplqAiEA6tPD4sLSbKaV1XbkjbVEWz0smO634e7CR9vDsmWU9BI="}]},"maintainers":[{"name":"paultavares","email":"support@purtuga.com"},{"name":"ptavares","email":"ptavares@purtuga.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/esm-webpack-plugin_1.1.0_1560259183027_0.5333003267709413"},"_hasShrinkwrap":false},"1.1.1":{"name":"@purtuga/esm-webpack-plugin","version":"1.1.1","description":"A webpack plugin that changes the output to be an ESM library","main":"esm-webpack-plugin.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/purtuga/esm-webpack-plugin.git"},"keywords":["webpack","plugin","esm","module","export","library"],"author":{"name":"Paul Tavares"},"license":"MIT","bugs":{"url":"https://github.com/purtuga/esm-webpack-plugin/issues"},"homepage":"https://github.com/purtuga/esm-webpack-plugin#readme","peerDependencies":{"webpack":">= 4.0.0"},"dependencies":{"webpack-sources":"^1.0.0"},"gitHead":"90d3ffd353a5d15f0885328e6f7cea15111e324a","_id":"@purtuga/esm-webpack-plugin@1.1.1","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"paultavares","email":"support@purtuga.com"},"dist":{"integrity":"sha512-SWA580+yPp8o33zjtXqc91xXayHM4koVBhyj5fFV/u0deWr+/DDBLdt1zbCeqZw+bzKDYfRyjKAsLz78M21M5A==","shasum":"60767ae5356336ca55a042f231dfe1a90cc8a8e2","tarball":"https://registry.npmjs.org/@purtuga/esm-webpack-plugin/-/esm-webpack-plugin-1.1.1.tgz","fileCount":4,"unpackedSize":10659,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdGmF+CRA9TVsSAnZWagAAMlkP/A+jKDhoe+0dSyDJCIc6\nE1DaY7qOJDyktlx2W9zxsXCd1Kv8X6D6crGWI0M5QIgQipRKnHbtTs7qOvOj\nPe9YifVLTgc5e4POKczL6nfT7/rvGWRgKNfPbiiGWuZ+ez+UkLlmTKeMUqQU\n2L6YmlQuLeBtUoV302ij8cvwlDhIxSuo1FyIEkYCemvMlK1R4Tpermf9hBOw\ncW2PXzzI/kbkDs6iF9GhYTlhJuRWzLlBRbdO8FGph2yR+FyqYoYqKfciv1xz\nn+lfLYPBqaJLokGVOKalLsG5C4HA4LX8TW2qWAeC42TB2NE2/aZRMril10Of\nsVjSSWIqwI9yrH5tQ6Mw6Pw+GCLswWcRcogqYq1HELUqCP5LKpChqQoKG7ep\nVTItnaFDP8w9N26yRPkvDcmrOQd9DskrVQEfyyMOzJrWMIKBIFHWq/y21SZA\nW7LGBwDvyMZGdrJYdr/2y9IEjlL/CjvK2NcC3PrW+fkCB3cMazYpmB54h4cs\nl1wYB8O+X2a2niYwjFSOSj33toJk5/NSfweUBq+DWpBgzLDGF2EWfh6zchiX\n8o6munCMIs6Xb+nObY4Sqz4SptffbNtxxLQhdL6FEa+igLB1wS642D1Um0NC\n5f0boGQVF7EJb/SL/pPtLLmYkfXg5+ZNQML0G9B6hmUpRmV1v6faUP0zfrjp\nm6Q1\r\n=Qoxj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEWMNLSBLQsr1R5v+G1s9Wm2NfiYkvDFyv2PtWtdg7/5AiEA7nj3qBw5yCeEWnFsCareF6t2/D6F7LgehRNC0NnTsaI="}]},"maintainers":[{"name":"paultavares","email":"support@purtuga.com"},{"name":"ptavares","email":"ptavares@purtuga.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/esm-webpack-plugin_1.1.1_1562009982138_0.7718955453457723"},"_hasShrinkwrap":false},"1.2.0":{"name":"@purtuga/esm-webpack-plugin","version":"1.2.0","description":"A webpack plugin that changes the output to be an ESM library","main":"esm-webpack-plugin.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/purtuga/esm-webpack-plugin.git"},"keywords":["webpack","plugin","esm","module","export","library"],"author":{"name":"Paul Tavares"},"license":"MIT","bugs":{"url":"https://github.com/purtuga/esm-webpack-plugin/issues"},"homepage":"https://github.com/purtuga/esm-webpack-plugin#readme","peerDependencies":{"webpack":">= 4.0.0"},"dependencies":{"webpack-sources":"^1.0.0"},"gitHead":"6de3fd995d688641b18dbdb33771b0b374ba98b7","_id":"@purtuga/esm-webpack-plugin@1.2.0","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"paultavares","email":"support@purtuga.com"},"dist":{"integrity":"sha512-XjGJStZgON9grQAk93EPPRNb+mZ6nzxAsDAB3uCA/UX6a5LfUeBckT8qpkCbALq4plkVTgbuOrwKxIQuit57pg==","shasum":"9d0cfd48ce5d8e5c67aac2091043e48fae8a99a2","tarball":"https://registry.npmjs.org/@purtuga/esm-webpack-plugin/-/esm-webpack-plugin-1.2.0.tgz","fileCount":5,"unpackedSize":12253,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd4+9TCRA9TVsSAnZWagAAh+IP/28ZAYBQ7IpsvFyB2I7R\nLETD9ah7JSF19JqrvU87qlqBLB31Yqga1XfiAQXuYM8umdPnlcHDfCIpu5Wr\nh7d4OKX2vkGtLiFzBjIjIYY3OcCfzqTAzhEJBBnheWwHWGRPApayuDU2tU7X\nSRSDaXWXP0SdCNN74hs2g0h71f8vsYn/yDLa3cng+ZRqKAVPevsQms9UdyiI\n6psVIimSRttk9deVGH0FcBS1mlFI5JwRIehtZAoX2n6bDvOSDgI6IhcKINmi\n+HrKTyFTe6P+O4/Vo9m3/9cB8qYR3Ik9qJk36cRdbhAaiw1d53lFvADfcIwq\nboQs9CXRTFrm+0VGRTrTt1mQE6Fe+NoPgWG1a7dWD9aKBjOugsw/6v1ANEaB\nXNBS4EGFSlHEx6RpIobTK1iEx6Ynp4L8j/TBx8Jttx608exFTNeccF8ATFem\nEb8hrRORnABZr8YFC8oBXUQ0BFMF2UYXXkW+Z6bI4/x9DnHdVT8i0P/clhu1\n5mqQgByU7uu2GQ8v6KhZRiXi7/6pK2jeoqSpwTGm6P/wK364Qg/MGTCLA3QC\nkF2gj7rN1X7YRcTiFRhI1kKGyCYxQrDJGGgz8Xuj3Mm/zpBZP+3AznG/e68S\ncZrdL8D4ha7i+2x1JvVVNZNLIMU7lO2fz5i0zpwgGkBs/1m4I8xrzXFwA0j8\nNtt2\r\n=sB2D\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIErUyWhzncq2assfYrCpHuu8SJJuupzlG8+KiuTLkwyHAiB7PnjwsH7UCt8pu+qqTJf5fZ2e35o8KR+75B/62Q6ElA=="}]},"maintainers":[{"name":"paultavares","email":"support@purtuga.com"},{"name":"ptavares","email":"ptavares@purtuga.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/esm-webpack-plugin_1.2.0_1575219026703_0.218346306571233"},"_hasShrinkwrap":false},"1.2.1":{"name":"@purtuga/esm-webpack-plugin","version":"1.2.1","description":"A webpack plugin that changes the output to be an ESM library","main":"esm-webpack-plugin.js","scripts":{"preversion":"npm run test","test":"mocha -r esm test/*.test.js"},"repository":{"type":"git","url":"git+https://github.com/purtuga/esm-webpack-plugin.git"},"keywords":["webpack","plugin","esm","module","export","library"],"author":{"name":"Paul Tavares"},"license":"MIT","bugs":{"url":"https://github.com/purtuga/esm-webpack-plugin/issues"},"homepage":"https://github.com/purtuga/esm-webpack-plugin#readme","peerDependencies":{"webpack":">= 4.0.0"},"dependencies":{"webpack-sources":"^1.0.0"},"devDependencies":{"esm":"^3.2.25","mocha":"^6.2.2","webpack":"^4.41.4","webpack-cli":"^3.3.10"},"gitHead":"aa758533f74f99fa4b04b51682e126ac7099a72f","_id":"@purtuga/esm-webpack-plugin@1.2.1","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"paultavares","email":"support@purtuga.com"},"dist":{"integrity":"sha512-q17/jiGfDiJlgsiQ79tOQE2z4p8E1i0d4Ftvi9GqYB9mZCyWvWEY/EnXZxVbImBgFS6NgnhaEXGYJ19FtVpo8A==","shasum":"7d6ac0a2584b8a619d25a21383ce102afff30fa6","tarball":"https://registry.npmjs.org/@purtuga/esm-webpack-plugin/-/esm-webpack-plugin-1.2.1.tgz","fileCount":17,"unpackedSize":18858,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd/amsCRA9TVsSAnZWagAApG0QAJF7acMgOfI3M6wm7OET\nji7JQr6iyKdBYvqJMk8eJDL1oZReg846DIi9U8er1zBDQTmfpp8aYIUFd37A\nXCwJZuri0OlvakoAUPT52P7b5qLwd1WV+H0vMOxapspmPWQoQb1yk6h83uT5\nD9ZPrS91LAdAv97369REZm1QiypPK4LhEXATTpfiOCCnuppMTozSoALy/XWa\nhBpdNNCHlEr7dbBIKUx1m7xqQUSQaQA1M4Z95bz1Qny7nxfYAp/j178u1d5+\njnZEPktx4iE4f+nxMV9SoH79vc2so6mwPyRqOgBf3wAppF1bJc2bFtj7CYLH\nqPS/uP/uv09BRqhkfo/sa4dlnxf4AjRw/OLyiLIPVONwIwxwoXtYr82ogCNw\nqWiEA/ZNWd7Wwsot06NLuLJJySRrXdnDFkUJQ+YaZRffLZ1AKmRkobAHFIMY\n/GBd0DAQAo9idNefvCKn86pZlhwQIZBLMtkCfhv52wN7708/oW3F2kiGS5PT\niFlBDALhzyhNz8kFjDty5BJhIRL34Pqh6del9nKp1QzvKCl2azfWfRGdmACf\nUSmIaevvsWOZmsqYHGaXvfW6Lzl91OWBu4cAmlCY4e6mv8Xs9LSk11H/3mLZ\nxY1Vk4fYv70sbV6nsdW4AesXcZEy/m1441vCQYXPTvJZWqnhH0PBvZOY9P2x\ngIfE\r\n=Q0/d\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCI060Pdgfy8n9ObKyEU60btcUR620NHHXMuBTp2oNkygIhAJFOO6Fe/BkQDPgZB95NNzsimIA1csrn2cnJIqsym5PZ"}]},"maintainers":[{"name":"paultavares","email":"support@purtuga.com"},{"name":"ptavares","email":"ptavares@purtuga.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/esm-webpack-plugin_1.2.1_1576905131573_0.04891092708135325"},"_hasShrinkwrap":false},"1.3.0":{"name":"@purtuga/esm-webpack-plugin","version":"1.3.0","description":"A webpack plugin that changes the output to be an ESM library","main":"esm-webpack-plugin.js","scripts":{"preversion":"npm run test","test":"mocha -r esm test/*.test.js"},"repository":{"type":"git","url":"git+https://github.com/purtuga/esm-webpack-plugin.git"},"keywords":["webpack","plugin","esm","module","export","library"],"author":{"name":"Paul Tavares"},"license":"MIT","bugs":{"url":"https://github.com/purtuga/esm-webpack-plugin/issues"},"homepage":"https://github.com/purtuga/esm-webpack-plugin#readme","peerDependencies":{"webpack":">= 4.0.0"},"dependencies":{"webpack-sources":"^1.0.0"},"devDependencies":{"esm":"^3.2.25","mocha":"^6.2.2","webpack":"^4.41.4","webpack-cli":"^3.3.10"},"gitHead":"08bb67018b4269092fad0766a5e5f4ef7bb4eccf","_id":"@purtuga/esm-webpack-plugin@1.3.0","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"paultavares","email":"support@purtuga.com"},"dist":{"integrity":"sha512-QF01tMl0iabuzNVuKHHVdgx+L/7h0B9SRUOCYUbX1DI/IL/3vIWVEtsZtRIg+5/JBLF6+1kgMxqB2iqFnYKeIg==","shasum":"542f22148c1c7b01357800b413346f4260e98035","tarball":"https://registry.npmjs.org/@purtuga/esm-webpack-plugin/-/esm-webpack-plugin-1.3.0.tgz","fileCount":21,"unpackedSize":21942,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfU76cCRA9TVsSAnZWagAA7hQP/1jxcA31SgocfMuPU1UD\nwWJD/jod2emsZuhddd+U/m+iJrMaT1r4bxnVrHfu0zbrc6Oc5/rlYskNs84Z\n3ocHArGb+bexzVpIYyR4mQHumdsUdDqAChsAdDCBKg/z+H0M2bhTcekO635B\nSPN0P6OI21Sr5EMzQ0EdRQodOr3PEtHWPkuMUINFdrWSV9jb861VqQEh+waw\npEaKImYFzlJ70Q8iLTkjG8wGY80L3CnRr89gr+2TkOFmEYjwgSQ1fC07UCJs\ncP2pLAbL5ED1yV178RC33BcdGyvmXrOU5CCDI3SCwOolGpFYHh6QIyfxLtoo\nxrX/JFzH/pnxdQWoL1ut5LpeZoT04qPQf1EPjQHwx1OwNEVJ1+XFj7+6D4zH\nZ4ubGcUw22/V5Uepw8uVvb4LxewmGhT7Sf1/N6ItoFYcxiwkGzK6VN8rrZ3p\nUVeX3KHzTYIWmaThykJBXyYknOWHY9+u7Lv9CYGwx12I0et9/17fwRUecDY1\nBG+mcyn2NgFYebSXIEgR5xBEu3tF3P19xPs+xLS40K9n/rhqnH2NWu3hYMDl\n8UGFJcGm3EVaHAupxRCwHvXSE7MaQNsoGUd5lImzvLZUAnj5eXrkOFFxGWH0\nsK1cdTCAqxzPWGV6b3cG6LF3wXril6fABr8T/dg6uesb4lxKScE0wMk34QRC\nX4Zc\r\n=pBW7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCukxsdUg3oIuvOxZcbrY8KQEFPvALDp9VWMgwvqqDWiQIgO9oFugTGXi0j/h3nbKsfjpXBaVghCJjv2XIZqEibjV0="}]},"maintainers":[{"name":"paultavares","email":"support@purtuga.com"},{"name":"ptavares","email":"ptavares@purtuga.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/esm-webpack-plugin_1.3.0_1599323804099_0.28405321002490536"},"_hasShrinkwrap":false},"1.4.0":{"name":"@purtuga/esm-webpack-plugin","version":"1.4.0","description":"A webpack plugin that changes the output to be an ESM library","main":"esm-webpack-plugin.js","scripts":{"preversion":"npm run test","test":"mocha -r esm test/*.test.js"},"repository":{"type":"git","url":"git+https://github.com/purtuga/esm-webpack-plugin.git"},"keywords":["webpack","plugin","esm","module","export","library"],"author":{"name":"Paul Tavares"},"license":"MIT","bugs":{"url":"https://github.com/purtuga/esm-webpack-plugin/issues"},"homepage":"https://github.com/purtuga/esm-webpack-plugin#readme","peerDependencies":{"webpack":">= 4.0.0"},"dependencies":{"webpack-sources":"^1.0.0"},"devDependencies":{"esm":"^3.2.25","mocha":"^6.2.2","webpack":"^4.41.4","webpack-cli":"^3.3.10"},"gitHead":"eef811ee33b9a38e0b9a0fc6f9d4be0263bb1564","_id":"@purtuga/esm-webpack-plugin@1.4.0","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"paultavares","email":"support@purtuga.com"},"dist":{"integrity":"sha512-6MYgpirnsloAHJonzDKGjkLdS64bJPtIRW2Ao41rLppH/HfCFvDGmldxVJnrO0fXbfft49qpAXG114EHPOC3qg==","shasum":"0ae508cc0537616aaba4e79ef289821d2070651c","tarball":"https://registry.npmjs.org/@purtuga/esm-webpack-plugin/-/esm-webpack-plugin-1.4.0.tgz","fileCount":27,"unpackedSize":26649,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfZL93CRA9TVsSAnZWagAA5ZYP/jBsDcs5NtDO8gs42/Eq\nj7JCB0tleX4OjlAx0O5pIwxwC+JkEtG9XgKJWenSf+e9RU9VGCazliuWM6+/\nQiHSUfNIfeDer4/Z99ZVHgWdog4rbbWLQwwabP13Am4FtNxmqqrxmrW1GnkL\nZJopmPBsMEgQkufo0IbrVgjL4AhPjNxp8JxbMelu/tiwI+P0TfdzvzguZ0+w\nmZictZdUxD/wFAIEJEgkfaHbJTkl/wT/oMqVcGMrDpCSitY25bVx4KJpXeNS\n/0uvT6oHZLBrG27KrtSb+y6Gr2K2RxmMATCNwYF8ldZoaaWkcoAy11rkI5ra\nVPgPeKAEmSePkv26U9gsEiP0ok4807gyuX8mbKIEGcDNDycRgdf6POXbUUKt\nF777OJDgk37TfG1a8JTaXbRJVZ5x1ahBtwzv5GWrI+vrs/4JN9OL2ZcFQTQr\nkXKP887NxEi5n8dj/YUNbYr/ZPePXDFuEh+FBXD+kgt2qFstV/6Y6rKrtiY2\nzvNkQfDmX9GBOlCcEz9vbm4qF2Aj2ZyGfA3FSgW6+gKjbxxeZQTEmzjK+gKt\nKcvEoD6mLkETXnehPNznou+hwPAoGfMMCVOT6Q1WssJgZLKidlIwkw8VN6Fx\noAue7XpMpwb0UNllMMyjpjg8uR0E0lk9gDklCDbwn4b1xQogy2h1McHxA0yN\nC4Bv\r\n=2AZU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDX+32w6hIBzL3anWvPxu3JYyWQvijkc23h4ON+MieXtwIhAIxeoxNr48OCmsTKCdPxKwgaX5T+BwxXv1uPZwq+ojFo"}]},"maintainers":[{"name":"paultavares","email":"support@purtuga.com"},{"name":"ptavares","email":"ptavares@purtuga.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/esm-webpack-plugin_1.4.0_1600438135249_0.8132626072533577"},"_hasShrinkwrap":false},"1.4.1":{"name":"@purtuga/esm-webpack-plugin","version":"1.4.1","description":"A webpack plugin that changes the output to be an ESM library","main":"esm-webpack-plugin.js","scripts":{"preversion":"npm run test","test":"mocha -r esm test/*.test.js"},"repository":{"type":"git","url":"git+https://github.com/purtuga/esm-webpack-plugin.git"},"keywords":["webpack","plugin","esm","module","export","library"],"author":{"name":"Paul Tavares"},"license":"MIT","bugs":{"url":"https://github.com/purtuga/esm-webpack-plugin/issues"},"homepage":"https://github.com/purtuga/esm-webpack-plugin#readme","peerDependencies":{"webpack":"^4.0.0"},"dependencies":{"webpack-sources":"^1.0.0"},"devDependencies":{"esm":"^3.2.25","mocha":"^6.2.2","webpack":"^4.41.4","webpack-cli":"^3.3.10"},"gitHead":"49a3628f4df53a658ca4d869a32cf8913f9468c3","_id":"@purtuga/esm-webpack-plugin@1.4.1","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"paultavares","email":"support@purtuga.com"},"dist":{"integrity":"sha512-UqM1RHPjSC3ymVE07yYstFUcZxEMjExxpSnT+mhzkivJCe/123vqktGBdnOzonajlyLZRZnkZndyaklf8zyZew==","shasum":"78c0c8bb6c230c94b6c9b35964064661bda665ec","tarball":"https://registry.npmjs.org/@purtuga/esm-webpack-plugin/-/esm-webpack-plugin-1.4.1.tgz","fileCount":27,"unpackedSize":27058,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfjFkKCRA9TVsSAnZWagAAifkP/jk13ye6ieIMmwLd6uGU\nVtyXWfRvdofDOAkJwRRosxYjp8PZtAm3MN3oziodFpZITxbuoyjPcM7nB3tU\naioiABE1CEiJEiD7mtBOHcMXH+a20tr+dkECXmsJCp+BEix5ASff6hSqPTPt\nJ3GZ5uOjFYCciSSL5x9gvv7bGTjNigG3yxlPo9wuE9NVZ1kQVVQ0EkEl0lRU\n/qzR05kz64OBSMLxgJQLu4GkbUH5bGAv1VKlPjZ8oh2XZnq36+FGVfNUX4/a\n+tx+SjaWfACvX0DjVHB+t0Xxx3XTUUQCYpZkKspGmP8A996odVR/cx8+xNUl\n9jLcZnXkQnu5zDhloxeAH5v+Ye3PxLjQgBPEijzO/Kpc4LFsrIVHQLVFvorw\nYUqZ9yH9I7qFRYOWAX1OuLJc+s+RTXRiyysTn2oklrhx9KoumFJHB8RjEVr6\nBSnmgKQIHV7oJo7x4bMxltd3VqkmBUVbEQ1r/4zPhOREMKZGs4EH9HLYby49\nqlN/meAs1f/si0afez3GpLfAt92ItB6LzyUu92hFO2FosmMGBHTrxx0CIuDZ\ndnZ9fsSIupQpATJTXQkRWNwtYKsHvvoKr3HzcdPIJs41ZFk+76IWCY4QEqNY\nGA++69iva/7hErPUpAl/L1kIN/EU0glzscqG2FyQ0CRxfFH3Us1tynFw5KUt\nDYep\r\n=kwmK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBfD1UAlGeAo3Stu8qK54GVhKypZD4KKUtzK8FdmfDflAiByhJ47s85Go0JVHtYNebTnxdZODpaE/4UTxr3B5F3RNQ=="}]},"maintainers":[{"name":"paultavares","email":"support@purtuga.com"},{"name":"ptavares","email":"ptavares@purtuga.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/esm-webpack-plugin_1.4.1_1603033354136_0.7230912237877765"},"_hasShrinkwrap":false},"1.5.0":{"name":"@purtuga/esm-webpack-plugin","version":"1.5.0","description":"A webpack plugin that changes the output to be an ESM library","main":"esm-webpack-plugin.js","scripts":{"preversion":"npm run test","test":"mocha -r esm test/*.test.js"},"repository":{"type":"git","url":"git+https://github.com/purtuga/esm-webpack-plugin.git"},"keywords":["webpack","plugin","esm","module","export","library"],"author":{"name":"Paul Tavares"},"license":"MIT","bugs":{"url":"https://github.com/purtuga/esm-webpack-plugin/issues"},"homepage":"https://github.com/purtuga/esm-webpack-plugin#readme","peerDependencies":{"webpack":"^4.0.0"},"dependencies":{"webpack-sources":"^1.0.0"},"devDependencies":{"esm":"^3.2.25","mocha":"^6.2.2","webpack":"^4.41.4","webpack-cli":"^3.3.10"},"gitHead":"58929ad1005fb68a2047aece4f14a5f01f6ebae9","_id":"@purtuga/esm-webpack-plugin@1.5.0","_npmVersion":"6.4.1","_nodeVersion":"8.15.1","_npmUser":{"name":"paultavares","email":"support@purtuga.com"},"dist":{"integrity":"sha512-v4kKOCQHqS2H8yjlbJBm6km+4Urd21M0uvO5MAMQ7GmqEf745fkQeB4iiPAVUeXxDbB833i5ctv93WGH4mwQLQ==","shasum":"0a01e769ed2e668f9463dfeedb1003cffd845ff5","tarball":"https://registry.npmjs.org/@purtuga/esm-webpack-plugin/-/esm-webpack-plugin-1.5.0.tgz","fileCount":30,"unpackedSize":31588,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfsARdCRA9TVsSAnZWagAAoLoP/iDjKqHVYYvheD4WESat\npP8JPULnYmg3DDXcc1ebV2Co6lzVkBSRVOAb/Ae2JjObY3Kboh1dKWkQVi3M\nIl809CWDbQJEwDlWbSNAiRnVQTUlhhDhZCB0IfZGxoqSsQyekn2frPKFsC8r\nOoQLeN/0MiM3j9Z5CBZW3yJnMpZ8KwZx01qIYvJmW+aYWe1b0L99+3eBLVg9\nT9QZpm+1ocLV+vAHw/J9PUoSkcZA13jG2f0PwEqaBoSxSr86ic9Yo3rkr8Pe\n0fjJiR6TgbbaA6z3jXKlSDbIBEQxS1dh8Vj5NlqFEbz+91onXoaDZJdqnkec\nRz2YlE4d3AS3qqpwKbhnnLzuZeQJniLIQhlxNtbKz8uFpvlDhjDgKhSbfezl\nXJUykI15WrajZu8Jr3rw4LsQv/qCuvIW3c3vdpQtW3Jk7n1Ud5GbsKbJtwFG\nf9U3PacFuu6ixbaX3OcwosbFOLM5Gng7oAFvVmGcSber9Lz8VTHHvDVug1Q3\nbf4YuoUYLnXHqaXMXaNLf5NQsldJjNBcpfQemkGO9sO62+s81V2QKdBbE1q9\nZJGJnFdu4BHgf2mcNNTI+Bt66v93B+kpUiO4r0m+QBTektPqRMwoEmpIQTs+\nmyK0DEsnxXZmmcUhV8wOsRx/B7hBArt9KGMsH0Wq4JRPgGymtBtYpSQBpZjh\n/2Re\r\n=mZZQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBq/qxoiJQp9K4+1lqu3t+Uismj5Y4alMpOWhyp1eFv1AiEA29q1rFOKEcNMrrXGFE5DcjqsPsxSjBJoi9D5W8NaqrY="}]},"directories":{},"maintainers":[{"name":"paultavares","email":"support@purtuga.com"},{"name":"ptavares","email":"ptavares@purtuga.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/esm-webpack-plugin_1.5.0_1605370972663_0.8523229823456977"},"_hasShrinkwrap":false}},"time":{"created":"2018-06-23T01:14:15.776Z","1.0.0":"2018-06-23T01:14:16.155Z","modified":"2022-04-06T17:08:31.987Z","1.0.1":"2018-11-13T23:12:55.688Z","1.0.2":"2019-06-04T14:33:04.339Z","1.1.0":"2019-06-11T13:19:43.176Z","1.1.1":"2019-07-01T19:39:42.243Z","1.2.0":"2019-12-01T16:50:26.934Z","1.2.1":"2019-12-21T05:12:11.762Z","1.3.0":"2020-09-05T16:36:44.209Z","1.4.0":"2020-09-18T14:08:55.411Z","1.4.1":"2020-10-18T15:02:34.270Z","1.5.0":"2020-11-14T16:22:52.804Z"},"maintainers":[{"name":"paultavares","email":"support@purtuga.com"},{"name":"ptavares","email":"ptavares@purtuga.com"}],"description":"A webpack plugin that changes the output to be an ESM library","homepage":"https://github.com/purtuga/esm-webpack-plugin#readme","keywords":["webpack","plugin","esm","module","export","library"],"repository":{"type":"git","url":"git+https://github.com/purtuga/esm-webpack-plugin.git"},"author":{"name":"Paul Tavares"},"bugs":{"url":"https://github.com/purtuga/esm-webpack-plugin/issues"},"license":"MIT","readme":"# esm-webpack-plugin\r\n\r\nOutput an ESM library from your bundle. Adds `export` statements to the end of the bundle for the exported members. Ideal for consumption by Javascript environments that support the ESM spec (aka: all major modern browsers).\r\n\r\nCurrently only for webpack 4 and above.\r\n\r\n\r\n> **IMPORTANT** : [Webpack 5](https://webpack.js.org/blog/2020-10-10-webpack-5-release/) has been released and with it comes support for output ES Modules. [See documentation here](https://webpack.js.org/blog/2020-10-10-webpack-5-release/). **There is currently no plan to udpate this plugin to support Webpack 5** and those looking to upgrade should instead migrate to use the new features of Webpack 5. \r\n\r\n## Install\r\n\r\n```bash\r\nnpm i -D @purtuga/esm-webpack-plugin\r\n```\r\n\r\n## Usage\r\n\r\nIn your webpack configuration (`webpack.config.js`):\r\n\r\n```javascript\r\nconst EsmWebpackPlugin = require(\"@purtuga/esm-webpack-plugin\");\r\n\r\nmodule.exports = {\r\n    mode: \"production\",\r\n    entry: \"index.js\",\r\n    output: {\r\n        library: \"LIB\",\r\n        libraryTarget: \"var\"\r\n    },\r\n    //...\r\n    plugins: [\r\n        new EsmWebpackPlugin()\r\n    ]\r\n}\r\n```\r\n\r\nNotice the use of `output.library` and `output.libraryTarget`, which indicates a library is being built and the bundle will expose it via a scoped variable named `LIB`.\r\n\r\n>   __NOTE__: the value for `output.library` should NOT match the name of an exported library member.\r\n\r\n>   If using this plugin on a CommonJS source project, see the FAQ below for more information.\r\n\r\n## Options\r\n\r\nOptions are supported by providing an object to the Plugin constructor. All are optional. Example:\r\n\r\n```javascript\r\nconst EsmWebpackPlugin = require(\"@purtuga/esm-webpack-plugin\");\r\n\r\nmodule.exports = {\r\n    //...\r\n    plugins: [\r\n        new EsmWebpackPlugin({\r\n            /*... Plugin Options here ...*/\r\n        })\r\n    ]\r\n}\r\n```\r\n\r\n### Supported options:\r\n\r\n-   `exclude {Function}`: A callback function that will be used to determine if a given file name (a named output file) should be excluded from processing. By default, all files whose file extension does **not** end with `.js` or `.mjs` will be excluded (meaning: no ESM `export` statements will be added to the output file). Note that callback is applied to the named output chunks that webpack outputs.\r\n    Function callback will receive two arguments - the `fileName` that is being process and webpack's `chunk` object that contains that file name.\r\n```javascript\r\nnew EsmWebpackPlugin({\r\n    exclude(fileName, chunk) {\r\n        // exclude if not a .js/.mjs/.cjs file\r\n        return !/\\.[cm]?js/i.test(fileName);\r\n    }\r\n})\r\n```\r\n\r\n- `skipModule {Function}`: A callback function that can be used to skip over certain modules whose exports should not be included. Useful for when certain development plugins from webpack are used (like the `devServer`). The callback is provided with two arguments - the file name for the given module and the Webpack module class instance.\r\nExample - don't include webpack devServer generated bundles and modules:\r\n```javascript\r\nnew EsmWebpackPlugin({\r\n    exclude(fileName) {\r\n        // Exclude if:\r\n        //  a. not a js file\r\n        //  b. is a devServer.hot file\r\n        return !/\\.[cm]?js$/i.test(fileName) ||\r\n            /\\.hot-update\\.js$/i.test(fileName);\r\n    },\r\n    skipModule(fileName, module) {\r\n        return /[\\\\\\/]webpack(-dev-server)?[\\\\\\/]/.test(moduleName);\r\n    }\r\n})\r\n```\r\n\r\n- `moduleExternals {boolean}`: A boolean that determines whether [webpack externals](https://webpack.js.org/configuration/externals/#root) should be imported as ES modules or not. Defaults to `false`.\r\nWhen set to true, the defined webpack `externals` will be added to the output ES module as `import`'s. Example: Given the following code module\r\n```javascript\r\nimport foo from 'foo-mod'\r\n\r\nexport const doFoo = () => foo();\r\n```\r\nwith a webpack configuration containing the following:\r\n```javascript\r\nconst EsmWebpackPlugin = require(\"@purtuga/esm-webpack-plugin\");\r\n\r\nmodule.exports = {\r\n    //...\r\n    externals: {\r\n        'foo-mod': '/some/external/location/foo-mod.js'\r\n    },\r\n    plugins: [\r\n        new EsmWebpackPlugin({\r\n            /*... Plugin Options here ...*/\r\n        })\r\n    ]\r\n}\r\n```\r\nwould generate an ESM with the following `import`:\r\n```javascript\r\nimport * as __WEBPACK_EXTERNAL_MODULE__0__ from '/some/external/location/foo-mod.js';\r\n\r\nvar LIB =\r\n/******/ (function(modules) { // webpackBootstrap\r\n//...\r\n})();\r\n//...\r\nexport {\r\n    _LIB$doFoo as doFoo\r\n}\r\n```\r\n\r\n- `esModuleExternals {boolean}`: This option applies only when `moduleExternals` options is `true` (see above). A boolean that determines whether esm-webpack-plugin will add the `__esModule` property to all imported externals. This can be helpful for improving interop between CJS and ESM modules, since webpack treats modules with the `__esModule` property differently than modules without them. Defaults to `true`.\r\n\r\n    To add the `__esModule` property, esm-webpack-plugin uses a function `cloneWithEsModuleProperty()` which creates a new object that proxies to the original module, since ES modules are not extensible.\r\n\r\n## Example\r\n\r\nGiven the above Usage example:\r\n\r\n### Entry File: `index.js`\r\n\r\n```javascript\r\nimport {horn} from \"lib/noises\"\r\nexport {bark} from \"lib/noises\"\r\n\r\nexport function makeHornNoise() {\r\n    horn();\r\n}\r\n\r\nexport default makeHornNoise;\r\n\r\n```\r\n\r\n### Library module `lib/noises.js`\r\n\r\n```javascript\r\nexport function horn() {\r\n    return \"honk honk\";\r\n}\r\n\r\nexport function bark() {\r\n    return \"woof woof\";\r\n}\r\n\r\n```\r\n\r\n### Output Bundle\r\n\r\n```javascript\r\nvar LIB = (/******/ (function(modules){/* webpack bundle code */}));\r\n\r\nexport const bark = LIB['bark'];\r\nexport const makeHornNoise = LIB['makeHornNoise'];\r\nexport default LIB['default'];\r\n\r\n```\r\n\r\n\r\n### Example of usage on the Browser\r\n\r\nIn the browser:\r\n\r\n```html\r\n<script type=\"module\">\r\n    import MyLibrary from \"MyLibrary.js\";\r\n    MyLibrary(); // makeHornNoise\r\n</script>\r\n```\r\n\r\nOr:\r\n\r\n```html\r\n<script type=\"module\">\r\n    import {bark, makeHornNoise} from \"MyLibrary.js\"\r\n    bark();\r\n    makeHornNoise();\r\n</script>\r\n```\r\n\r\n# FAQ\r\n\r\n## When using the generated ESM library, un-used exports are not removed from final output (not three-shaken)\r\n\r\nThis is, unfortunately, a drawback and limitation of this plugin. This plugin does not change how the code is bundled or structured by webpack and only adds `export` statements to the end of file in order to enable its use via ES6 `import`. Because of that, tree-shaking is not possible - all code is already bundled and stored using webpack's internal structure. The ability to possibly support tree-shaking can only truly be supported when webpack itself introduces support for generating ESM output targets.\r\n  \r\nMy advice is to use the generated ESM modules at runtime when no build/bundling pipeline exists on a project and to `import` source directly (if that is coded as ESM) when a pipeline does exists.\r\n\r\n\r\n## With CommonJS project, individual `exports` are not available in the output ESM module\r\nThis project was created primarily for use in sources that are developed using ESM. The default behavior, if the plugin is unable to identify explicit `export`'s is to expose the entire library object (the `LIB` variable as seen in the examples above). A workaround that might work is to create an `ESM` entry source file whose sole purpose is to expose the desired members and use that as your webpack `entry` file.  Here is an example:\r\n\r\nFile `/index.cjs`:\r\n```javascript\r\nexports.libA = require(\"./lib-a.cjs\").libA;\r\nexports.cjsIndex = function cjsIndex() {\r\n    console.log(\"src-cjs/index.cjs loaded!\");\r\n}\r\n```\r\n\r\nFile `/index.mjs` (use this with webpack):\r\n```javascript\r\nimport * as cjs from \"./index.cjs\";\r\n\r\nconst { libA, cjsIndex } = cjs;\r\n\r\nexport default cjs;\r\nexport {\r\n    libA,\r\n    cjsIndex\r\n};\r\n```\r\n\r\nNote that in order for this work, I believe (have not confirmed) that webpack's mode needs to be  `javascript/auto` which I think is currently the default.\r\n\r\n\r\n## Uncaught SyntaxError: Identifier 'MyLibrary' has already been declared\r\n\r\nWhere `MyLibrary` is the same name as the `output.library` value in your `webpack.config.js` file. \r\n\r\nThis occurs when your library exports a member that is named the same as the value found in the `output.library` value. It is suggested that you use an obscure value for `output.library` - one that has low probability of matching an exported member's name. \r\n\r\n\r\n## TypeError: chunk.entryModule.buildMeta.providedExports.reduce is not a function\r\n\r\nConsole output:\r\n```\r\n/home/prj/node_modules/@purtuga/esm-webpack-plugin/esm-webpack-plugin.js:45\r\n    chunk.entryModule.buildMeta.providedExports.reduce((esm_exports, exportName) => {\r\n                                                ^\r\n\r\nTypeError: chunk.entryModule.buildMeta.providedExports.reduce is not a function\r\n```\r\n\r\nIn order to create an ESM package, webpack must be able to identify your module exports. This error is likey due to the fact that it was not able to do that. You can run your build with `--bail --display-optimization-bailout` to see if the following message is output against your entry module: \r\n`ModuleConcatenation bailout: Module exports are unknown`\r\n\r\nThe root cause is likely due to exporting modules using the `*` syntax where different modules have an export named exactly the same. Example:\r\n\r\n`index.js`\r\n```javascript\r\nexport * from \"mod1.js\";\r\nexport * from \"mod1.js\"\r\n```\r\n\r\nWhere both modules have an export name `foo`. To address this issue, try using named exports instead:\r\n\r\n```javascript\r\nexport {foo} from \"mod1.js\";\r\nexport {foo as foo2} from \"mod2.js\"\r\n```\r\n\r\n\r\n\r\n# License\r\n\r\n[MIT](LICENSE)\r\n","readmeFilename":"README.md"}