Skip to content

Proposal. support https import static and dynamic #255

Open
@frank-dspeed

Description

@frank-dspeed

In NodeJS This feature is not possible without custom loaders and will not get implemented as they don't want to handle cache and that. They say it belongs to the user land.

Anyway it is a feature that for example is supported by deno a JS/TS Runtime written in rust by the creator of nodejs ryan dahl.

import { createAdapter } from 'https://unpkg.com/@direktspeed/[email protected]/core.mjs'

import('https://unpkg.com/@direktspeed/[email protected]/core.mjs').then(({ createAdapter })=>createAdapter())

i think it would be really great if we could simply on compile fetch the resources and then also support browser resolve so relativ resolve by url

Metadata

Metadata

Assignees

No one assigned

    Labels

    Node.jsRelevant for Graal.js' Node.js recastenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions