crypto-wasm-ts
crypto-wasm-ts copied to clipboard
Using crypto-wasm-ts in a browser
I'm trying to use the module in a browser, but it cannot be resolved correctly: Uncaught TypeError: Failed to resolve module specifier "@docknetwork/crypto-wasm-ts".
Any suggestions?
Running typescript in a browser isn't practical first convert it to js using yarn build and then use the js file in your browser. The project doesn't have a bundler to create a single js file yet as we expect the consumer app to have a bundler setup, eg. sdk uses this project and its bundler (rollup) takes care of it.