now that --experimental-network-imports has been removed, is there a work around to import files from a server? #54948
-
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.
Replies: 3 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.
-
You can use a loader hook, see https://nodejs.org/api/module.html#import-from-https |
Beta Was this translation helpful? Give feedback.
You can use a loader hook, see https://nodejs.org/api/module.html#import-from-https