now that --experimental-network-imports has been removed, is there a work around to import files from a server? #4618
|
I have some server code for a project which is making use of external imports: I upgraded node today and saw the |
Answered by
aduh95
Oct 1, 2024
Replies: 0 comments 3 replies
|
You could fetch the data, convert it to a Data URL, and dynamically import the data URL? |
0 replies
|
You can use a loader hook, see https://nodejs.org/api/module.html#import-from-https |
0 replies
Answer selected by
avivkeller
This comment was marked as spam.
This comment was marked as spam.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can use a loader hook, see https://nodejs.org/api/module.html#import-from-https