mirror: Blazing fast w3c Trace Contexts for any JS runtime
0

Configure Feed

Select the types of activity you want to include in your feed.

chore: bump to oxc@30

The one where we get comments in dts

Marais Rossouw (Sep 25, 2024, 12:42 PM +1000) 04e8cb8e 9398d00b

+5 -3
+5 -3
scripts/build.ts
··· 8 8 // $ git push origin main --tags 9 9 // #-> CI builds w/ publish 10 10 11 - import oxc from 'npm:oxc-transform@^0.25'; 11 + import oxc from 'npm:oxc-transform@^0.30'; 12 12 import { join, resolve } from '@std/path'; 13 13 14 14 import denoJson from '../deno.json' with { type: 'json' }; ··· 29 29 let xform = oxc.transform(entry, source, { 30 30 typescript: { 31 31 onlyRemoveTypeImports: true, 32 - declaration: true, 32 + declaration: { 33 + stripInternal: true, 34 + }, 33 35 }, 34 36 }); 35 37 ··· 41 43 42 44 outfile = `${outdir}/${name}.mjs`; 43 45 console.log('> writing "%s" file', outfile); 44 - await Deno.writeTextFile(outfile, xform.sourceText); 46 + await Deno.writeTextFile(outfile, xform.code); 45 47 } 46 48 47 49 if (exists(outdir)) {