andrey-skl / ng-annotate-loader

Webpack loader to annotate angular applications
MIT License
120 stars 28 forks source link

Update babel example to take peer dependency to babel into account. #15

Closed britter closed 8 years ago

britter commented 8 years ago

Since npm 3 peer dependencies will not be installed automatically (which was the default in npm 2.x). For this reason, running npm install babel-loader in examples/babel will throw an error when running with npm 3. This change simply updates the comment in webpack config to reflect the need to install peer dependencies manually in npm 3.