Skip to content

Commit

Permalink
Revert me: Switch to a build of harfbuzz/harfbuzzjs#76
Browse files Browse the repository at this point in the history
  • Loading branch information
papandreou committed Apr 5, 2023
1 parent 776cafa commit ff6e69d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file added hb-subset.wasm
Binary file not shown.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const loadAndInitializeHarfbuzz = _.once(async () => {
const {
instance: { exports },
} = await WebAssembly.instantiate(
await readFile(require.resolve('harfbuzzjs/hb-subset.wasm'))
await readFile(require.resolve('./hb-subset.wasm'))
);

const heapu8 = new Uint8Array(exports.memory.buffer);
Expand Down

0 comments on commit ff6e69d

Please sign in to comment.