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
- 	
				 LIVE LIVELFA TV17 hours agoLIVE & BREAKING NEWS! | FRIDAY 10/31/252,056 watching
- 	
				 1:36:11 1:36:11The Mel K Show3 hours agoHunters Become the Hunted: A Reckoning Is Finally Coming - 10/31/2515.8K12
- 	
				 1:02:41 1:02:41Outspoken with Dr. Naomi Wolf3 hours ago"The Devil His Due"18.4K1
- 	
				 1:02:27 1:02:27VINCE5 hours agoA Very Trump Halloween | Episode 159 - 10/31/25166K148