react-snowf
Version:
Snowfall component for React -- Let it snow on your page! ❄
21 lines (20 loc) • 378 B
JavaScript
var webpack = require('webpack');
var path = require('path');
module.exports = {
entry: './src/app.js',
output: {
path: path.resolve(__dirname, './build'),
publicPath: '/build/',
filename: 'bundle.js',
},
module: {
loaders: [
{ test: /\.js$/, loader: 'jsx-loader!babel-loader'}
]
},
devServer: {
port: 8888,
historyApiFallback: true,
inline: true
}
};