Premium Only Content
							This video is only available to Rumble Premium subscribers. Subscribe to
							enjoy exclusive content and ad-free viewing.
					
								 
			Webpack configurations setup for separate environment | React Tutorials
								4 years ago							
						
														16						
								Setup Webpack configurations for a separate environment
------------------------------------------------------------------------------------------
Steps need to do…..
1. First need to setup webpack environment
2. In package.json file, update script section with below lines
"scripts":
"start": "webpack-dev-server --open --config webpack.dev.js",
"build": "webpack --config webpack.prod.js"
3. Add 3 files
a) webpack.prod.js // for production environment
b) webpack.dev.js // for development environment
c) webpack.common.js // for common properties what we use in both environment
4. Use ‘npm install’ to add below plugins
npm install Path,
npm install webpack-merge,
npm install html-webpack-plugin
Loading  comments...				
			
		- 	
				 12:43 12:43TechnicalTalk4 years agoWebpack setup and build component | React Tutorials4
- 	
				 14:44 14:44TechnicalTalk4 years agoRouting In ReactJS | React Tutorials46
- 	
				 9:15 9:15TechnicalTalk4 years agoComponent lifecycle in ReactJS | React Tutorials13
- 	
				 5:37 5:37KTNV4 years agoCreating a Healthy Environment16
- 	
				 0:18 0:18robrassy4 years ago $0.04 earnedRudder prototype setup83
- 	
				 0:59 0:59MoneyT0ks4 years agoKeep it separate18
- 	
				 1:04:50 1:04:50TheCrucible6 hours agoThe Extravaganza! EP: 63 with Guest Co-Host: Rob Noerr (10/30/25)82.8K6
- 	
				 LIVE LIVEGritsGG5 hours agoQuads! #1 Most Wins 3880+!98 watching
- 	
				 2:51:31 2:51:31Spartan6 hours agoFirst playthrough of First Berserker Khazan24.5K1
- 	
				 5:48:29 5:48:29The Rabble Wrangler20 hours agoBattlefield 6 - RedSec with The Best in the West26.4K1