now that --experimental-network-imports has been removed, is there a work around to import files from a server? #54948
Answered
by
aduh95
patrick99e99
asked this question in
General
-
I have some server code for a project which is making use of external imports:
I upgraded node today and saw the |
Beta Was this translation helpful? Give feedback.
Answered by
aduh95
Oct 1, 2024
Replies: 2 comments
-
You could fetch the data, convert it to a Data URL, and dynamically import the data URL? |
Beta Was this translation helpful? Give feedback.
0 replies
-
You can use a loader hook, see https://nodejs.org/api/module.html#import-from-https |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
RedYetiDev
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