webamp/webpack.config.js

19 lines
441 B
JavaScript
Raw Normal View History

2016-05-02 02:52:15 +00:00
module.exports = {
entry: __dirname,
output: {
filename: "bundle.js"
},
module: {
loaders: [
{
test: /\.jsx?$/,
exclude: /(node_modules|bower_components)/,
loader: 'babel', // 'babel-loader' is also a legal name to reference
query: {
presets: ['react', 'es2015']
}
}
]
}
}