// Note: this example requires babel-loader
// npm install babel-loader

var path = require('path');

module.exports = {
	context: __dirname, 
    entry: './file-to-annotate',
    output: {
        path: __dirname + '/dist',
        filename: 'build.js'
    },
	resolveLoader: {
    	fallback: path.resolve(__dirname, '../../')
	},
    module: {
	    loaders: [
			{test: /\.js$/, loaders: ['loader', 'babel']},
    	]
	},
  devtool: 'source-map'
}
// Note: this example babel and equires babel-loader
// npm install babel babel-loader

var path = require('path');

module.exports = {
	context: __dirname, 
    entry: './file-to-annotate',
    output: {
        path: __dirname + '/dist',
        filename: 'build.js'
    },
	resolveLoader: {
    	fallback: path.resolve(__dirname, '../../')
	},
    module: {
	    loaders: [
			{test: /\.js$/, loaders: ['loader', 'babel']},
    	]
	},
  devtool: 'source-map'
}

Update babel example to take peer dependency to babel into account.
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.
