Created
June 19, 2015 09:06
-
-
Save chodorowicz/21d30b13db1910d3a444 to your computer and use it in GitHub Desktop.
webpack react
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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