Made npm build create output dir if non existant
This commit is contained in:
		
							parent
							
								
									365be630b4
								
							
						
					
					
						commit
						dccb4e085b
					
				| @ -4,7 +4,7 @@ | |||||||
|   "private": true, |   "private": true, | ||||||
|   "scripts": { |   "scripts": { | ||||||
|     "test": "echo \"Error: no test specified\" && exit 1", |     "test": "echo \"Error: no test specified\" && exit 1", | ||||||
|     "build": "webpack && cp src/robots.txt src/index.html src/style.css src/favicon.ico dist/" |     "build": "webpack && mkdir dist && cp src/robots.txt src/index.html src/style.css src/favicon.ico dist/" | ||||||
|   }, |   }, | ||||||
|   "devDependencies": { |   "devDependencies": { | ||||||
|     "webpack": "^5.73.0", |     "webpack": "^5.73.0", | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user