<!--
Output from: `ng --version`.
If nothing, output from: `node --version` and `npm --version`.
Windows (7/8/10). Linux (incl. distribution). macOS (El Capitan? Sierra?)
-->
<!-- Normally this includes a stack trace and some more information. -->
I have a task, I need to embed the "React" components. But since angular-cli can not load jsx files then compilation produces an error. You may need an appropriate loader to handle this file type.
I dont want use ng eject.
I would like see any possibility extend webpack config.
Checkout the slides from this talk by Kyle McNutt. He was able to import React components and package them in an Angular library without needing to eject. The good stuff starts around slide 13.
eject functionality is no longer available in the latest version (6.x+). For custom webpack configurations the following unofficial add-on is a suggested solution: https://github.com/manfredsteyer/ngx-build-plus
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
_This action has been performed automatically by a bot._
Most helpful comment
Checkout the slides from this talk by Kyle McNutt. He was able to import React components and package them in an Angular library without needing to eject. The good stuff starts around slide 13.