-
Notifications
You must be signed in to change notification settings - Fork 17
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
Update for Angular 8 #22
Conversation
I don't have time to figure out how to test this with the ng add *** utility, so hopefully it works. I was able to test my version of ng-add-pug-loader.js (after filling in the templated parts)
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.
Thank you so much for this PR! This will probably solve #19 too.
As Angular 6 is still in LTS, I believe we should keep supporting it, thus some small changes must be made.
Hi, Thanks for the feedback. I'm working on it, but it's taking longer than expected due to running into a weird issue where adding the typescript.js file to the UnitTestTree is causing the other unit tests dependent on common.js to fail as undefined. If I simply rename the new file, everything continues to work. So that's weird, has something to do with the name I guess. |
Add a unit test for Angular 8 Add a check to maintain Angular 6/7 compatability per PR feedback
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.
Thank you for investing your time in this! The code would work in any environment already, but I believe there's just some cleaning necessary before a release (commented in the files).
…ript make changes requested in PR: * fix typo on unit test description * refactor variable names relating to version of Angular * alter mocked unit test file utilize subset of typescript.js
I modified my local script ng-ad-pug-loader.js script and tried to make the changes to this library. I didn't have time to figure out how to test if what I've done works with ng add , but I think I haven't made any mistakes. If you want to merge this in, go ahead. The main thing to do is set directTemplateLoading to false in the webpack cli config typecript.js file.
Fixes #20
ng-add-pug-loader.js.zip