-
Notifications
You must be signed in to change notification settings - Fork 16
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
Can't figure out how to import JavaScript modules #20
Comments
If you have placed in the ../../js/helper |
I recreated the project using these commands
then applied the following changes (i.e. add the
and then started it using
|
Can you check with the latest version |
Unfortunately still the same, both on |
I've added the following code to
lib.rs
(see here):(plus a call to
foo
inrun()
) and tried to figure out where to placehelper.js
, but everywhere I've tried (project root,js/
,crate/
,crate/src/
,crate/pkg/
) doesn't work. I have the feeling the file is ignored entirely; should this be working, and if so, how?I'm on Linux and using
npm run start
for my tests.The text was updated successfully, but these errors were encountered: