import * as tsmie from 'external/typescript-module-imported-externally' ; import * as jsmie from 'external/javascript-module-imported-externally' ; const tsmre = require ( 'external/typescript-module-required-externally' ) ; const jsmre = require ( 'external/javascript-module-required-externally' ) ; import * as external from 'external' ; console . log ( JSON . stringify ( { external , tsmie , jsmie , tsmre , jsmre } , null , 2 ) ) ;