react-timeline-component
Version:
SVG Timeline built in react. For showing dates on a line.
25 lines (24 loc) • 491 B
JavaScript
var webpack = require('webpack')
module.exports = {
entry: ['./app/main.js'],
output: {
path: './build',
filename: 'bundle.js'
},
module: {
loaders: [
{
test: /\.js$/,
exclude: /(node_modules)/,
loaders: ['react-hot', 'babel?optional[]=runtime&stage=0']
},
{
test: /\.css$/,
loaders: ['style','css']
}
]
},
plugins: [
new webpack.ContextReplacementPlugin(/moment[\/\\]locale$/, /en/)
]
};