Skip to content

Instantly share code, notes, and snippets.

@jasisk
Created September 9, 2015 06:42
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 jasisk/54be18ceb186a118f42d to your computer and use it in GitHub Desktop.
Save jasisk/54be18ceb186a118f42d to your computer and use it in GitHub Desktop.
var path = require('path');
module.exports = {
entry: '.',
output: {
path: path.join(__dirname, 'build'),
publicPath: '/',
filename: 'app.js'
},
module: {
loaders: [
{
test: /\.jsx?$/,
exclude: /node_modules/,
loaders: [ 'babel' ]
}
]
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment