Skip to content

Instantly share code, notes, and snippets.

@loopDelicious
Created August 11, 2016 16:32
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 loopDelicious/4cd09743194635018054b35a0ff5b8d9 to your computer and use it in GitHub Desktop.
Save loopDelicious/4cd09743194635018054b35a0ff5b8d9 to your computer and use it in GitHub Desktop.
module.exports = {
entry: "./app/components/Main.js",
output: {
filename: "public/bundle.js"
},
module: {
loaders: [
{
test: /\.jsx?$/,
exclude: /(node_modules|bower_components)/,
loader: 'babel',
query: {
presets: ['react', 'es2015']
}
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment