UNPKG

@nxext/stencil

Version:

Nx plugin for stenciljs

16 lines 572 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.updateTsConfig = void 0; const devkit_1 = require("@nrwl/devkit"); function updateTsConfig(host, options) { (0, devkit_1.updateJson)(host, 'tsconfig.base.json', (json) => { const c = json.compilerOptions; delete c.paths[`${options.importPath}`]; c.paths[`${options.importPath}`] = [ `${options.projectRoot}/src/index.ts` ]; return json; }); } exports.updateTsConfig = updateTsConfig; //# sourceMappingURL=update-tsconfig.js.map