You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the report! The purpose of the snippets feature, however, is for local private code to be imported into a project. If JS code needs to import JS code then you'll likely want to set up an NPM/JS package to share so you can import from that in both JS locations.
Motivation
Use case:
lib.rs:
/src/error.js
:index.js
It is not convenient to import
MyError
this way.Proposed Solution
Reexport imported snippets. I.e.:
pkg/index.js:
The text was updated successfully, but these errors were encountered: