File path for assets used in packages


How do I get the file path to be able to use assets in a plugin?


This is a good example:


@AbeEstrada so there is no way to do this from JS land? it must be via a bg image in LESS?


You can use atom://<PACKAGE NAME>/<LOCATION>/<FILE.EXT>


OK so it has to be called in via an http style URL, got it! Thanks!