react-calendar-heatmap
Version:
A calendar heatmap component, inspired by github's contribution graph
32 lines (31 loc) • 558 B
JavaScript
module.exports = {
context: __dirname,
entry: './src/index.jsx',
output: {
path: './build',
filename: 'index.js',
library: 'CalendarHeatmap',
libraryTarget: 'var'
},
resolve: {
extensions: ['', '.js', '.jsx'],
modulesDirectories: ['node_modules']
},
externals: {
'react': {
root: 'React',
commonjs2: 'react',
commonjs: 'react',
amd: 'react'
}
},
module: {
loaders: [
{
test: /\.jsx?$/,
exclude: /(node_modules)/,
loader: 'babel'
}
]
}
};