【多入口配置求助】create-react-app配置多入口

#1

请问各位,有人create-react-app, npm run eject 后, 配置多入口有人做过吗?
为什么我配置完后打包会提示我找不到polyfills?

liutaodeMacBook-Pro:share liutao$ npm run build

react-cli-demo@0.1.0 build /Users/liutao/WebstormProjects/luxi/share
node scripts/build.js

internal/modules/cjs/loader.js:583
throw err;
^

Error: Cannot find module ‘./polyfills’
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
at Function.resolve (internal/modules/cjs/helpers.js:30:19)
at Object. (/Users/liutao/WebstormProjects/luxi/share/config/webpack.config.prod.js:120:15)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object. (/Users/liutao/WebstormProjects/luxi/share/scripts/build.js:23:16)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)

npm ERR! Darwin 18.2.0
npm ERR! argv “/usr/local/bin/node” “/usr/local/bin/npm” “run” “build”
npm ERR! node v10.6.0
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! react-cli-demo@0.1.0 build: node scripts/build.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the react-cli-demo@0.1.0 build script ‘node scripts/build.js’.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the react-cli-demo package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node scripts/build.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs react-cli-demo
npm ERR! Or if that isn’t available, you can get their info via:
npm ERR! npm owner ls react-cli-demo
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /Users/liutao/WebstormProjects/luxi/share/npm-debug.log