Skip to content

Instantly share code, notes, and snippets.

@doug2k1
Last active August 31, 2017 19:34
Show Gist options
  • Save doug2k1/d318fc1f1bf80a3518c0055d03dcf526 to your computer and use it in GitHub Desktop.
Save doug2k1/d318fc1f1bf80a3518c0055d03dcf526 to your computer and use it in GitHub Desktop.
const path = require('path')
module.exports = {
entry: './src/index.js',
output: {
path: path.resolve('dist'),
filename: 'bundle.js'
},
module: {
rules: [
{
test: /\.js$/,
loader: 'babel-loader'
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment