Skip to content

Commit 3c85a29

Browse files
committed
Update babel example to take peer dependency to babel into account.
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.
1 parent 93b5608 commit 3c85a29

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/babel/webpack.config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// Note: this example requires babel-loader
2-
// npm install babel-loader
1+
// Note: this example babel and equires babel-loader
2+
// npm install babel babel-loader
33

44
var path = require('path');
55

@@ -19,4 +19,4 @@ module.exports = {
1919
]
2020
},
2121
devtool: 'source-map'
22-
}
22+
}

0 commit comments

Comments
 (0)