When I include the custom test videoautoplay (<https://github.com/Modernizr/Modernizr/blob/master/feature-detects/video/autoplay.js>) the build throws the error 'define is undefined' (see screenshot). 

![enter image description here](https://i.stack.imgur.com/6wgiX.png)

Any idea how to fix this?