How to load javascript dependencies into javascript itself

Asked

Viewed 33 times

0

I have a javascript file that requires others to work correctly

It’s a gigantic tramp to always remember to call when to use this js somewhere (because just thinking about it brought me here)

There is a way to load these js into the parent js?

  • Are you using compiler? can you give an example of what kind of scripts are? have dependencies on npm or local files? those files are online or on disk?

  • don’t have any kind of npm dependency, and I’m not using compiler (I’m studying Ive but I haven’t figured it out yet). Are local

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.