-
-
Notifications
You must be signed in to change notification settings - Fork 10
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
Issue with importmaps and lit-html #161
Comments
Yea this is unfortunately a known issue with importmaps It doesn't properly account for "exportmaps" remappings. You could try:
|
Thank you for explaining that Konnor. Shame but hopefully a fix will come out in the wash at some point. |
@lylo looks like there's a pretty big pending PR that should hopefully fix things. |
Oh cool, thanks. I've subscribed to that 👌 |
@lylo Added docs for workaround until that issue resolves itself with importmaps and there can be a "proper" way to handle it. |
link to importmaps docs: https://rhino-editor.vercel.app/tutorials/getting-started/#manual-importmaps-installation |
Thank you @KonnorRogers, very kind |
The problem I'm finding with this is that you need to do
in order for the dependencies (i.e.
It feels like the many dependencies that Rhino/TipTap require on the JS side cause too many problems with importmaps in its current state. Unless there's a definitive list of what to pin? Either way, lit-html seems to cause a whole manner of problems when being vendored. I might go back to the drawing board with npm! |
Yea this exact issue is why I have a prebundled file and a way to just curl it. Otherwise importmaps tries to download the full dependency tree |
Playing with the latest Rhino and importmaps.
The problem is the second line below (to do with the trailing slash):
Not sure if it's an Importmap gem issue or Rhino config, but figured I'd mention it here.
The text was updated successfully, but these errors were encountered: