1import '../common/index.mjs'; 2 3// eslint-disable-next-line no-undef 4if (typeof arguments !== 'undefined') { 5 throw new Error('not an ESM'); 6} 7if (typeof this !== 'undefined') { 8 throw new Error('not an ESM'); 9} 10if (typeof exports !== 'undefined') { 11 throw new Error('not an ESM'); 12} 13if (typeof require !== 'undefined') { 14 throw new Error('not an ESM'); 15} 16if (typeof module !== 'undefined') { 17 throw new Error('not an ESM'); 18} 19if (typeof __filename !== 'undefined') { 20 throw new Error('not an ESM'); 21} 22if (typeof __dirname !== 'undefined') { 23 throw new Error('not an ESM'); 24} 25