MCPcopy
hub / github.com/rollup/rollup / getPreserveModulesRoot

Function getPreserveModulesRoot

src/utils/options/normalizeOutputOptions.ts:231–239  ·  view source on GitHub ↗
(
	config: OutputOptions
)

Source from the content-addressed store, hash-verified

229};
230
231const getPreserveModulesRoot = (
232 config: OutputOptions
233): NormalizedOutputOptions['preserveModulesRoot'] => {
234 const { preserveModulesRoot } = config;
235 if (preserveModulesRoot === null || preserveModulesRoot === undefined) {
236 return undefined;
237 }
238 return resolve(preserveModulesRoot);
239};
240
241const getAmd = (config: OutputOptions): NormalizedOutputOptions['amd'] => {
242 const mergedOption: {

Callers 1

normalizeOutputOptionsFunction · 0.85

Calls 1

resolveFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…