source maps should not be included in initial budgets #11999
Labels
area: @angular-devkit/build-angular
effort1: easy (hours)
freq1: low
Only reported by a handful of users who observe it rarely
severity3: broken
Milestone
Bug Report or Feature Request (mark with an
x
)Command (mark with an
x
)Versions
Angular CLI: 6.2.0-rc.0
Node: 9.2.0
OS: linux x64
Angular: 6.1.4
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router
Package Version
@angular-devkit/architect 0.8.0-rc.0
@angular-devkit/build-angular 0.8.0-rc.0
@angular-devkit/build-optimizer 0.8.0-rc.0
@angular-devkit/build-webpack 0.8.0-rc.0
@angular-devkit/core 0.8.0-rc.0
@angular-devkit/schematics 0.8.0-rc.0
@angular/cdk 6.4.6
@angular/cli 6.2.0-rc.0
@angular/material 6.4.6
@ngtools/webpack 6.2.0-rc.0
@schematics/angular 0.8.0-rc.0
@schematics/update 0.8.0-rc.0
rxjs 6.2.2
typescript 2.7.2
webpack 4.17.1
Repro steps
ng new my-app
yarn add @angular/cli@next @angular-devkit/build-angular@next
add budget to angular.json:
increase bundle size to warning level 400kb by adding material and polyfills
ng build --prod --source-map=true
The log given by the failure
Desired functionality
Source maps should not be included in
initial
bundle size calculationThe text was updated successfully, but these errors were encountered: