-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
awaiting effort estimateThis issue needs its effort setThis issue needs its effort setawaiting triageThis issue needs its priority setThis issue needs its priority setfeatureNew feature or requestNew feature or requestunreviewedThis issue hasn't yet been reviewed by a collaboratorThis issue hasn't yet been reviewed by a collaborator
Description
Creating some function exposed on the ollieos module to import a file in a script from a file on the OS file system (can be done manually but nicer if it was available with one function acting like JS import())
Makes the dependency system actually useful. Could even see if we can convert types as an object somehow, using webpack in some way as it wrangles all exports to the end of its bundle
Example
await ollieos_import("/usr/bin/mylib/string.js")
Or if maybe even await ollieos_import("mylib/string.js") to default to pkg dir if not specified
Have all sorts of resolution (such as no need for .js, have it resolve the prefixed names that pkgbuild makes)
Metadata
Metadata
Assignees
Labels
awaiting effort estimateThis issue needs its effort setThis issue needs its effort setawaiting triageThis issue needs its priority setThis issue needs its priority setfeatureNew feature or requestNew feature or requestunreviewedThis issue hasn't yet been reviewed by a collaboratorThis issue hasn't yet been reviewed by a collaborator