Created by: froyog
When ejected, you can now pass in an array as the appSrc for ModuleScopPlugin. Implement of #4079 (closed)
test plan:
yarn create-react-app test-appcd test-appyarn run ejectmkdir docs- In
config/paths.js, adddocsSrc: resolveApp('docs') - In
config/webpack.config.dev.js, modifynew ModuleScopePlugin(paths.appSrc, [paths.appPackageJson]),tonew ModuleScopePlugin([paths.appSrc, paths.docsSrc], [paths.appPackageJson]), -
yarn start. You should be able to import stuff from bothsrc/anddocs/.