Skip to content

Instantly share code, notes, and snippets.

@sirdarthvader
Last active December 29, 2018 22:53
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save sirdarthvader/46994bc342a61f011972a4c73446956a to your computer and use it in GitHub Desktop.
Webapck react setup without using any CLI
{
"name": "webpack-react-setup",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"start": "webpack-dev-server --mode development --open --hot",
"build": "webpack --mode production"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ashishcodes4/webpack-react-setup.git"
},
"author": "Ashish Singh",
"license": "MIT",
"bugs": {
"url": "https://github.com/ashishcodes4/webpack-react-setup/issues"
},
"homepage": "https://github.com/ashishcodes4/webpack-react-setup#readme",
"dependencies": {
"react": "^16.7.0",
"react-dom": "^16.7.0"
},
"devDependencies": {
"@babel/core": "^7.2.2",
"@babel/preset-env": "^7.2.3",
"@babel/preset-react": "^7.0.0",
"html-webpack-plugin": "^3.2.0",
"webpack": "^4.28.3",
"webpack-cli": "^3.1.2",
"webpack-dev-server": "^3.1.14"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment