MCPcopy
hub / github.com/darkroomengineering/lenis / iife

Function iife

tsdown.config.ts:12–24  ·  view source on GitHub ↗
(globalName: string, minify = false)

Source from the content-addressed store, hash-verified

10}
11
12const iife = (globalName: string, minify = false) =>
13 ({
14 ...shared,
15 format: 'iife' as const,
16 dts: false,
17 clean: false,
18 globalName,
19 minify,
20 outExtensions: undefined,
21 outputOptions: {
22 entryFileNames: minify ? '[name].min.js' : '[name].js',
23 },
24 }) as const
25
26export default defineConfig([
27 // Core + Snap ESM

Callers 1

tsdown.config.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…