Is it possible to extract React and(or) ReactDOM libraries to separate bundle via Webpack 4? For example I have the React app which includes React, ReactDOM and Moment.js packages. So I expect two bundles as the result:
react.js
= react + react-dommain.js
= moment + app components
How to split bundles in depends of name of the packages but not of frequency of use in entry points?