Skip to content

Instantly share code, notes, and snippets.

@chuck0523
Created August 13, 2016 02:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chuck0523/6627b235ff4bdfdedeeda0a055e01eb2 to your computer and use it in GitHub Desktop.
Save chuck0523/6627b235ff4bdfdedeeda0a055e01eb2 to your computer and use it in GitHub Desktop.
module.exports = {
entry: './index.js',
output: {
path: './',
filename: 'bundle.js'
},
module: {
loaders: [
{
test: /.js?$/,
loader: 'babel',
exclude: 'node_modules'
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment