Is there a way to prevent require
from being declared on the window?
I’m unsure. In theory the loader we use does support a noConflict mode, but I don’t think the transpiled output would actually work if you use it (e.g. define
would still be used during babel transpilation, but would not be available on window and therefore would error)…