MCPcopy
hub / github.com/rollup/rollup / getEntryFileNames

Function getEntryFileNames

src/utils/options/normalizeOutputOptions.ts:318–327  ·  view source on GitHub ↗
(
	config: OutputOptions,
	unsetOptions: Set<string>
)

Source from the content-addressed store, hash-verified

316};
317
318const getEntryFileNames = (
319 config: OutputOptions,
320 unsetOptions: Set<string>
321): NormalizedOutputOptions['entryFileNames'] => {
322 const configEntryFileNames = config.entryFileNames;
323 if (configEntryFileNames == null) {
324 unsetOptions.add('entryFileNames');
325 }
326 return configEntryFileNames ?? '[name].js';
327};
328
329function getExports(
330 config: OutputOptions,

Callers 1

normalizeOutputOptionsFunction · 0.85

Calls 1

addMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…