devcontainer
This commit is contained in:
		
							
								
								
									
										28
									
								
								.devcontainer/devcontainer.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										28
									
								
								.devcontainer/devcontainer.json
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,28 @@ | ||||
| { | ||||
|   "image": "mcr.microsoft.com/vscode/devcontainers/javascript-node:20", | ||||
|   "hostRequirements": { | ||||
|     "memory": "8gb" | ||||
|   }, | ||||
|   "waitFor": "onCreateCommand", | ||||
|   "updateContentCommand": "yarn", | ||||
|   "postCreateCommand": "", | ||||
|   "postAttachCommand": "yarn dev", | ||||
|   "customizations": { | ||||
|     "codespaces": { | ||||
|       "openFiles": ["data/blog/code-sample.mdx"] | ||||
|     }, | ||||
|     "vscode": { | ||||
|       "settings": { | ||||
|         "editor.formatOnSave": true | ||||
|       }, | ||||
|       "extensions": ["dbaeumer.vscode-eslint", "esbenp.prettier-vscode"] | ||||
|     } | ||||
|   }, | ||||
|   "portsAttributes": { | ||||
|     "3000": { | ||||
|       "label": "Nextjs server", | ||||
|       "onAutoForward": "openPreview" | ||||
|     } | ||||
|   }, | ||||
|   "forwardPorts": [3000] | ||||
| } | ||||
		Reference in New Issue
	
	Block a user