You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Found a workaround for now: just create a node_modules folder in your project root drop myscript.js there and then you can require('myscript.js') in khafile.js and it gets picked up.
Currently it's not possible to require local scripts from within khafile.js.
khafile.js
I guess this is due to how the projectfile is run in https://github.com/KTXSoftware/khamake/blob/master/src/ProjectFile.ts#L24
as it only gets very limited access to anything from the executing script.
The text was updated successfully, but these errors were encountered: