In order to use `addPolyfills` define `rootBundles` condition
Hello,
When I run the command 'yarn run devolution dist es5", I get this error
Error: devolution: in order to useaddPolyfillsdefinerootBundles condition.
I don't really know what to put inside 'rootBundles',
Thank you
Look like there is a bug with addPolyfills, you should use it to get this error...
define rootBundles condition.
see rootBundles property in your .devolution.rc. It defines regexp to find the "main" bundle, devolution could add some polyfills to if needed.
i got same misunderstood on this message, then i checked source and it make clear for me. Maybe better change this message?
Any proposals?
The actual problem is the default configuration, which has addPolyfills configured, but rootBundles left empty.
#8 should provide that configuration out of the box.