Enable source maps out of the box (#519)

This commit is contained in:
Daniel Wirtz
2019-02-28 17:37:30 +01:00
committed by GitHub
parent e1f1a3b49c
commit 1ae7d03e8c
3 changed files with 54 additions and 35 deletions

View File

@ -1,3 +1,4 @@
#!/usr/bin/env node
require("source-map-support").install();
const asc = module.exports = require("../cli/asc.js");
if (/\basc$/.test(process.argv[1])) process.exitCode = asc.main(process.argv.slice(2));