Skip to content

Instantly share code, notes, and snippets.

@devrchancay
Last active July 31, 2016 21:36
Show Gist options
  • Select an option

  • Save devrchancay/88cbbb38980466c2d94e120c045a38ff to your computer and use it in GitHub Desktop.

Select an option

Save devrchancay/88cbbb38980466c2d94e120c045a38ff to your computer and use it in GitHub Desktop.
Webpack configuración básica.
var path = require('path');
module.exports = {
entry: './src/main.js',
output: {
path: __dirname,
filename: 'bundle.js'
},
module: {
loaders: [
{ test: path.join(__dirname, 'src'),
loader: 'babel-loader' }
]
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment