{"library":"ng-annotate-loader","title":"ng-annotate-loader","description":"A webpack loader that automatically adds AngularJS dependency injection annotations to your source code using ng-annotate. Version 0.7.0 is the latest stable release. It generates source maps by default and supports chaining with other loaders like babel-loader. Key features include passing ng-annotate options (add, map, etc.), using ng-annotate plugins, and specifying a custom ng-annotate fork. This loader is specific to AngularJS (1.x) and webpack 1.x/2.x/3.x; for newer Angular versions, consider using the Angular CLI or other DI mechanisms.","language":"javascript","status":"active","last_verified":"Sat Apr 25","install":{"commands":["npm install ng-annotate-loader"],"cli":null},"imports":["import ngAnnotateLoader from 'ng-annotate-loader'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"// webpack.config.js\nmodule.exports = {\n  module: {\n    rules: [\n      {\n        test: /\\.js$/,\n        use: [\n          {\n            loader: 'ng-annotate-loader',\n            options: {\n              add: true,\n              map: false\n            }\n          },\n          'babel-loader'\n        ]\n      }\n    ]\n  }\n};","lang":"javascript","description":"Configures webpack to run ng-annotate-loader before babel-loader on JavaScript files, enabling automatic AngularJS DI annotation.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}