Skip to content

Instantly share code, notes, and snippets.

@ahmedam55
Created July 10, 2017 17:39
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 ahmedam55/6ec89bffab8391f6d4a0ddb14bc968a8 to your computer and use it in GitHub Desktop.
Save ahmedam55/6ec89bffab8391f6d4a0ddb14bc968a8 to your computer and use it in GitHub Desktop.
var path = require('path');
module.exports = {
entry: path.resolve(__dirname, 'src/index.js'),
output: {
filename: 'bundle.js',
path: path.resolve(__dirname, 'dist'),
},
module: {
loaders: [{
test: /\.js$/,
loader: 'babel-loader'
}]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment