Skip to content

Instantly share code, notes, and snippets.

@DamianMullins
Last active September 6, 2017 08:03
Show Gist options
  • Save DamianMullins/cf2a11b01d9e14f65add055e71eb8bf4 to your computer and use it in GitHub Desktop.
Save DamianMullins/cf2a11b01d9e14f65add055e71eb8bf4 to your computer and use it in GitHub Desktop.
React Sessions sample Webpack config
var path = require('path')
module.exports = {
entry: './index.js',
output: {
filename: 'bundle.js' // Compiled bundle filename
},
module: {
rules: [
{
use: 'babel-loader',
test: /\.js$/,
exclude: /node_modules/
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment