2018-08-28 17:28:46 +02:00
|
|
|
import '../common/index.mjs';
|
2017-06-05 19:44:56 -05:00
|
|
|
|
2018-05-20 15:16:25 -04:00
|
|
|
// eslint-disable-next-line no-undef
|
2017-06-05 19:44:56 -05:00
|
|
|
if (typeof arguments !== 'undefined') {
|
|
|
|
|
throw new Error('not an ESM');
|
|
|
|
|
}
|
|
|
|
|
if (typeof this !== 'undefined') {
|
|
|
|
|
throw new Error('not an ESM');
|
|
|
|
|
}
|
|
|
|
|
if (typeof exports !== 'undefined') {
|
|
|
|
|
throw new Error('not an ESM');
|
|
|
|
|
}
|
|
|
|
|
if (typeof require !== 'undefined') {
|
|
|
|
|
throw new Error('not an ESM');
|
|
|
|
|
}
|
|
|
|
|
if (typeof module !== 'undefined') {
|
|
|
|
|
throw new Error('not an ESM');
|
|
|
|
|
}
|
|
|
|
|
if (typeof __filename !== 'undefined') {
|
|
|
|
|
throw new Error('not an ESM');
|
|
|
|
|
}
|
|
|
|
|
if (typeof __dirname !== 'undefined') {
|
|
|
|
|
throw new Error('not an ESM');
|
|
|
|
|
}
|