Skip to content

AOT + JIT at once #20156

@p3x-robot

Description

@p3x-robot

I'm submitting a...


[x] Regression (a behavior that used to work and stopped working in a new release)
[x] Bug report  
[x] Feature request
[x] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question

Current behavior

Angular 5 doesn't allow to build a system with AOT + JIT at once.

Expected behavior

Have a system that can use AOT + JIT at once. I was working on it for 2 weeks to make it work. Now you are saying it is impossible. Why?

Minimal reproduction of the problem with instructions

https://pages.corifeus.com/github/corifeus

Angular 4.4.6

git clone https://github.com/patrikx3/corifeus-app-web-pages
yarn install
grunt clean copy:cory-build cory-compile-angular webpack:cory-build-aot-jit test-connect

Got to http://localhost:9000

It is a AOT web page, but the readme.md and all .md files are generated with JIT.

What is the motivation / use case for changing the behavior?

Environment


Angular version: X.Y.Z


Browser:
- [x] Chrome (desktop) version XX
- [x] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [x] Firefox version XX
- [x] Safari (desktop) version XX
- [ ] Safari (iOS) version XX
- [] IE version XX
- [x] Edge version XX
 
For Tooling issues:
- Node version: 9.0.0 
- Platform:  Linux workstation 4.8.0-58-generic #63~16.04.1-Ubuntu SMP Mon Jun 26 18:08:51 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux 

Others:

So how can I do it now with Angular 5?

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: coreIssues related to the framework runtime

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions