react-flex-layout
Version:
Simple layouts for full screen React applications
20 lines (19 loc) • 502 B
JavaScript
module.exports = {
entry: ['webpack/hot/dev-server?http://localhost:8080', './dist/dev.jsx'],
output: {
path: './dist',
filename: 'dev.js'
},
module: {
loaders: [
{ test: /\.js$/, exclude: /node_modules/, loader: 'babel-loader?optional=runtime'},
{ test: /\.jsx$/, exclude: /node_modules/, loader: 'babel-loader?optional=runtime'},
{ test: /\.css$/, loader: 'style!css' }
]
},
devServer: {
contentBase: './dist',
hot: true,
inline: true
}
};