-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
Node.js allows for imports like this:
import test from 'node:test';
const { createHmac } = await import('node:crypto');
const EventEmitter = require('node:events');
const fs = require('node:fs');For some builtin modules, it's the required syntax:
This module is only available under the node: scheme. The following will not work:
import test from 'test';
HyperClick doesn't recognize node modules starting with "node:".
I've worked around this issue using these HyperClick settings:
However, I don't think that the regex is the correct place to parse out the "node:" prefix.
Metadata
Metadata
Assignees
Labels
No labels