UNPKG

@luban-cli/cli-lib-service

Version:
10 lines 628 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getTsConfig = void 0; const share_1 = require("./share"); function getTsConfig(isCommonjsModule) { const externalConfig = share_1.getProjectTsConfigJson(); return Object.assign(Object.assign({ noUnusedParameters: true, noUnusedLocals: true, strictNullChecks: true, jsx: "preserve", moduleResolution: "node", declaration: true, allowSyntheticDefaultImports: true }, externalConfig.compilerOptions), { module: isCommonjsModule ? "commonjs" : "esnext" }); } exports.getTsConfig = getTsConfig; //# sourceMappingURL=getTSCommonConfig.js.map