Skip to content

Instantly share code, notes, and snippets.

@panduroab
Created December 3, 2015 20:37
Show Gist options
  • Select an option

  • Save panduroab/75acb8ad7dc39abe21bf to your computer and use it in GitHub Desktop.

Select an option

Save panduroab/75acb8ad7dc39abe21bf to your computer and use it in GitHub Desktop.
module.exports = {
entry: './src/index.js',
output: {
path: './dist',
filename: 'bundle.js',
publicPath: '/'
},
devServer: {
inline: true,
contentBase: './dist'
},
module: {
loaders: [
{
test: /\.jsx?$/,
exclude: /(node_modules)/,
loader: 'babel',
query: {
presets: ['es2015', 'react']
}
}
]
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment