Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(aot): creating files in a virtual fs. #2464

Merged
merged 1 commit into from
Oct 2, 2016
Merged

Conversation

hansl
Copy link
Contributor

@hansl hansl commented Oct 2, 2016

In addition, reading and using AST on main.ts to figure out the entry module, if not specified.

@hansl hansl force-pushed the aot-memory branch 2 times, most recently from 744c559 to ed4e34e Compare October 2, 2016 16:02
@filipesilva filipesilva self-assigned this Oct 2, 2016
|| access.name.text == 'bootstrapModuleFactory');
});

if (bootstrap.length != 1
Copy link
Contributor

Choose a reason for hiding this comment

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

What about multiple bootstrap calls? Is this something AoT doesn't support?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It doesn't support it. Having multiple bootstraps in a single file is just bad. Please note that in this case, the CLI doesn't support it but you can specify which specific module you want to bootstrap with entryModule in your webpack config.

} catch (e) {
console.log('------');
console.log('------');
Copy link
Contributor

Choose a reason for hiding this comment

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

Intentional?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh noes! Removed.

@hansl hansl force-pushed the aot-memory branch 3 times, most recently from f263bd9 to 597a222 Compare October 2, 2016 20:56
In addition, reading and using AST on main.ts to figure out the entry module, if not specified.
@hansl hansl added cla: yes and removed cla: yes labels Oct 2, 2016
@hansl hansl merged commit 790a1b4 into angular:master Oct 2, 2016
JJayet pushed a commit to JJayet/angular-cli that referenced this pull request Oct 2, 2016
In addition, reading and using AST on main.ts to figure out the entry module, if not specified.
deebloo pushed a commit to deebloo/angular-cli that referenced this pull request Oct 3, 2016
In addition, reading and using AST on main.ts to figure out the entry module, if not specified.
@hansl hansl deleted the aot-memory branch November 2, 2016 18:01
@angular-automatic-lock-bot
Copy link

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 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants