-
Notifications
You must be signed in to change notification settings - Fork 12k
[Feat] Add @ngtools/webpack AoT option for outputting to fs instead of virtual file system. #3236
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
Comments
@Luchillo: I've never gotten this error without another error above which was the real source of the problem. Could you try to see if there was any other errors? I'm not entirely sold on not having a virtual filesystem, since you can always run |
It's just to make sure i'm setting the paths correctly, i'm not saying it shouldn't use virtual filesystem, i'm saying it should have the option to output to disk to debug potential path misconfiguration. |
@hansl Btw did you test with the repo branch i linked?, that's exactly the project i'm trying to put AoT support to work. |
Mostly superseded by #6203. |
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. |
This is a feature request, i have a webpack app, i need to config the webpack config file manually, so the feature i suggest is to allow the
@ngtools/webpack
AoT to output the app module factory to file system, maybe only the app module or every file (open to discussion).Reason to propose feature
I keep getting error
Module not found
for the app module factory, and i don't know if it isn't being created, if i have it configured in a different folder or what, being able toflag
the plugin to force it to output to file system, so we can see it in project file tree would help clarify this kind of issues.Repro steps.
Check this repo branch: https://github.com/Luchillo/angular2-webpack-starter/tree/aot
Clone, checkout branch
aot
,npm install
,npm run build:aot
and the error should pop out.The log given by the failure.
The text was updated successfully, but these errors were encountered: