Skip to content

Don't support submodule #6

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

Open
ParadeTo opened this issue Sep 8, 2022 · 1 comment
Open

Don't support submodule #6

ParadeTo opened this issue Sep 8, 2022 · 1 comment

Comments

@ParadeTo
Copy link

ParadeTo commented Sep 8, 2022

I have a node.importmap as follows:

{
  "imports": {
    "react-dom": "https://esm.sh/[email protected]"
  }
}

Here is a file to test:

import ReactDOM from 'react-dom'
import ReactDOMServer from 'react-dom/server.js'

The second line can't work.

@crabkiller
Copy link

crabkiller commented Dec 6, 2022

Hi, I'm trying this package to load some remote modules (https) but not working. So I'm wondering Is there any configs that README don't point out?
BTW, I have debugged the source code and got some local paths in resolveSpecifier method.(etc: /username/project/xxx)
Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants