You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
yarn build
yarn run v1.22.0
$ rollup -c
[!] Error: Config file must export an options object, or an array of options objects
https://rollupjs.org/guide/en/#configuration-files
Error: Config file must export an options object, or an array of options objects
at Object.error (/Users/joeldenning/code/esm-bundle-react-dom/node_modules/rollup/dist/shared/rollup.js:10120:30)
at getConfigList (/Users/joeldenning/code/esm-bundle-react-dom/node_modules/rollup/dist/shared/loadConfigFile.js:543:26)
at loadConfigFile (/Users/joeldenning/code/esm-bundle-react-dom/node_modules/rollup/dist/shared/loadConfigFile.js:488:12)
at Object.loadAndParseConfigFile (/Users/joeldenning/code/esm-bundle-react-dom/node_modules/rollup/dist/shared/loadConfigFile.js:466:21)
at getConfigs (/Users/joeldenning/code/esm-bundle-react-dom/node_modules/rollup/dist/bin/rollup:2032:39)
at runRollup (/Users/joeldenning/code/esm-bundle-react-dom/node_modules/rollup/dist/bin/rollup:2013:43)
Expected Behavior
Async functions should be supported as rollup configs. This worked in 2.2.0, but appears not to work in 2.3.0.
Actual Behavior
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
The text was updated successfully, but these errors were encountered: