Skip to content

Instantly share code, notes, and snippets.

@chodorowicz
Created June 19, 2015 09:06
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 chodorowicz/21d30b13db1910d3a444 to your computer and use it in GitHub Desktop.
Save chodorowicz/21d30b13db1910d3a444 to your computer and use it in GitHub Desktop.
webpack react
module.exports = {
entry: [ __dirname + '/app/js/App.jsx'],
output: {
path: __dirname + '/web',
filename: 'bundle.js'
},
module: {
loaders: [{
test: /\.jsx$/,
loader: 'jsx-loader?insertPragma=React.DOM&harmony'
}]
},
devtool: "#inline-source-map",
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment