(code, id)
| 25 | const stripNamedTypeExports = () => ({ |
| 26 | name: 'strip-named-type-exports', |
| 27 | transform(code, id) { |
| 28 | if (id.endsWith('.d.ts')) { |
| 29 | return { |
| 30 | code: code.replace(/^export\s+\{\s*type[\s\S]+?^\};\s*$/gm, ''), |
| 31 | map: null, |
| 32 | }; |
| 33 | } |
| 34 | }, |
| 35 | }); |
| 36 | |
| 37 | const config = [ |
nothing calls this directly
no outgoing calls
no test coverage detected