Add 2.0 support to module template

This commit is contained in:
Cooldude2606 committed 2024-11-23 14:26:12 +00:00
1 parent 2ba33d58ed
commit 8b551deda8
3 files changed
+42 -18

No files matched your search

@@ -1,3 +1,4 @@
--- Can contain anything you want to allow other plugins to have access to, this example exposes the control file
--- If you only export a single file then it may be better to rename that file to module_exports and save the redirection
-- Access the exports from other modules using require("modules/__plugin_name__")
return require("modules/__plugin_name__/control")