Skip to content

feat(platform-browser-dynamic): export JitCompilerFactory - #20478

Closed
ocombe wants to merge 1 commit into
angular:masterfrom
ocombe:feat/#20125-jit-compiler-factory
Closed

ocombe wants to merge 1 commit into
angular:masterfrom
ocombe:feat/#20125-jit-compiler-factory

Conversation

@ocombe

@ocombe ocombe commented Nov 16, 2017

Copy link
Copy Markdown
Contributor

PR Type

What kind of change does this PR introduce?

[X] Feature

What is the current behavior?

The JitCompilerFactory is not exported in Angular v5

Issue Number: #20125

What is the new behavior?

JitCompilerFactory is now exported by the platform-browser-dynamic package

Does this PR introduce a breaking change?

[x] No

@ocombe ocombe added area: core Issues related to the framework runtime action: review The PR is still awaiting reviews from at least one requested reviewer target: major This PR is targeted for the next major release labels Nov 16, 2017
@ocombe
ocombe requested a review from chuckjaz November 16, 2017 13:27
@ocombe
ocombe force-pushed the feat/#20125-jit-compiler-factory branch 5 times, most recently from 9b99a6b to 77e952d Compare November 16, 2017 14:03
@angular angular deleted a comment from mary-poppins Nov 16, 2017
@angular angular deleted a comment from mary-poppins Nov 16, 2017
@VSmirnov17

Copy link
Copy Markdown

@ocombe Hello.

Update packages angular on version 5.1.0.beta1.

Try to import:
import {JitCompilerFactory} from "@angular/platform-browser-dynamic";

TypeScript error: has no exported member 'JitCompilerFactory'

Autoimport WebStorm set:
import {JitCompilerFactory} from "@angular/platform-browser-dynamic/src/compiler_factory";

When I try to build:

ERROR in ./src/app/bootstrap/providers.ts
Module not found: Error: Can't resolve '@angular/platform-browser-dynamic/src/compiler_factory' in '/home/vsmirnov/Desktop/angular5/proj/src/app/bootstrap'
 @ ./src/app/bootstrap/providers.ts 19:0-92
 @ ./src/app/modules/app.module.ts
 @ ./src/main.ts
 @ multi (webpack)-dev-server/client?http://localhost:4200 ./src/main.ts
Child html-webpack-plugin for "index.html":
     1 asset
       1 module
webpack: Failed to compile.

@ocombe

ocombe commented Nov 17, 2017

Copy link
Copy Markdown
Contributor Author

Well yes, this PR has not been merged yet

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be experimental, not stable.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here. This should be experimental.

@ocombe
ocombe force-pushed the feat/#20125-jit-compiler-factory branch from 77e952d to cc67834 Compare November 17, 2017 17:39
@ocombe
ocombe requested a review from mhevery November 17, 2017 17:42

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am concerned that the constructor is public. Can we add /* @internal */ to it?

@ocombe
ocombe force-pushed the feat/#20125-jit-compiler-factory branch from cc67834 to bbaa3f9 Compare November 17, 2017 18:53
@ocombe
ocombe force-pushed the feat/#20125-jit-compiler-factory branch 2 times, most recently from 4ad8234 to f32441f Compare November 17, 2017 20:58
@mary-poppins

Copy link
Copy Markdown

@ocombe
ocombe force-pushed the feat/#20125-jit-compiler-factory branch from f32441f to 1081950 Compare November 17, 2017 21:25
@angular angular deleted a comment from mary-poppins Nov 17, 2017
@angular angular deleted a comment from mary-poppins Nov 17, 2017
@angular angular deleted a comment from mary-poppins Nov 17, 2017
@angular angular deleted a comment from mary-poppins Nov 17, 2017
@mary-poppins

Copy link
Copy Markdown

@ocombe
ocombe force-pushed the feat/#20125-jit-compiler-factory branch from 1081950 to 35b67fc Compare November 17, 2017 22:08
@mary-poppins

Copy link
Copy Markdown

@ocombe
ocombe force-pushed the feat/#20125-jit-compiler-factory branch from 35b67fc to 62bc3de Compare November 17, 2017 22:51
@mary-poppins

Copy link
Copy Markdown

@VSmirnov17

Copy link
Copy Markdown

Good day!
When to wait for the merger?

@ocombe
ocombe force-pushed the feat/#20125-jit-compiler-factory branch 2 times, most recently from ab252c0 to e2024c5 Compare November 21, 2017 13:57
@ocombe
ocombe force-pushed the feat/#20125-jit-compiler-factory branch from e2024c5 to 892caa7 Compare November 21, 2017 15:00
@angular angular deleted a comment from mary-poppins Nov 21, 2017
@mary-poppins

Copy link
Copy Markdown

@ocombe ocombe added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Nov 22, 2017
@mhevery mhevery closed this in d7a727c Nov 22, 2017
wKoza pushed a commit to wKoza/angular that referenced this pull request Dec 2, 2017
@ocombe
ocombe deleted the feat/#20125-jit-compiler-factory branch January 19, 2018 09:40
@angular-automatic-lock-bot

Copy link
Copy Markdown

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.

@angular-automatic-lock-bot angular-automatic-lock-bot Bot locked and limited conversation to collaborators Sep 13, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker area: core Issues related to the framework runtime cla: yes target: major This PR is targeted for the next major release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants