{"_id":"@advbet/ng-annotate-webpack-plugin","name":"@advbet/ng-annotate-webpack-plugin","dist-tags":{"latest":"0.5.0"},"versions":{"0.5.0":{"_from":"ng-annotate-webpack-plugin@^0.3.0","_id":"@advbet/ng-annotate-webpack-plugin@0.5.0","_inBundle":false,"_integrity":"sha512-KWE99tEHyR/DskJRo1tl+EoCIreygv8DNgEiDSv4BzofA/0om9LkAjrtuar3SRPeCLglu9t10Qlk79A5TEazuQ==","_location":"/ng-annotate-webpack-plugin","_phantomChildren":{},"_requested":{"type":"range","registry":true,"raw":"ng-annotate-webpack-plugin@^0.3.0","name":"ng-annotate-webpack-plugin","escapedName":"ng-annotate-webpack-plugin","rawSpec":"^0.3.0","saveSpec":null,"fetchSpec":"^0.3.0"},"_requiredBy":["/"],"_resolved":"https://registry.npmjs.org/ng-annotate-webpack-plugin/-/ng-annotate-webpack-plugin-0.3.0.tgz","_shasum":"2e7f5e29c6a4ce26649edcb06c1213408b35b84a","_spec":"ng-annotate-webpack-plugin@^0.3.0","_where":"C:\\Users\\zdruk\\Documents\\cashier-ui","author":{"name":"Žygimantas Drukteinis"},"bugs":{"url":"https://github.com/cliechty/ng-annotate-webpack-plugin/issues"},"dependencies":{"ng-annotate-patched":"^1.13.0","webpack-core":"^0.6.9"},"deprecated":false,"description":"webpack plugin that runs ng-annotate on your bundles","homepage":"https://github.com/cliechty/ng-annotate-webpack-plugin","keywords":["webpack","ng-annotate","angular"],"license":"MIT","main":"index.js","name":"@advbet/ng-annotate-webpack-plugin","repository":{"type":"git","url":"git+https://github.com/advbet/ng-annotate-webpack-plugin.git"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"version":"0.5.0","gitHead":"f6b9bbf8f796a3b14cdd58ec0283591c1b0dbaa8","_nodeVersion":"12.22.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-hoNdn4sd5JY/+fSYNtDVmQirxA1BKolCfcdhSGLs6DXXUvb8Ym9IXSvne1cxgEzGgqT9I3RVMl17VRshD0EVeg==","shasum":"4e5e0f46664c604076737b21d128bf28669374ec","tarball":"https://registry.npmjs.org/@advbet/ng-annotate-webpack-plugin/-/ng-annotate-webpack-plugin-0.5.0.tgz","fileCount":4,"unpackedSize":7380,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFAraf1b42wy56zc3ANhNyKYfd1xNv4k7/HaxXmx8NmiAiEA7XGxltHb8qaG+jG50dgB7eGj6Ap9Uwm5u8YzJrTJAdU="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJivC0nACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpKdg/+JM8zR769P/kVoRW8UkKA5egMXPJmj/f/B2BuHVXJLEvaSlgj\r\n0IWN+r/fpY/s87LP8yRkXpMym/UtexPEFSuUoZCQAtqfN46yVn9Bpma/CJs3\r\nXnF1wpaddwCmHd8Wb/CuU3R4FNOt5SijpoLHzQGAkBAZnqNUHGbwqDZyvJdq\r\nTLRWjEnbc6187o0PacDyJhiSZ79ZTcFIWCGf6SE3Sq1yBkayUHkG8QjTbAHw\r\nwWHwMJtNW+KJgQVk+jBLcXIpBzHoBwaRdjnt2g5RtMlNVydhxbEzLvwRlt6y\r\nhYE2D4Jv15xQsc4aopq/92DE9LXP3WSCADEi3zJldlo/1QgnnlwP4fxQrAO5\r\n9ajtEHzROXKx4NtKf+5syXxuglTLLlnSQW7swVpX2we9NjjA20KvfG94BPPU\r\n1fTD5Mn84EACHcqbAD518eGZkPF3nRQVoFawvEJptysctqrjTtc9aK7FrLGH\r\nVC9Ry5ccVwfhuJN/z/2IgK99HKWmFDp8jBEkTYMiqj+5PFJP/kr3pn8koOS/\r\nmOqutQSnDk6sShshbQ/7eXAYVqkRISlC+7sV11z6ML3E9B6dxScrMmI/SBI/\r\nx3Egp/5aGELM+cqIR/EdqN9FVB+bMGO7kRclWWVkdoDVA5lNQX2Bga0GIEgf\r\nhfwpkYpqPAgREyaG1Ys64h1uPI6mDShKLk0=\r\n=CDbd\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"aardvark-technologies","email":"root@adv.bet"},"directories":{},"maintainers":[{"name":"aardvark-technologies","email":"root@adv.bet"},{"name":"zygimantas.drukteinis.adv","email":"zygimantas.drukteinis@adv.bet"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ng-annotate-webpack-plugin_0.5.0_1656499494872_0.5036133172239925"},"_hasShrinkwrap":false}},"time":{"created":"2022-06-29T10:44:54.818Z","0.5.0":"2022-06-29T10:44:55.061Z","modified":"2022-06-29T10:44:55.203Z"},"maintainers":[{"name":"aardvark-technologies","email":"root@adv.bet"},{"name":"zygimantas.drukteinis.adv","email":"zygimantas.drukteinis@adv.bet"}],"description":"webpack plugin that runs ng-annotate on your bundles","homepage":"https://github.com/cliechty/ng-annotate-webpack-plugin","keywords":["webpack","ng-annotate","angular"],"repository":{"type":"git","url":"git+https://github.com/advbet/ng-annotate-webpack-plugin.git"},"author":{"name":"Žygimantas Drukteinis"},"bugs":{"url":"https://github.com/cliechty/ng-annotate-webpack-plugin/issues"},"license":"MIT","readme":"ng-annotate-webpack-plugin\r\n==========================\r\n\r\nng-annotate is deprecated. Consider using https://github.com/schmod/babel-plugin-angularjs-annotate instead.\r\n\r\n---\r\n\r\nWebPack plugin that runs [ng-annotate](https://github.com/olov/ng-annotate) on your bundles\r\n\r\nBased on [ngmin-webpack-plugin](https://github.com/jeffling/ngmin-webpack-plugin)\r\n\r\n# Usage\r\nIn webpack.config.js:\r\n```javascript\r\nvar webpack = require('webpack');\r\nvar ngAnnotatePlugin = require('ng-annotate-webpack-plugin');\r\n\r\nmodule.exports = {\r\n    /// ... rest of config\r\n    plugins: [\r\n        new ngAnnotatePlugin()\r\n    ]\r\n}\r\n```\r\nTo modify the default plugin options or to add options for `ng-annotate`:\r\n```javascript\r\nvar webpack = require('webpack');\r\nvar ngAnnotatePlugin = require('ng-annotate-webpack-plugin');\r\n\r\nmodule.exports = {\r\n    /// ... rest of config\r\n    plugins: [\r\n        new ngAnnotatePlugin({\r\n            add: true,\r\n            // other ng-annotate options here\r\n        })\r\n    ]\r\n}\r\n```\r\n\r\nSince version 0.4.1: switched to maintained fork of `ng-annotate`: [ng-annotate-patched](https://github.com/bluetech/ng-annotate-patched) to benefit from its improvements.\r\n\r\n\r\nSince version 0.4.0: for performance reasons, chunks where the name starts with `vendors~` are not\r\nannotated. To customize this behavior, set the option `annotateChunk` to a method that returns\r\n`true` if a chunk should be annotated:\r\n\r\n```javascript\r\nvar webpack = require('webpack');\r\nvar ngAnnotatePlugin = require('ng-annotate-webpack-plugin');\r\n\r\nmodule.exports = {\r\n    /// ... rest of config\r\n    plugins: [\r\n        new ngAnnotatePlugin({\r\n            add: true,\r\n            annotateChunk: (chunk) => !chunk.name || !chunk.name.startsWith(\"vendors~\"),\r\n            // other ng-annotate options here\r\n        })\r\n    ]\r\n}\r\n```\r\n\r\nIf you are looking for a loader instead of a plugin, use [ng-annotate-loader](https://github.com/huston007/ng-annotate-loader) instead\r\n","readmeFilename":"README.md"}