/webpack.config.js
module.exports = {
entry: "./src/main",
output: {
path: __dirname + '/dist',
filename: "app.js"
},
module: {
loaders: [
{
test: /\.js$/,
exclude: /node_modules/,
loader: "babel-loader",
query: {
blacklist: "strict"
}
}
]
},
devtool: 'source-map'
};