Correct build rule to include production mode
Not that it wasn't building in production before, but this means it no longer warns it's using the default values
This commit is contained in:
		
							parent
							
								
									25e9353f22
								
							
						
					
					
						commit
						4ce5481fd0
					
				| @ -4,7 +4,7 @@ | ||||
|   "private": true, | ||||
|   "scripts": { | ||||
|     "test": "echo \"Error: no test specified\" && exit 1", | ||||
|     "build": "webpack && mkdir -p dist && cp src/robots.txt src/index.html src/style.css src/favicon.ico dist/", | ||||
|     "build": "webpack --mode production && mkdir -p dist && cp src/robots.txt src/index.html src/style.css src/favicon.ico dist/", | ||||
|     "build-dev": "webpack --mode development && mkdir -p dist && cp src/robots.txt src/index.html src/style.css src/favicon.ico dist/" | ||||
|   }, | ||||
|   "devDependencies": { | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user