diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..b423944 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,24 @@ +// For format details, see https://aka.ms/devcontainer.json. For config options, see the +// README at: https://github.com/devcontainers/templates/tree/main/src/typescript-node +{ + "name": "Angular Gzweb", + // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile + "image": "mcr.microsoft.com/devcontainers/typescript-node:0-20", + // Use 'postCreateCommand' to run commands after the container is created. + "postCreateCommand": "ng build", + // Features to add to the dev container. More info: https://containers.dev/features. + "features": { + "ghcr.io/devcontainers-contrib/features/angular-cli:2": { + "version": "latest" + } + }, + // Configure tool-specific properties. + "customizations": { + "vscode": { + "extensions": [ + "Angular.ng-template", + "ms-vscode.vscode-typescript-next" + ] + } + } +} diff --git a/angular.json b/angular.json index 2e34beb..edf3fa9 100644 --- a/angular.json +++ b/angular.json @@ -41,7 +41,7 @@ { "type": "initial", "maximumWarning": "500kb", - "maximumError": "1mb" + "maximumError": "2mb" }, { "type": "anyComponentStyle",