Skip to content

v2.1.2

Compare
Choose a tag to compare
@lukeed lukeed released this 10 Oct 02:57
· 18 commits to master since this release

Patches

  • (bin): Support global usage on Windows: 67600a7
    Apparently, on Windows, you need to pass file:// URLs to --loader when used via child_process module.

Chores

  • (docs): Include usage instructions/example for using tsm as a bash shebang: 83896bc
    #!/usr/bin/env tsm
    import { greet } from './hello';
    
    let [name] = process.argv.slice(2);
    greet(name || 'world');
    //=> Hello, world!

Full Changelog: v2.1.1...v2.1.2