2
votes

As the title says, is there any way to import one SSJS library into another? I have a debugging library named debug.jss that I would like to include and use in my other SSJS libraries, but I'm not sure how to go about doing that. It seems like a pretty fundamental question, but I haven't found any answer. Thanks in advance.

1

1 Answers

10
votes

At the first line;

import debug;

It will import the second SSJS library.

The related documentation is here.