Ignore:
Timestamp:
01/21/25 03:08:24 (3 days ago)
Author:
stefan toskovski <stefantoska84@…>
Branches:
main
Parents:
0c6b92a
Message:

F4 Finalna Verzija

File:
1 edited

Legend:

Unmodified
Added
Removed
  • imaps-frontend/node_modules/rollup/dist/shared/loadConfigFile.js

    r0c6b92a r79a0317  
    11/*
    22  @license
    3         Rollup.js v4.27.4
    4         Sat, 23 Nov 2024 06:59:50 GMT - commit e805b546405a4e6cfccd3fe73e9f4df770023824
     3        Rollup.js v4.28.1
     4        Fri, 06 Dec 2024 11:44:27 GMT - commit e60fb1c5d4e54ed5257495215eeda1bb43cf54ba
    55
    66        https://github.com/rollup/rollup
     
    487487    return namespace.default || namespace;
    488488}
     489function getConfigImportAttributesKey(input) {
     490    if (input === 'assert' || input === 'with')
     491        return input;
     492    return;
     493}
    489494async function loadTranspiledConfigFile(fileName, commandOptions) {
    490     const { bundleConfigAsCjs, configPlugin, silent } = commandOptions;
     495    const { bundleConfigAsCjs, configPlugin, configImportAttributesKey, silent } = commandOptions;
    491496    const warnings = batchWarnings(commandOptions);
    492497    const inputOptions = {
     
    502507        exports: 'named',
    503508        format: bundleConfigAsCjs ? 'cjs' : 'es',
     509        importAttributesKey: getConfigImportAttributesKey(configImportAttributesKey),
    504510        plugins: [
    505511            {
Note: See TracChangeset for help on using the changeset viewer.