Loading custom assets files

Everything is currently working except that I can't find anywhere how to load custom css/js files.
If I write the full path like asset('path/to/js/blah.js'), than this won't be valid once the package is published. Anyone knows how to get this working in dev mode and once published it will a work in production as well?