supergroup
Version:
Nested groups on arrays of objects where groups are Strings that know what you want them to know about themselves and their relatives.
26 lines (24 loc) • 495 B
JavaScript
;
var webpack = require('webpack');
module.exports = {
entry: [
//'babel-polyfill',
'mocha!./index.js'],
output: {
path: __dirname,
filename: 'bundle.js'
},
module: {
loaders: [{
test: /\.(jsx?|es6)$/,
loader: 'babel-loader',
exclude: /node_modules/,
query: {
presets: ['es2015', 'react', 'stage-0'],
plugins: [["babel-plugin-transform-builtin-extend", {
globals: ["Array"]
}]]
}
}]
}
};