starlight icon indicating copy to clipboard operation
starlight copied to clipboard

Allow user to add JavaScript libs to `package.loaded`.

Open paulcuth opened this issue 9 years ago • 1 comments

Add starlight.config.loaded object to configuration. The object's keys will become modnames in Lua and values are those that will be the result of calling require('modname'). Values should be wrapped using the DOMAPI's jsToLua().

paulcuth avatar Mar 29 '16 20:03 paulcuth

Please add a thumbsup reaction if you'd like to see this feature, this'll help me to prioritise.

paulcuth avatar Jul 11 '17 19:07 paulcuth