MCPcopy Create free account
hub / github.com/cure53/DOMPurify / declarations

Function declarations

config/rolldown.config.js:78–85  ·  view source on GitHub ↗
(file, plugins = [])

Source from the content-addressed store, hash-verified

76};
77
78const declarations = (file, plugins = []) => ({
79 input: './dist/types/purify.d.ts',
80 // Bare specifiers only. Absolute paths (drive letter on Windows) stay internal.
81 external: (id) => !id.startsWith('.') && !path.isAbsolute(id),
82 experimental,
83 output: [{ file, format: 'es', banner: license }],
84 plugins: [...plugins, dts({ dtsOnly: true })],
85});
86
87module.exports = target
88 ? [bundle]

Callers 1

rolldown.config.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected