Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,10 @@
],
"outputHashing": "all"
},
"browser-only": {
"server": false,
"ssr": false
},
"development": {
"optimization": false,
"extractLicenses": false,
Expand Down
17 changes: 15 additions & 2 deletions azure-pipelines/igniteui-angular-grid-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,25 @@ stages:
npx --userconfig=$(Build.SourcesDirectory)/.npmrc --legacy-peer-deps ng g @igniteui/angular-schematics:upgrade-packages

- task: Npm@1
displayName: 'npm run build:ci'
displayName: 'npm run build:ci (browser only)'
inputs:
command: custom
workingDir: '$(Build.SourcesDirectory)'
verbose: ${{ parameters.isVerbose }}
customCommand: 'run build:ci'
# IIS serves the static browser output only, so skip the server bundle and
# route prerendering. `production` must be listed explicitly - naming a
# configuration replaces the default one, which would drop output hashing.
customCommand: 'run build:ci -- --configuration production,browser-only'
env:
# The build exhausts the ~7.9GB Microsoft-hosted agent ("Free memory is lower
# than 5%") and intermittently stalls until Azure reports "We stopped hearing
# from agent" - see #171. esbuild runs as a separate Go process, so Node-side
# settings (worker count, heap size) do not bound its memory - GOMEMLIMIT/GOGC
# do. These values are reused from another Ignite UI pipeline where they keep
# a similar Angular build stable; they are not yet tuned for this agent size.
GOMEMLIMIT: '6GiB'
GOGC: '50'
NODE_OPTIONS: '--max_old_space_size=4096'

- task: PublishPipelineArtifact@1

Expand Down
2 changes: 1 addition & 1 deletion ignite-ui-cli.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"defaultPort": 4200,
"framework": "angular",
"projectType": "igx-ts",
"projectTemplate": "ng-cli",
"projectTemplate": "base",
"theme": "Custom",
"isBundle": false,
"bundleFilePath": "",
Expand Down
Loading