EmilMoe
580
10
General

Import script from composer vendor in main.js

Posted 3 years ago by EmilMoe

I have a composer package with a javascript I want to include. I prefer to import it in my main.js as this is my central point of javascript (browserify). But I'm struggling what the import string path should be so gulp can find it?

It's a package I'm currently developing on, so the location in the project is packages/vendor/package/src/js/file.js

Please sign in or create an account to participate in this conversation.