UNPKG

@cypress/webpack-preprocessor

Version:
12 lines (11 loc) 381 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getTypescript = void 0; var getTypescript = function (typescriptPath) { var projectTsPath = require.resolve(typescriptPath || 'typescript', { paths: [process.cwd()], }); var typescript = require(projectTsPath); return typescript; }; exports.getTypescript = getTypescript;