diff --git a/build.js b/build.js index 8ab1ee7..7bad43e 100755 --- a/build.js +++ b/build.js @@ -1,16 +1,10 @@ #!/usr/bin/env node const esbuild = require('esbuild') -const alias = require('esbuild-plugin-alias') let common = { entryPoints: ['index.ts'], bundle: true, - plugins: [ - alias({ - stream: require.resolve('readable-stream') - }) - ], sourcemap: 'external' } diff --git a/package.json b/package.json index 1511012..25fae6f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "nostr-tools", - "version": "1.0.0-beta", + "version": "1.0.0-beta2", "description": "Tools for making a Nostr client.", "repository": { "type": "git", @@ -15,7 +15,6 @@ "@scure/bip39": "^1.1.0", "base64-arraybuffer": "^1.0.2", "bech32": "^2.0.0", - "readable-stream": "^4.2.0", "websocket-polyfill": "^0.0.3" }, "keywords": [