Skip to content

Instantly share code, notes, and snippets.

@rohanBagchi
Last active May 13, 2017 19:36
Show Gist options
  • Save rohanBagchi/877a0e8bd2f4b8d80d7aa40ddfc22a81 to your computer and use it in GitHub Desktop.
Save rohanBagchi/877a0e8bd2f4b8d80d7aa40ddfc22a81 to your computer and use it in GitHub Desktop.
How to build React using Webpack package.json
{
"name": "webpack-poc",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/rohanBagchi/webpack-poc.git"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/rohanBagchi/webpack-poc/issues"
},
"homepage": "https://github.com/rohanBagchi/webpack-poc#readme",
"devDependencies": {
"webpack": "^2.5.1"
},
"dependencies": {
"babel-core": "^6.24.1",
"babel-loader": "^7.0.0",
"babel-preset-react": "^6.24.1",
"react": "^15.5.4",
"react-dom": "^15.5.4"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment