Skip to content

Instantly share code, notes, and snippets.

@mike-douglas
Last active November 12, 2015 21:25
Show Gist options
  • Save mike-douglas/671fe9c2faa1cf0462d8 to your computer and use it in GitHub Desktop.
Save mike-douglas/671fe9c2faa1cf0462d8 to your computer and use it in GitHub Desktop.
Simple Webpack config for ES6 projects
module.exports = {
entry: './app.jsx',
output: {
filename: 'bundle.js',
},
module: {
loaders: [
{
test: /\.jsx?$/,
loader: 'babel-loader'
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment