@adonisjs/require-ts
Version:
In memory typescript compiler
16 lines (15 loc) • 468 B
JavaScript
;
/*
* @adonisjs/require-ts
*
* (c) Harminder Virk <virk@adonisjs.comharminder@cav.ai>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
Object.defineProperty(exports, "__esModule", { value: true });
const index_1 = require("./index");
const CWD = process.env.REQUIRE_TS_CWD || process.cwd();
(0, index_1.register)(CWD, {
cache: !!process.env.REQUIRE_TS_CACHE,
});