Support sub path import, e.g. import { GetElementEvent } from "@ember-nexus/web-sdk/BrowserEvent/Element";
#80
Labels
Enhancement
Improving existing functionalities.
Help Wanted
Seeking community assistance.
Question
Seeking clarifications or information.
Supporting sub path imports would not only look nicer, but will likely make tree shaking etc. easier to realize.
Furthermore the current workaround is more verbose:
Variant A:
Variant B:
But ideally it should something like this:
It should technically be possible to support such a use case, although in reality it turns out to be non trivial in every scenario.
The key aspects are, that this library uses
type="module"
within itspackage.json
, and it as well as other Ember Nexus web projects are usingmoduleResolution="bundler"
.The following articles might provide additional context:
The text was updated successfully, but these errors were encountered: