import { isPresent } from '@jscrpt/common';
/**
 * Extracts dynamic data which is module exports as default export
 */
export const defaultExportExtractor = (module, logger) => {
    const localModule = module;
    logger?.debug('defaultExportExtractor: trying to extract default dynamic data');
    if (isPresent(localModule.default)) {
        return {
            data: localModule.default
        };
    }
    return null;
};
//# sourceMappingURL=defaultExport.extractor.js.map