-
Notifications
You must be signed in to change notification settings - Fork 14
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
Angular: The AngularCompilerPlugin was not found #85
Comments
Hi William, First off, you should know that I'm planning on removing support for Angular since the Angular CLI includes its own differential loading mechanism. Angular support will be deprecated in the next major version (3.0.0), and removed in the following major version (4.0.0). Second, I've had very mixed experiences with trying to use the Angular compiler outside of the CLI (e.,g. using I realize that if you're working with a hybrid app, your options may be limited - but I'd definitely recommend looking into setting up your application such that the main app is using the Angular 10 CLI, and you use that to host the AngularJS app, likely using NgUpgrade. That said, if you'd still like to try and get this working as you originally described - does this configuration work when you leave out |
Hi Daniel, Yes I'm already using NgUpgrade. Yes without BabelMultiTargetPlugin (and thus with the classic babel-loader it worked with Angular 9, then when I upgraded to Angular 10 it seems that the dropping of esm5 broke the IE11 support (I see that I have ES6 classes in my bundle), that's why I tried to use your lib in order to support IE11 which is mandatory for my project |
@wmarques IE11! Oof, I'm sorry on your behalf. To clarify, does your configuration work with Angular 10 when you leave out |
Yes, client requirements, I will hopefully get rid of it once windows 7 becomes deprecated ! Yes it compiles and works fine in any recent browser, however my app doesn't show up on IE11 because I still have ES6 code in my final bundle and it looks like it comes from Angular. that's why I'm interested in your plugin :) |
Can you include the full configuration file? If there are proprietary things you need to omit, that's fine, just annotate in the text where things are removed. |
Also, can you post the output of running |
Hi, I'm trying to setup this plugin on my app.
It's an hybrid Angular 10 / AngularJS with a custom Webpack config.
I followed all the instructions but when I try to start the app using webpack-dev-server I have the following trace:
Here is a snippet of my configuration:
Thanks for your help 😄
The text was updated successfully, but these errors were encountered: