The docs say:
For Babel and ES2015+, make sure to import the file:
import 'whatwg-fetch'
It doesn't specify where the import has to take place. Is this supposed to go at the top of the apllication's .js file?
Sorry, every developer is supposed to figure out how to load 3rd-party libraries in their own application. We can't help with this.