2022-02-15 23:34:24 -05:00
|
|
|
// For more information on how to run this SPFx project in a VS Code Remote Container, please visit https://aka.ms/spfx-devcontainer
|
|
|
|
{
|
2023-06-13 09:42:14 -04:00
|
|
|
"name": "SPFx 1.17.0",
|
|
|
|
"image": "docker.io/m365pnp/spfx:1.17.0",
|
2022-11-07 22:43:55 -05:00
|
|
|
// Set *default* container specific settings.json values on container create.
|
|
|
|
"settings": {},
|
|
|
|
// Add the IDs of extensions you want installed when the container is created.
|
|
|
|
"extensions": [
|
|
|
|
"editorconfig.editorconfig",
|
|
|
|
"dbaeumer.vscode-eslint"
|
|
|
|
],
|
|
|
|
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
|
|
|
"forwardPorts": [
|
|
|
|
4321,
|
|
|
|
35729
|
|
|
|
],
|
|
|
|
"portsAttributes": {
|
|
|
|
"4321": {
|
|
|
|
"protocol": "https",
|
|
|
|
"label": "Manifest",
|
|
|
|
"onAutoForward": "silent",
|
|
|
|
"requireLocalPort": true
|
|
|
|
},
|
|
|
|
// Not needed for SPFx>= 1.12.1
|
|
|
|
// "5432": {
|
|
|
|
// "protocol": "https",
|
|
|
|
// "label": "Workbench",
|
|
|
|
// "onAutoForward": "silent"
|
|
|
|
// },
|
|
|
|
"35729": {
|
|
|
|
"protocol": "https",
|
|
|
|
"label": "LiveReload",
|
|
|
|
"onAutoForward": "silent",
|
|
|
|
"requireLocalPort": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"postCreateCommand": "bash .devcontainer/spfx-startup.sh",
|
|
|
|
"remoteUser": "node"
|
|
|
|
}
|