Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
const webpack = require('webpack')
const path = require('path')
const config = {
entry: {
client: ["./src/client.js"]
},
output: {
filename: '[name].js',
path: path.join(__dirname, 'public'),
publicPath: '/public/'
},
module: {
loaders: [
{
test: /.jsx?$/,
loaders: ['babel'],
exclude: /node_modules/
}
]
},
plugins: []
}
module.exports = config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment