JanetDocsPlaygroundI'm feeling luckyGitHub sign in

module/add-paths



    function
    boot.janet on line 2658, column 1

    (module/add-paths ext loader)

    Add paths to `module/paths` for a given loader such that the 
    generated paths behave like other module types, including relative 
    imports and syspath imports. `ext` is the file extension to 
    associate with this module type, including the dot. `loader` is the 
    keyword name of a loader in `module/loaders`. Returns the modified 
    `module/paths`.


0 examplesSign in to add an example
Loading...