ember-react-components
ember-react-components copied to clipboard
outputFile and lazy loading react/react-dom
This is a great addon and the use of a decorator to add React support within Ember is a nice solution.
Everything is working great at runtime, however, using the outputFile
config option to lazy load react/react-dom is not actually splitting out the dependencies in a separate file.
I also tried to just use dynamic imports to load react and react-dom, since the app I work on also has ember-auto-import
, but this doesn't work either.
It seems like react
and react-dom
always get added to the consuming app's vendor.js.