Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package imports aren't hinted properly in VSCode #27

Open
itsezc opened this issue Jun 21, 2023 · 1 comment
Open

Package imports aren't hinted properly in VSCode #27

itsezc opened this issue Jun 21, 2023 · 1 comment

Comments

@itsezc
Copy link

itsezc commented Jun 21, 2023

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

image

But I expect it to show: "/ws" and "/http" and not dist and lib

on version 0.6.0

@christophermiles
Copy link

christophermiles commented Jul 14, 2023

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants