Skip to content

support optional global require for non-js filetypes #28

@doublerebel

Description

@doublerebel

Hello,

Would you consider an option for Liftoff that allows global require of CoffeeScript, etc., rather than limiting to requireLocal?

In some cases I write a Hacker.coffee as a utility script for a package in another language, so having a locally installed interpreter seems like overkill. I think most users who would write a script in <js-variant> likely already rely on having a globally installed interpreter for utility purposes like REPL.

Thanks for your work!

Charles

EDIT: FWIW, npm recommends that modules called from the CLI prefer global installation, CoffeeScript has set preferGlobal: true as of 1.8.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions