-
-
Notifications
You must be signed in to change notification settings - Fork 45
Open
Description
Currently it's not possible to require local scripts from within khafile.js.
khafile.js
const myscript = require('./myscript.js');
let project = new Project('xxx');
...Creating Kha project.
{ Error: Cannot find module './myscript.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.
Metadata
Metadata
Assignees
Labels
No labels