-
-
Notifications
You must be signed in to change notification settings - Fork 109
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-cli support #50
Comments
@DrewHoo could you setup a CodeSandbox with an example of the issue? |
Angular CLI can be fixed to work with node modules, by patching the webpack config to polyfill node packages. |
@ChristianMurphy I wouldn't expect that sandbox to produce the issue since it's using That's a good lead on a workaround. I spent a few minutes trying to get the custom webpack fix to work, and it introduces a host of new problems (not surprising given that it is doing something that angular-cli explicitly does not want to do). |
Subject of the issue
Because Unified requires node globals & libraries, it cannot be used in Angular applications that use angular-cli >= 6.0.0
See this comment from angular-cli:
angular/angular-cli#9827 (comment)
Your environment
angular-cli >= 6.0
Expected behaviour
I can use unified in my app and
ng serve
does not failActual behaviour
ng serve
fails withThe text was updated successfully, but these errors were encountered: