8000 --bare by default in nodejs · Issue #2707 · jashkenas/coffeescript · GitHub
[go: up one dir, main page]

Skip to content
--bare by default in nodejs #2707
@jhnns

Description

@jhnns

Is it possible to switch --bare on by default when the runtime environment is nodejs? I've build a module for dependency injection to inject mocks. But rewire() can only change variables in the top-scope of the module which doesn't work when the cs-compiler is wrapping the code (jhnns/rewire#8).

There is no need for wrapping the code in node. 😉

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0