This can be done by checking for `define.amd`. https://github.com/jrburke/requirejs/blob/master/require.js#L1921 Possibly `require()` as well: https://github.com/jrburke/requirejs/blob/master/require.js#L1325