rsnext/test/integration/chunking/components/one.js
Alex Castle 3970a26b92 Tweaks and test for library chunks fixes (#8482)
* Adjust lib chunk naming algorithm and prevent duplicate react-dom

* Remove alias for react-dom and update separator replacement logic

* Add comment to webpack-config

* Add integration test for react-dom duplication

* Switch to using hash for lib chunk names

* remove extra file from PR

* Remove another extraneous change

* Remove test based on lib chunk name

* Update index.test.js
2019-08-23 10:28:48 -04:00

5 lines
104 B
JavaScript

import rd from 'react-dom'
export default () => {
console.log(rd)
return <div>Component One</div>
}