go jsr only and eliminate index.ts.

This commit is contained in:
fiatjaf
2026-01-27 23:56:37 -03:00
parent 42c9c7554d
commit aea4bf702e
4 changed files with 0 additions and 301 deletions

View File

@@ -42,18 +42,3 @@ esbuild
console.log('cjs build success.')
})
esbuild
.build({
...common,
entryPoints: ['index.ts'],
outfile: 'lib/nostr.bundle.js',
format: 'iife',
globalName: 'NostrTools',
define: {
window: 'self',
global: 'self',
process: '{"env": {}}',
},
})
.then(() => console.log('standalone build success.'))