2022-02-13 13:45:21 -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
|
|
|
|
{
|
2022-03-28 18:28:54 -04:00
|
|
|
"name": "SPFx 1.14.0",
|
|
|
|
"image": "docker.io/m365pnp/spfx:1.14.0",
|
2022-02-13 13:45:21 -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"
|
|
|
|
}
|