Open accozzam opened 1 year ago
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.
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?