Forum Discussion
tstack
7 years agoFormer Employee
You should be able to reference the other library through the lib
variable. Is that not working?
For example, if you this as the library helper.expr
:
{
chefify: x => x + ' bork! bork! bork!'
}
You should be able to reference it from another library, like so:
{
msg: () => lib.helper.chefify('Hello, World!')
}
Note that if the references are not in functions, but directly in the top-level expression, you’ll need to ensure the libraries are listed in the right order in the pipeline properties.