2018-08-28 23:28:46 +08:00
|
|
|
import '../common/index.mjs';
|
2017-06-06 08:44:56 +08:00
|
|
|
|
2018-05-21 03:16:25 +08:00
|
|
|
// eslint-disable-next-line no-undef
|
2017-06-06 08:44:56 +08: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');
|
|
|
|
}
|