Closed zachsa closed 2 years ago
Having just experimented further (https://github.com/jspm/generator/issues/122) I can see that there are other node standard library modules that this applies to:
node:buffer
, node:process
, node:stream
Now I see that all Node.js standard library imports do not work (is standard library the correct term). I would like to use an import map for all node imports - is this going to be supported?
(or alternatively, generating an import map for node.js should omit all standard imports)
I can confirm this is a bug.
Hi Guy,
Thank you for being so responsive in assisting with setting up / debugging using Node import maps. As you mentioned - the
node:process
import specifier (is that the correct term here?) is an error. This issue is just to keep track of itImport map (with module flag)
Import map (without module flag)
(I included output from generating import maps with/without the module flag just in case that is important - but the import maps look the same to me)