{"_id":"@augurysys/ng-annotate-webpack-plugin","_rev":"1-9f06ffab3e2c528f0f5f4c11e2e9feb3","name":"@augurysys/ng-annotate-webpack-plugin","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@augurysys/ng-annotate-webpack-plugin","version":"1.0.0","description":"webpack plugin that runs ng-annotate on your bundles","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/augurysys/ng-annotate-webpack-plugin.git"},"keywords":["webpack","ng-annotate","angular"],"author":{"name":"Kiril Reznik"},"license":"MIT","bugs":{"url":"https://github.com/augurysys/ng-annotate-webpack-plugin/issues"},"homepage":"https://github.com/augurysys/ng-annotate-webpack-plugin","dependencies":{"ng-annotate":"^1.2.2","webpack-core":"^0.6.9"},"gitHead":"27f2666e51d82b6b3576bf90fd27cd26acd5ab95","_id":"@augurysys/ng-annotate-webpack-plugin@1.0.0","_nodeVersion":"14.18.1","_npmVersion":"6.14.15","dist":{"integrity":"sha512-lJG+20qjhH/ai6cq3Wp1CbhdMrDgvgvWc2buRsDuynD9bjoOUdUQuH/aGbE8rT1WTC0FyXSn17B7qSdDxnClzQ==","shasum":"5d7503b7fc7842091428a59872baa9250064ecda","tarball":"https://registry.npmjs.org/@augurysys/ng-annotate-webpack-plugin/-/ng-annotate-webpack-plugin-1.0.0.tgz","fileCount":4,"unpackedSize":5615,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh3U8cCRA9TVsSAnZWagAAFekP/i4ElUXDGjtrxoANSFCQ\nk4TBQ0hp/zX7gfbcVPFG3VriTYowXj5ckzvDz1dFdME4TvmhVwjsu5cujiIp\nhENWqmuNXOoIOF8GomUd+YUG1btsQEE+IMLrjY+FtwMMCbEv/1um2OD2U+H1\nMb4yq5yFlWLLpNOB6jFNf2BD/ipov/03tUtQpNI047OlToXaxUIINZZdD6xG\nV/p26Hw3VdgbAPaimMJkneY7R4X+S/FCYgKADvHvGAiuQH+K152T7yca8732\nkhLf3tUsZu2LDYLf8ti0AWHhvTpM2BnJhIGQ1PLIuVc/3tNd5+lg2Ez9AxIF\nCg/J94lZTFemr1mqIef6nzMUBVAchwVhLhOYfHfR8TAXPEIYy6a2ATNoYbji\n/JrUXcD4njy3AXEn8PeIr8Fw+rlHGFPzcLrzHNrAecpRCalSTYTtBiOi9dIP\n7R2xgMRMiwX/8CKfb/tsY4ttLfzJHx1izc2ROZQkM6kOlCmonE9BVKC6FWWc\nHn6mp+iTStePekWHOMMXh/wiAyT3wa0acfp5RCbb0mvLO7YJ1gcqcesgWbMD\nTOeR7G4UMmKWmGP7GrsXiow62e51BVAx7MFJDHu6kgRYCWrRWGa4d1B3392/\n5nsSXqtEWfx5GEIl6oESpBqHAc21uKhkfD2LULq6Qy012v7uaur/kpANfNS5\nO9Nw\r\n=oKAn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDgmPy2dp7kcpQr4jRwmHySH8wdrv1/NTqG4b1u/GA3nwIgKI57y5W3yLDcJR/T5dAf1flRAz8nIZEBLPUk8+rL5rk="}]},"_npmUser":{"name":"kreznik-augury","email":"kreznik@augury.com"},"directories":{},"maintainers":[{"name":"kreznik-augury","email":"kreznik@augury.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ng-annotate-webpack-plugin_1.0.0_1641893660192_0.9112893676817309"},"_hasShrinkwrap":false}},"time":{"created":"2022-01-11T09:34:20.118Z","1.0.0":"2022-01-11T09:34:20.326Z","modified":"2022-04-04T16:23:52.369Z"},"maintainers":[{"name":"kreznik-augury","email":"kreznik@augury.com"}],"description":"webpack plugin that runs ng-annotate on your bundles","homepage":"https://github.com/augurysys/ng-annotate-webpack-plugin","keywords":["webpack","ng-annotate","angular"],"repository":{"type":"git","url":"git+https://github.com/augurysys/ng-annotate-webpack-plugin.git"},"author":{"name":"Kiril Reznik"},"bugs":{"url":"https://github.com/augurysys/ng-annotate-webpack-plugin/issues"},"license":"MIT","readme":"ng-annotate-webpack-plugin\n==========================\n\nA fork of https://github.com/jeffling/ng-annotate-webpack-plugin\n\n---\n\nWebPack plugin that runs [ng-annotate](https://github.com/olov/ng-annotate) on your bundles\n\nBased on [ngmin-webpack-plugin](https://github.com/jeffling/ngmin-webpack-plugin)\n\n# Usage\n\nIn webpack.config.js:\n\n```javascript\nvar webpack = require('webpack');\nvar ngAnnotatePlugin = require('ng-annotate-webpack-plugin');\n\nmodule.exports = {\n    /// ... rest of config\n    plugins: [\n        new ngAnnotatePlugin()\n    ]\n}\n```\n\nTo modify the default plugin options or to add options for `ng-annotate`:\n\n```javascript\nvar webpack = require('webpack');\nvar ngAnnotatePlugin = require('ng-annotate-webpack-plugin');\n\nmodule.exports = {\n    /// ... rest of config\n    plugins: [\n        new ngAnnotatePlugin({\n            add: true,\n            // other ng-annotate options here\n        })\n    ]\n}\n```\n\nSince version 0.4.0: for performance reasons, chunks where the name starts with `vendors~` are not annotated. To\ncustomize this behavior, set the option `annotateChunk` to a method that returns\n`true` if a chunk should be annotated:\n\n```javascript\nvar webpack = require('webpack');\nvar ngAnnotatePlugin = require('ng-annotate-webpack-plugin');\n\nmodule.exports = {\n    /// ... rest of config\n    plugins: [\n        new ngAnnotatePlugin({\n            add: true,\n            annotateChunk: (chunk) => !chunk.name || !chunk.name.startsWith(\"vendors~\"),\n            // other ng-annotate options here\n        })\n    ]\n}\n```\n","readmeFilename":"README.md"}