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
Right now, Langium only allows to import other grammars from a relative perspective. We might want to enable a behavior similar to JS/TS in which a non-relative import automatically leads to an import from node_modules. I.e.:
// currentimport'../../node_modules/package/src/grammar';// goalimport'package/src/grammar';// maybe even just (and add a way to discover grammars in the package.json)import'package';
The text was updated successfully, but these errors were encountered:
Right now, Langium only allows to import other grammars from a relative perspective. We might want to enable a behavior similar to JS/TS in which a non-relative import automatically leads to an import from
node_modules
. I.e.:The text was updated successfully, but these errors were encountered: