mgechev / mgechev/angular-seed

Prod bundle contains compiler after AoT

Open
#2,414 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
4.5k
Forks
1.4k
PR merge metrics
No merged PRs in 30d

Description

**I'm submitting a ...**
```
[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, instead see use [gitter](https://gitter.im/mgechev/angular2-seed) or [stackoverflow](https://stackoverflow.com/questions/tagged/angular2)
```

**Current behavior**

```sh
git clone --depth 1 git@github.com:mgechev/angular-seed.git
...
npm i
npm run sme.prod
```
then i get an html report
![screenshot 2019-01-22 at 16 55 51](https://user-images.githubusercontent.com/1318721/51540155-cc06b580-1e66-11e9-9209-4cde40a09b58.png)

**Expected behavior**

With AoT the bundle shouldn't contain a compiler.

**Please tell us about your environment:**

Mac OS

* **Angular Seed Version:** `ca6405ea27ec5f08f02e84e11837bdd465033613`

* **Node:** `node --version` = 9.11.0

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the report with npm i and npm run sme.prod from the specified Angular Seed revision. Inspect the production build path and generated HTML report to determine why the AoT bundle includes the compiler. Done means the production bundle no longer contains the compiler while the production build still succeeds.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, rollup, typescript
Domain
build-system, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.