Fix remaining imc-vibe references in README and bun.lock

This commit is contained in:
Christoph Haas 2026-03-24 23:44:56 +01:00
parent ff52be8adf
commit 061126c51e
41 changed files with 613 additions and 339 deletions

View file

@ -1,13 +1,13 @@
/*
@license
Rollup.js v4.59.1
Sat, 21 Mar 2026 06:45:31 GMT - commit 0cba9e079e1d6e56882558827b37557f36c52966
Rollup.js v4.60.0
Sun, 22 Mar 2026 06:57:22 GMT - commit 6ecd69fb2ce736c8aabb50829edd227d1792c957
https://github.com/rollup/rollup
Released under the MIT License.
*/
import { EMPTY_OBJECT, ExportDefaultDeclaration as ExportDefaultDeclaration$1, CallExpression as CallExpression$1, EMPTY_ARRAY, LOGLEVEL_WARN, logUnusedExternalImports, ANNOTATION_KEY, INVALID_ANNOTATION_KEY, ExpressionStatement as ExpressionStatement$1, AwaitExpression as AwaitExpression$1, MemberExpression as MemberExpression$1, Identifier as Identifier$1, FunctionExpression as FunctionExpression$1, ArrowFunctionExpression as ArrowFunctionExpression$1, ObjectExpression as ObjectExpression$1, Property as Property$1, Program as Program$1, logIllegalImportReassignment, BLANK, logRedeclarationError, StaticBlock as StaticBlock$1, CatchClause as CatchClause$1, logDuplicateArgumentNameError, logModuleLevelDirective, ReturnStatement as ReturnStatement$1, VariableDeclarator as VariableDeclarator$1, logMissingExport, normalize, getImportPath, logMissingNodeBuiltins, logReservedNamespace, error, logIllegalIdentifierAsName, logMissingNameOptionForIifeExport, logMissingNameOptionForUmdExport, RestElement as RestElement$1, logConstVariableReassignError, EMPTY_SET, logCannotCallNamespace, logEval, BlockStatement as BlockStatement$1, getRollupError, logModuleParseError, logParseError, LOGLEVEL_INFO, logFirstSideEffect, locate, logInvalidAnnotation, logThisIsUndefined, getAstBuffer, convertAnnotations, FIXED_STRINGS, convertNode as convertNode$1, logImportAttributeIsInvalid, logImportOptionsAreInvalid, logMissingEntryExport, logSyntheticNamedExportsNeedNamespaceExport, logDuplicateExportError, logInvalidSourcemapForError, augmentCodeLocation, logInconsistentImportAttributes, logMissingJsxExport, logNamespaceConflict, logAmbiguousExternalNamespaces, logShimmedExport, parseAst, TemplateLiteral as TemplateLiteral$1, Literal as Literal$1, logCircularReexport, logInvalidFormatForTopLevelAwait, logAddonNotGenerated, logIncompatibleExportOptionValue, logMixedExport, logFailedValidation, isPathFragment, logCyclicCrossChunkReexport, getAliasName, logUnexpectedNamedImport, isAbsolute as isAbsolute$1, relative as relative$1, logUnexpectedNamespaceReexport, logEmptyChunk, logMissingGlobalName, logOptimizeChunkStatus, logSourcemapBroken, logConflictingSourcemapSources, logChunkInvalid, logInvalidOption, URL_OUTPUT_FORMAT, URL_OUTPUT_DIR, URL_OUTPUT_SOURCEMAPFILE, URL_OUTPUT_AMD_ID, logFileNameOutsideOutputDirectory, logCannotAssignModuleToChunk, logCircularChunk, logUnknownOption, printQuotedStringList, LOGLEVEL_ERROR, logLevelPriority, LOGLEVEL_DEBUG, logAnonymousPluginCache, logDuplicatePluginName, logInvalidSetAssetSourceCall, logPluginError, logNoTransformMapOrAstWithoutCode, warnDeprecation, URL_TRANSFORM, relativeId, logBadLoader, logInternalIdCannotBeExternal, isRelative, logUnresolvedImport, logUnresolvedImportTreatedAsExternal, logExternalSyntheticExports, logUnresolvedEntry, logUnresolvedImplicitDependant, logExternalModulesCannotBeIncludedInManualChunks, logEntryCannotBeExternal, logImplicitDependantCannotBeExternal, logExternalModulesCannotBeTransformedToModules, URL_LOAD, logNoAssetSourceSet, logFileReferenceIdNotFoundForFilename, logAssetReferenceIdNotFoundForSetSource, logAssetSourceAlreadySet, logInvalidRollupPhaseForChunkEmission, logChunkNotGeneratedForFileName, logAssetNotFinalisedForFileName, logFileNameConflict, URL_GENERATEBUNDLE, logInvalidLogPosition, logInputHookInOutputPlugin, logInvalidAddonPluginHook, logInvalidFunctionPluginHook, logImplicitDependantIsNotIncluded, logCircularDependency, augmentLogMessage, URL_JSX, URL_TREESHAKE, URL_TREESHAKE_MODULESIDEEFFECTS, URL_OUTPUT_INLINEDYNAMICIMPORTS, URL_PRESERVEENTRYSIGNATURES, URL_OUTPUT_GENERATEDCODE, isValidUrl, addTrailingSlashIfMissed, URL_OUTPUT_SOURCEMAPBASEURL, URL_OUTPUT_MANUALCHUNKS, logInvalidExportOptionValue, URL_OUTPUT_AMD_BASEPATH, URL_OUTPUT_INTEROP, URL_OUTPUT_EXTERNALIMPORTATTRIBUTES, logAlreadyClosed, logMissingFileOrDirOption, logCannotEmitFromOptionsHook, URL_WATCH } from './parseAst.js';
import { EMPTY_OBJECT, ExportDefaultDeclaration as ExportDefaultDeclaration$1, CallExpression as CallExpression$1, EMPTY_ARRAY, LOGLEVEL_WARN, logUnusedExternalImports, ANNOTATION_KEY, INVALID_ANNOTATION_KEY, ExpressionStatement as ExpressionStatement$1, AwaitExpression as AwaitExpression$1, MemberExpression as MemberExpression$1, Identifier as Identifier$1, FunctionExpression as FunctionExpression$1, ArrowFunctionExpression as ArrowFunctionExpression$1, ObjectExpression as ObjectExpression$1, Property as Property$1, Program as Program$1, logIllegalImportReassignment, BLANK, logRedeclarationError, StaticBlock as StaticBlock$1, CatchClause as CatchClause$1, logDuplicateArgumentNameError, logModuleLevelDirective, ReturnStatement as ReturnStatement$1, VariableDeclarator as VariableDeclarator$1, logMissingExport, normalize, getImportPath, error, logSourcePhaseFormatUnsupported, logMissingNodeBuiltins, logReservedNamespace, logIllegalIdentifierAsName, logMissingNameOptionForIifeExport, logMissingNameOptionForUmdExport, RestElement as RestElement$1, logConstVariableReassignError, EMPTY_SET, logCannotCallNamespace, logEval, BlockStatement as BlockStatement$1, getRollupError, logModuleParseError, logParseError, LOGLEVEL_INFO, logFirstSideEffect, locate, logInvalidAnnotation, logThisIsUndefined, getAstBuffer, convertAnnotations, FIXED_STRINGS, convertNode as convertNode$1, logImportAttributeIsInvalid, logImportOptionsAreInvalid, logMissingEntryExport, logSyntheticNamedExportsNeedNamespaceExport, logDuplicateExportError, logInvalidSourcemapForError, augmentCodeLocation, logInconsistentImportAttributes, logMissingJsxExport, logNamespaceConflict, logAmbiguousExternalNamespaces, logShimmedExport, parseAst, TemplateLiteral as TemplateLiteral$1, Literal as Literal$1, logCircularReexport, logInvalidFormatForTopLevelAwait, logAddonNotGenerated, logIncompatibleExportOptionValue, logMixedExport, logFailedValidation, isPathFragment, logCyclicCrossChunkReexport, getAliasName, logUnexpectedNamedImport, isAbsolute as isAbsolute$1, relative as relative$1, logUnexpectedNamespaceReexport, logEmptyChunk, logMissingGlobalName, logOptimizeChunkStatus, logSourcemapBroken, logConflictingSourcemapSources, logChunkInvalid, logInvalidOption, URL_OUTPUT_FORMAT, URL_OUTPUT_DIR, URL_OUTPUT_SOURCEMAPFILE, URL_OUTPUT_AMD_ID, logFileNameOutsideOutputDirectory, logCannotAssignModuleToChunk, logCircularChunk, logUnknownOption, printQuotedStringList, LOGLEVEL_ERROR, logLevelPriority, LOGLEVEL_DEBUG, logAnonymousPluginCache, logDuplicatePluginName, logInvalidSetAssetSourceCall, logPluginError, logNoTransformMapOrAstWithoutCode, warnDeprecation, URL_TRANSFORM, relativeId, logBadLoader, logNonExternalSourcePhaseImport, logInternalIdCannotBeExternal, isRelative, logUnresolvedImport, logUnresolvedImportTreatedAsExternal, logExternalSyntheticExports, logUnresolvedEntry, logUnresolvedImplicitDependant, logExternalModulesCannotBeIncludedInManualChunks, logEntryCannotBeExternal, logImplicitDependantCannotBeExternal, logExternalModulesCannotBeTransformedToModules, URL_LOAD, logNoAssetSourceSet, logFileReferenceIdNotFoundForFilename, logAssetReferenceIdNotFoundForSetSource, logAssetSourceAlreadySet, logInvalidRollupPhaseForChunkEmission, logChunkNotGeneratedForFileName, logAssetNotFinalisedForFileName, logFileNameConflict, URL_GENERATEBUNDLE, logInvalidLogPosition, logInputHookInOutputPlugin, logInvalidAddonPluginHook, logInvalidFunctionPluginHook, logImplicitDependantIsNotIncluded, logCircularDependency, augmentLogMessage, URL_JSX, URL_TREESHAKE, URL_TREESHAKE_MODULESIDEEFFECTS, URL_OUTPUT_INLINEDYNAMICIMPORTS, URL_PRESERVEENTRYSIGNATURES, URL_OUTPUT_GENERATEDCODE, isValidUrl, addTrailingSlashIfMissed, URL_OUTPUT_SOURCEMAPBASEURL, URL_OUTPUT_MANUALCHUNKS, logInvalidExportOptionValue, URL_OUTPUT_AMD_BASEPATH, URL_OUTPUT_INTEROP, URL_OUTPUT_EXTERNALIMPORTATTRIBUTES, logAlreadyClosed, logMissingFileOrDirOption, logCannotEmitFromOptionsHook, URL_WATCH } from './parseAst.js';
import { relative, dirname, basename, extname, resolve as resolve$1, join } from 'node:path';
import { posix, isAbsolute, resolve, win32 } from 'path';
import { parseAsync, xxhashBase16, xxhashBase64Url, xxhashBase36 } from '../../native.js';
@ -27,7 +27,7 @@ function _mergeNamespaces(n, m) {
return Object.defineProperty(n, Symbol.toStringTag, { value: 'Module' });
}
var version = "4.59.1";
var version = "4.60.0";
// src/vlq.ts
var comma = ",".charCodeAt(0);
@ -2464,12 +2464,15 @@ class Variable extends ExpressionEntity {
}
}
/** Synthetic import name for source phase imports, similar to '*' for namespaces */
const SOURCE_PHASE_IMPORT = '*source';
class ExternalVariable extends Variable {
constructor(module, name) {
super(name);
this.referenced = false;
this.module = module;
this.isNamespace = name === '*';
this.isSourcePhase = name === SOURCE_PHASE_IMPORT;
}
addReference(identifier) {
this.referenced = true;
@ -8432,6 +8435,13 @@ function getInteropBlock(dependencies, interop, externalLiveBindings, freeze, sy
return `${getHelpersBlock(neededInteropHelpers, accessedGlobals, indent, snippets, externalLiveBindings, freeze, symbols)}${interopStatements.length > 0 ? `${interopStatements.join(n)}${n}${n}` : ''}`;
}
function throwOnPhase(outputFormat, chunkId, dependencies) {
const sourcePhaseDependency = dependencies.find(dependency => dependency.sourcePhaseImport);
if (sourcePhaseDependency) {
error(logSourcePhaseFormatUnsupported(outputFormat, chunkId, sourcePhaseDependency.importPath));
}
}
function addJsExtension(name) {
return name.endsWith('.js') ? name : name + '.js';
}
@ -8570,6 +8580,7 @@ function warnOnBuiltins(log, dependencies) {
function amd(magicString, { accessedGlobals, dependencies, exports: exports$1, hasDefaultExport, hasExports, id, indent: t, intro, isEntryFacade, isModuleFacade, namedExportsMode, log, outro, snippets }, { amd, esModule, externalLiveBindings, freeze, generatedCode: { symbols }, interop, reexportProtoFromExternal, strict }) {
warnOnBuiltins(log, dependencies);
throwOnPhase('amd', id, dependencies);
const deps = dependencies.map(m => `'${updateExtensionForRelativeAmdId(m.importPath, amd.forceJsExtensionForImports)}'`);
const parameters = dependencies.map(m => m.name);
const { n, getNonArrowFunctionIntro, _ } = snippets;
@ -8607,7 +8618,8 @@ function amd(magicString, { accessedGlobals, dependencies, exports: exports$1, h
.append(`${n}${n}}));`);
}
function cjs(magicString, { accessedGlobals, dependencies, exports: exports$1, hasDefaultExport, hasExports, indent: t, intro, isEntryFacade, isModuleFacade, namedExportsMode, outro, snippets }, { compact, esModule, externalLiveBindings, freeze, interop, generatedCode: { symbols }, reexportProtoFromExternal, strict }) {
function cjs(magicString, { accessedGlobals, dependencies, exports: exports$1, hasDefaultExport, hasExports, id, indent: t, intro, isEntryFacade, isModuleFacade, namedExportsMode, outro, snippets }, { compact, esModule, externalLiveBindings, freeze, interop, generatedCode: { symbols }, reexportProtoFromExternal, strict }) {
throwOnPhase('cjs', id, dependencies);
const { _, n } = snippets;
const useStrict = strict ? `'use strict';${n}${n}` : '';
let namespaceMarkers = getNamespaceMarkers(namedExportsMode && hasExports, isEntryFacade && (esModule === true || (esModule === 'if-default-prop' && hasDefaultExport)), isModuleFacade && symbols, snippets);
@ -8660,11 +8672,16 @@ function es(magicString, { accessedGlobals, indent: t, intro, outro, dependencie
}
function getImportBlock(dependencies, importAttributesKey, { _ }) {
const importBlock = [];
for (const { importPath, reexports, imports, name, attributes } of dependencies) {
for (const { importPath, reexports, imports, name, attributes, sourcePhaseImport } of dependencies) {
const assertion = attributes ? `${_}${importAttributesKey}${_}${attributes}` : '';
const pathWithAssertion = `'${importPath}'${assertion};`;
if (sourcePhaseImport) {
importBlock.push(`import source ${sourcePhaseImport} from${_}${pathWithAssertion}`);
}
if (!reexports && !imports) {
importBlock.push(`import${_}${pathWithAssertion}`);
if (!sourcePhaseImport) {
importBlock.push(`import${_}${pathWithAssertion}`);
}
continue;
}
if (imports) {
@ -8818,7 +8835,8 @@ function trimEmptyImports(dependencies) {
return [];
}
function iife(magicString, { accessedGlobals, dependencies, exports: exports$1, hasDefaultExport, hasExports, indent: t, intro, namedExportsMode, log, outro, snippets }, { compact, esModule, extend, freeze, externalLiveBindings, reexportProtoFromExternal, globals, interop, name, generatedCode: { symbols }, strict }) {
function iife(magicString, { accessedGlobals, dependencies, exports: exports$1, hasDefaultExport, hasExports, id, indent: t, intro, namedExportsMode, log, outro, snippets }, { compact, esModule, extend, freeze, externalLiveBindings, reexportProtoFromExternal, globals, interop, name, generatedCode: { symbols }, strict }) {
throwOnPhase('iife', id, dependencies);
const { _, getNonArrowFunctionIntro, getPropertyAccess, n } = snippets;
const isNamespaced = name && name.includes('.');
const useVariableAssignment = !extend && !isNamespaced;
@ -8877,7 +8895,8 @@ function iife(magicString, { accessedGlobals, dependencies, exports: exports$1,
const MISSING_EXPORT_SHIM_VARIABLE = '_missingExportShim';
function system(magicString, { accessedGlobals, dependencies, exports: exports$1, hasExports, indent: t, intro, snippets, outro, usesTopLevelAwait }, { externalLiveBindings, freeze, name, generatedCode: { symbols }, strict, systemNullSetters }) {
function system(magicString, { accessedGlobals, dependencies, exports: exports$1, hasExports, id, indent: t, intro, snippets, outro, usesTopLevelAwait }, { externalLiveBindings, freeze, name, generatedCode: { symbols }, strict, systemNullSetters }) {
throwOnPhase('system', id, dependencies);
const { _, getFunctionIntro, getNonArrowFunctionIntro, n, s } = snippets;
const { importBindings, setters, starExcludes } = analyzeDependencies(dependencies, exports$1, t, snippets);
const registeredName = name ? `'${name}',${_}` : '';
@ -9045,6 +9064,7 @@ function umd(magicString, { accessedGlobals, dependencies, exports: exports$1, h
if (hasExports && !name) {
return error(logMissingNameOptionForUmdExport());
}
throwOnPhase('umd', id, dependencies);
warnOnBuiltins(log, dependencies);
const amdDeps = dependencies.map(m => `'${updateExtensionForRelativeAmdId(m.importPath, amd.forceJsExtensionForImports)}'`);
const cjsDeps = dependencies.map(m => `require('${m.importPath}')`);
@ -16120,6 +16140,8 @@ const bufferParsers = [
node.specifiers = convertNodeList(node, scope, buffer[position], buffer);
node.source = convertNode(node, scope, buffer[position + 1], buffer);
node.attributes = convertNodeList(node, scope, buffer[position + 2], buffer);
const phaseIndex = buffer[position + 3];
node.phase = phaseIndex === 0 ? undefined : FIXED_STRINGS[phaseIndex];
},
function importDefaultSpecifier(node, position, buffer) {
const { scope } = node;
@ -16131,6 +16153,8 @@ const bufferParsers = [
node.sourceAstNode = convertNode$1(buffer[position], buffer);
const optionsPosition = buffer[position + 1];
node.options = optionsPosition === 0 ? null : convertNode(node, scope, optionsPosition, buffer);
const phaseIndex = buffer[position + 2];
node.phase = phaseIndex === 0 ? undefined : FIXED_STRINGS[phaseIndex];
},
function importNamespaceSpecifier(node, position, buffer) {
const { scope } = node;
@ -16916,6 +16940,7 @@ class Module {
this.isUserDefinedEntryPoint = false;
this.needsExportShim = false;
this.sideEffectDependenciesByVariable = new Map();
this.sourcePhaseSources = new Set();
this.sourcesWithAttributes = new Map();
this.allExportsIncluded = false;
this.ast = null;
@ -17566,16 +17591,19 @@ class Module {
if (this.scope.variables.has(localName) || this.importDescriptions.has(localName)) {
this.error(logRedeclarationError(localName), specifier.local.start);
}
const name = specifier instanceof ImportDefaultSpecifier
? 'default'
: specifier instanceof ImportNamespaceSpecifier
? '*'
: specifier.imported instanceof Identifier
? specifier.imported.name
: specifier.imported.value;
const name = node.phase === 'source'
? SOURCE_PHASE_IMPORT
: specifier instanceof ImportDefaultSpecifier
? 'default'
: specifier instanceof ImportNamespaceSpecifier
? '*'
: specifier.imported instanceof Identifier
? specifier.imported.name
: specifier.imported.value;
this.importDescriptions.set(localName, {
module: null, // filled in later
name,
phase: node.phase === 'source' ? 'source' : 'instance',
source,
start: specifier.start
});
@ -17648,6 +17676,9 @@ class Module {
else {
this.sourcesWithAttributes.set(source, parsedAttributes);
}
if (declaration.phase === 'source') {
this.sourcePhaseSources.add(source);
}
}
getImportedJsxFactoryVariable(baseName, nodeStart, importSource) {
const { id } = this.resolvedIds[importSource];
@ -17861,6 +17892,9 @@ function deconflictImportsEsmOrSystem(usedNames, imports, dependenciesToBeDeconf
? externalChunkByModule.get(module)
: chunkByModule.get(module)).variableName);
}
else if (module instanceof ExternalModule && variable.isSourcePhase) {
variable.setRenderNames(null, getSafeName(module.suggestedVariableName + '__source', usedNames, variable.forbiddenNames));
}
else if (module instanceof ExternalModule && name === 'default') {
variable.setRenderNames(null, getSafeName([...module.exportedVariables].some(([exportedVariable, exportedName]) => exportedName === '*' && exportedVariable.included)
? module.suggestedVariableName + '__default'
@ -18907,10 +18941,14 @@ class Chunk {
const module = variable.module;
let dependency;
let imported;
const isSourcePhase = module instanceof ExternalModule && variable.isSourcePhase;
if (module instanceof ExternalModule) {
dependency = this.externalChunkByModule.get(module);
imported = variable.name;
if (imported !== 'default' && imported !== '*' && interop(module.id) === 'defaultOnly') {
if (!isSourcePhase &&
imported !== 'default' &&
imported !== '*' &&
interop(module.id) === 'defaultOnly') {
return error(logUnexpectedNamedImport(module.id, imported, false));
}
}
@ -18920,7 +18958,8 @@ class Chunk {
}
getOrCreate(importsByDependency, dependency, getNewArray).push({
imported,
local: variable.getName(this.snippets.getPropertyAccess)
local: variable.getName(this.snippets.getPropertyAccess),
phase: isSourcePhase ? 'source' : 'instance'
});
}
return importsByDependency;
@ -19071,6 +19110,9 @@ class Chunk {
const reexports = reexportSpecifiers.get(dependency) || null;
const namedExportsMode = dependency instanceof ExternalChunk || dependency.exportMode !== 'default';
const importPath = dependency.getImportPath(fileName);
// Separate source-phase imports from regular imports
const sourcePhaseImport = imports?.find(index => index.phase === 'source');
const instanceImports = imports?.filter(index => index.phase !== 'source') ?? null;
renderedDependencies.set(dependency, {
attributes: dependency instanceof ExternalChunk
? dependency.getImportAttributes(this.snippets)
@ -19080,12 +19122,13 @@ class Chunk {
(this.outputOptions.format === 'umd' || this.outputOptions.format === 'iife') &&
getGlobalName(dependency, this.outputOptions.globals, (imports || reexports) !== null, this.inputOptions.onLog),
importPath,
imports,
imports: instanceImports && instanceImports.length > 0 ? instanceImports : null,
isChunk: dependency instanceof Chunk,
name: dependency.variableName,
namedExportsMode,
namespaceVariableName: dependency.namespaceVariableName,
reexports
reexports,
sourcePhaseImport: sourcePhaseImport?.local
});
}
return (this.renderedDependencies = renderedDependencies);
@ -21519,13 +21562,16 @@ class ModuleLoader {
return loadNewModulesPromise;
}
async fetchDynamicDependencies(module, resolveDynamicImportPromises) {
const dependencies = await Promise.all(resolveDynamicImportPromises.map(resolveDynamicImportPromise => resolveDynamicImportPromise.then(async ([{ node }, resolvedId]) => {
const dependencies = await Promise.all(resolveDynamicImportPromises.map(resolveDynamicImportPromise => resolveDynamicImportPromise.then(async ([{ argument, node }, resolvedId]) => {
if (resolvedId === null)
return null;
if (typeof resolvedId === 'string') {
node.resolution = resolvedId;
return null;
}
if (node.phase === 'source' && !resolvedId.external) {
return error(logNonExternalSourcePhaseImport(typeof argument === 'string' ? argument : relativeId(resolvedId.id), module.id));
}
return (node.resolution = await this.fetchResolvedDependency(relativeId(resolvedId.id), module.id, resolvedId));
})));
for (const dependency of dependencies) {
@ -21605,7 +21651,12 @@ class ModuleLoader {
return this.fetchModule(resolvedId, importer, false, false);
}
async fetchStaticDependencies(module, resolveStaticDependencyPromises) {
for (const dependency of await Promise.all(resolveStaticDependencyPromises.map(resolveStaticDependencyPromise => resolveStaticDependencyPromise.then(([source, resolvedId]) => this.fetchResolvedDependency(source, module.id, resolvedId))))) {
for (const dependency of await Promise.all(resolveStaticDependencyPromises.map(resolveStaticDependencyPromise => resolveStaticDependencyPromise.then(([source, resolvedId]) => {
if (module.sourcePhaseSources.has(source) && !resolvedId.external) {
return error(logNonExternalSourcePhaseImport(source, module.id));
}
return this.fetchResolvedDependency(source, module.id, resolvedId);
})))) {
module.dependencies.add(dependency);
dependency.importers.push(module.id);
}
@ -22874,7 +22925,7 @@ class Graph {
warnForMissingExports() {
for (const module of this.modules) {
for (const importDescription of module.importDescriptions.values()) {
if (importDescription.name !== '*') {
if (importDescription.name !== '*' && importDescription.phase !== 'source') {
const [variable, options] = importDescription.module.getVariableForExportName(importDescription.name, { importChain: [module.id] });
if (!variable) {
module.log(LOGLEVEL_WARN, logMissingExport(importDescription.name, module.id, importDescription.module.id, !!options?.missingButExportExists), importDescription.start);