Skip to content

Instantly share code, notes, and snippets.

@chuck0523
Created June 28, 2016 00:27
Show Gist options
  • Save chuck0523/980ed31dfb0d3dbfc85bd6741571fe1c to your computer and use it in GitHub Desktop.
Save chuck0523/980ed31dfb0d3dbfc85bd6741571fe1c to your computer and use it in GitHub Desktop.
const webpack = require('webpack')
const config = {
entry: {
client: "./src/client.js"
},
output: {
filename: '[name].js',
path: './public'
},
module: {
loaders: [
{
test: /.jsx?$/,
loaders: ['babel'],
exclude: /node_modules/
}
]
}
}
module.exports = config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment