Support for plugin subdirectory

Hi,

I’d like to be able to put my JS plugin content in a subdirectory, but this doesn’t seem to work

project/ jsplugin/ myplugin\_js.js myplugin.lua ...

main.lua

local myplugin = require("jsplugin.myplugin")

This will throw an error.

ERROR: Runtime error module 'jsplugin.acejs\_js' not found:resource (jsplugin.acejs\_js.lu) does not exist in archive no field package.preload['jsplugin.acejs\_js'] no file '//jsplugin/acejs\_js.lua' no file '//jsplugin/acejs\_js.lua' no file './jsplugin/acejs\_js.so' no file '//jsplugin/acejs\_js.so' no file './jsplugin.so' no file '//jsplugin.so' stack traceback: [C]: in function 'require' ?: in function 'require' ?: in main chunk [C]: in function 'require' ?: in function 'require' ?: in main chunk

Is there anyway to use a subdirectory?

-dev

Hey @develephant, I’ve pinged engineering on both of these requests.

Rob

Hey @develephant, I’ve pinged engineering on both of these requests.

Rob