-
Notifications
You must be signed in to change notification settings - Fork 12k
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
Conversation
744c559
to
ed4e34e
Compare
|| access.name.text == 'bootstrapModuleFactory'); | ||
}); | ||
|
||
if (bootstrap.length != 1 |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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('------'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Intentional?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh noes! Removed.
f263bd9
to
597a222
Compare
In addition, reading and using AST on main.ts to figure out the entry module, if not specified.
In addition, reading and using AST on main.ts to figure out the entry module, if not specified.
In addition, reading and using AST on main.ts to figure out the entry module, if not specified.
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
In addition, reading and using AST on main.ts to figure out the entry module, if not specified.