surrealdb.wasm
surrealdb.wasm copied to clipboard
Package imports aren't hinted properly in VSCode
I'm trying to import the WS module, however the imports are listed properly not sure if this is a package issue with the files it exports, tsconfig or something on my end
But I expect it to show: "/ws" and "/http" and not dist
and lib
on version 0.6.0
I get this in WebStorm, and also it seems to use /dist
by default and complains if I try to explicitly reference the files in /lib
Module not found: Error: Package path ./lib/full.js is not exported from
package ***/node_modules/surrealdb.wasm (see exports
field in ***/node_modules/surrealdb.wasm/package.json)