2023-02-23 15:34:37 +00:00
|
|
|
{
|
2023-03-02 20:48:37 +00:00
|
|
|
"name": "Svelte",
|
2023-02-23 15:36:28 +00:00
|
|
|
"build": {
|
|
|
|
"dockerfile": "../examples.Dockerfile"
|
|
|
|
},
|
2023-02-23 15:34:37 +00:00
|
|
|
|
2023-02-23 15:36:28 +00:00
|
|
|
"workspaceFolder": "/workspaces/astro/examples/framework-svelte",
|
2023-02-23 15:34:37 +00:00
|
|
|
|
2023-02-23 15:36:28 +00:00
|
|
|
"portsAttributes": {
|
2023-08-01 15:31:42 +00:00
|
|
|
"4321": {
|
2023-02-23 15:36:28 +00:00
|
|
|
"label": "Application",
|
|
|
|
"onAutoForward": "openPreview"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2023-08-01 15:31:42 +00:00
|
|
|
"forwardPorts": [4321],
|
2023-02-23 15:36:28 +00:00
|
|
|
|
|
|
|
"postCreateCommand": "pnpm install && cd /workspaces/astro && pnpm run build",
|
|
|
|
|
|
|
|
"waitFor": "postCreateCommand",
|
|
|
|
|
|
|
|
"postAttachCommand": {
|
|
|
|
"Server": "pnpm start --host"
|
|
|
|
},
|
|
|
|
|
|
|
|
"customizations": {
|
|
|
|
"codespaces": {
|
|
|
|
"openFiles": ["src/pages/index.astro"]
|
2023-02-23 15:34:37 +00:00
|
|
|
},
|
2023-02-23 15:36:28 +00:00
|
|
|
"vscode": {
|
|
|
|
"extensions": ["astro-build.astro-vscode", "esbenp.prettier-vscode"]
|
2023-02-23 15:34:37 +00:00
|
|
|
}
|
|
|
|
}
|
2023-02-23 15:36:28 +00:00
|
|
|
}
|