Replies: 3 comments 2 replies
-
I don't know what the PS: could you change the category from "general" to "Q&A" (using the desktop version of the website, not mobile view or app)? |
Beta Was this translation helpful? Give feedback.
-
I understand "require". My problem is how to specify a path that is relative to the file doing the requiring. For example, I might have
In lib1 = require("./lib_file1")
lib2 = require("./lib_file2") I can't, though, because if I run OK, you say: make the require something like `require("_extensions/filter/..."). But then, how, can I distribute this filter? TIA Dave |
Beta Was this translation helpful? Give feedback.
-
I've worked around it. Thanks all. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm writing a lua filter that I've split into a number of lua source files.
How can I require these files from the main filter script? (I've tried the
...
trick but that doesn't work... )Cheers
Dave
Beta Was this translation helpful? Give feedback.
All reactions