ng build outfile very big, how to mini
See original GitHub issuewin32 64bit angular2 ng build
directory vendor size 16.3 MB
tree vendor
├─@angular
│ ├─common
│ │ ├─esm
│ │ │ ├─src
│ │ │ │ ├─directives
│ │ │ │ ├─facade
│ │ │ │ ├─forms
│ │ │ │ │ └─directives
│ │ │ │ ├─location
│ │ │ │ └─pipes
│ │ │ └─testing
│ │ ├─src
│ │ │ ├─directives
│ │ │ ├─facade
│ │ │ ├─forms
│ │ │ │ └─directives
│ │ │ ├─location
│ │ │ └─pipes
│ │ └─testing
│ ├─compiler
│ │ ├─esm
│ │ │ ├─src
│ │ │ │ ├─expression_parser
│ │ │ │ ├─facade
│ │ │ │ ├─output
│ │ │ │ ├─schema
│ │ │ │ └─view_compiler
│ │ │ └─testing
│ │ ├─src
│ │ │ ├─expression_parser
│ │ │ ├─facade
│ │ │ ├─output
│ │ │ ├─schema
│ │ │ └─view_compiler
│ │ └─testing
│ ├─core
│ │ ├─esm
│ │ │ ├─src
│ │ │ │ ├─change_detection
│ │ │ │ │ └─differs
│ │ │ │ ├─debug
│ │ │ │ ├─di
│ │ │ │ ├─facade
│ │ │ │ ├─linker
│ │ │ │ ├─metadata
│ │ │ │ ├─profile
│ │ │ │ ├─reflection
│ │ │ │ ├─render
│ │ │ │ ├─testability
│ │ │ │ ├─util
│ │ │ │ └─zone
│ │ │ └─testing
│ │ ├─src
│ │ │ ├─change_detection
│ │ │ │ └─differs
│ │ │ ├─debug
│ │ │ ├─di
│ │ │ ├─facade
│ │ │ ├─linker
│ │ │ ├─metadata
│ │ │ ├─profile
│ │ │ ├─reflection
│ │ │ ├─render
│ │ │ ├─testability
│ │ │ ├─util
│ │ │ └─zone
│ │ └─testing
│ ├─http
│ │ ├─esm
│ │ │ ├─src
│ │ │ │ ├─backends
│ │ │ │ └─facade
│ │ │ └─testing
│ │ ├─src
│ │ │ ├─backends
│ │ │ └─facade
│ │ └─testing
│ ├─platform-browser
│ │ ├─esm
│ │ │ ├─src
│ │ │ │ ├─animate
│ │ │ │ ├─browser
│ │ │ │ │ ├─location
│ │ │ │ │ └─tools
│ │ │ │ ├─dom
│ │ │ │ │ ├─debug
│ │ │ │ │ └─events
│ │ │ │ ├─facade
│ │ │ │ └─security
│ │ │ └─testing
│ │ ├─src
│ │ │ ├─animate
│ │ │ ├─browser
│ │ │ │ ├─location
│ │ │ │ └─tools
│ │ │ ├─dom
│ │ │ │ ├─debug
│ │ │ │ └─events
│ │ │ ├─facade
│ │ │ └─security
│ │ └─testing
│ ├─platform-browser-dynamic
│ │ ├─esm
│ │ │ ├─src
│ │ │ │ ├─facade
│ │ │ │ └─xhr
│ │ │ └─testing
│ │ ├─src
│ │ │ ├─facade
│ │ │ └─xhr
│ │ └─testing
│ ├─router
│ │ ├─esm
│ │ │ ├─src
│ │ │ │ ├─directives
│ │ │ │ ├─facade
│ │ │ │ └─metadata
│ │ │ └─testing
│ │ ├─src
│ │ │ ├─directives
│ │ │ ├─facade
│ │ │ └─metadata
│ │ └─testing
│ └─router-deprecated
│ ├─esm
│ │ └─src
│ │ ├─directives
│ │ ├─facade
│ │ ├─lifecycle
│ │ ├─route_config
│ │ └─rules
│ │ ├─route_handlers
│ │ └─route_paths
│ └─src
│ ├─directives
│ ├─facade
│ ├─lifecycle
│ ├─route_config
│ └─rules
│ ├─route_handlers
│ └─route_paths
├─@angular2-material
│ ├─button
│ ├─card
│ ├─checkbox
│ ├─core
│ │ ├─annotations
│ │ ├─async
│ │ ├─gestures
│ │ ├─live-announcer
│ │ ├─overlay
│ │ │ └─position
│ │ ├─portal
│ │ └─rtl
│ ├─grid-list
│ ├─icon
│ ├─input
│ ├─list
│ ├─progress-bar
│ ├─progress-circle
│ ├─radio
│ ├─sidenav
│ └─toolbar
├─bootstrap
│ ├─dist
│ │ ├─css
│ │ └─js
│ │ └─umd
│ └─grunt
├─es6-shim
├─jquery
│ └─dist
├─ng2-cookies
│ └─src
│ └─services
├─ng2-resource-rest
├─reflect-metadata
│ └─temp
│ └─test
│ └─reflect
├─rxjs
│ ├─add
│ │ ├─observable
│ │ │ └─dom
│ │ └─operator
│ ├─bundles
│ ├─observable
│ │ └─dom
│ ├─operator
│ ├─scheduler
│ ├─src
│ ├─symbol
│ ├─testing
│ └─util
├─systemjs
│ └─dist
├─tether
│ └─dist
│ ├─css
│ └─js
└─zone.js
└─dist
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Angular 2 Production build file is large - Stack Overflow
I have just created a new angular app using "ng new appName" and put in some buttons (from ng ...
Read more >How to build an Angular 8 app from scratch in 11 easy steps
How to build an Angular 8 app from scratch in 11 easy steps · Step 1 — Installing Angular CLI 8 · Step...
Read more >The Best Way To Architect Your Angular Libraries
Step by step guide to create our library from scratch · Generate new Angular CLI workspace (without default application) ng new angular-library- ...
Read more >ng build - Angular
Option Description Value Type Default Value
‑‑aot Build using Ahead of Time compilation. boolean true
‑‑base‑href Base url for the application being built. string
‑‑delete‑output‑path Delete...
Read more >Angular: Watch Build for Changes - JavaScript in Plain English
However, when you build and deploy the code, you use the ng build command, which packages the application into a few files in...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@filipesilva when i do ng build -prod --aot, vendor bundle file size is still 1.4mb, can’t we reduce the size further ?
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.