jialh
2025-01-06 4d6d772771d2da54a4887d60f3b2ea21a72b3d7d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.dynamicImportPolyfill = void 0;
function dynamicImportPolyfill(promise = false) {
    return {
        name: 'dynamic-import-polyfill',
        renderDynamicImport() {
            return {
                left: promise ? 'Promise.resolve(' : '(',
                right: ')',
            };
        },
    };
}
exports.dynamicImportPolyfill = dynamicImportPolyfill;