Skip to content

Commit

Permalink
refactor: drop blake3-wasm for node:crypto
Browse files Browse the repository at this point in the history
  • Loading branch information
RihanArfan committed Dec 2, 2024
1 parent 6e35e4d commit 9fa4051
Show file tree
Hide file tree
Showing 7 changed files with 48 additions and 373 deletions.
16 changes: 1 addition & 15 deletions build.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,5 @@ export default defineBuildConfig({
exportConditions: ['production', 'node'] as any,
},
},
entries: [
'src/index',
{
builder: 'copy',
pattern: '*.wasm',
input: 'node_modules/blake3-wasm/dist/wasm/nodejs',
outDir: 'dist',
},
],
externals: [
'node:fs/promises',
'node:path',
'node:util',
'node:stream',
],
entries: ['src/index'],
})
Binary file removed dist/blake3_js_bg.wasm
Binary file not shown.
Loading

0 comments on commit 9fa4051

Please sign in to comment.