r/JavaScriptTips • u/Low_Mammoth_9371 • Feb 15 '23
Load other scripts from within a JavaScript file 📜
25
Upvotes
1
2
Feb 16 '23
[removed] — view removed comment
1
u/Low_Mammoth_9371 Feb 16 '23
Beyond the obvious not setting your script tag to support modules, you don't need to install external packages this way befote importing them. One example would CDN links to libraries.
1
u/caleb_dre Feb 15 '23
this seems extremely dangerous lol