This repository was archived by the owner on Aug 7, 2021. It is now read-only.

Description
Issue Checklist
- You are submitting: a feature request
- You verified that this is a real problem by searching the [NativeScript Forum] and the other [issues] in this repo.
- You checked our [demo apps] and the [documentation] for sample usage.
Problem
Currently, if you build an Angular app without AoT, the @angular/compiler package is bundle inside the bundle.js chunk. This results in slower consequent rebuilds of the bundle.js chunk.
Proposed solution
We can have a loader/plugin that inserts an import for the @angular/compiler package in vendor.ts if you're building with AoT. That will move the package from bundle.js to vendor.js and will result in faster rebuilds for the significantly smaller bundle.js chunk.