Skip to content

Instantly share code, notes, and snippets.

@apipkin
Created March 23, 2015 13:29
Show Gist options
  • Save apipkin/1aac8154e64b4565c1f5 to your computer and use it in GitHub Desktop.
Save apipkin/1aac8154e64b4565c1f5 to your computer and use it in GitHub Desktop.
console.info('Webpak Config');
module.exports = {
entry: './src/js/app.jsx',
output: {
filename: 'app.js',
path: __dirname + '/public/js/'
},
module: {
loader: [
{
test: /\.jsx$/,
loader: 'jsx?insertPragma=React.DOM&harmony'
}
]
},
externals: {
'react': 'React'
},
resolve: {
extensions: ['', '.js', '.jsx']
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment