UNPKG

st-bundle

Version:

CLI for watching and bundling SpringType projects.

17 lines (16 loc) 599 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const env_1 = require("../env"); function prerequisites(ctx) { ctx.log.fuseHeader({ entry: ctx.config.entries[0], mode: ctx.config.production ? 'production' : 'development', version: env_1.env.VERSION, cacheFolder: ctx.cache && ctx.cache.rootFolder, FTL: ctx.cache && ctx.config.cache.FTL, }); if (!ctx.tsConfig.tsConfigFilePath) { ctx.log.info('tsconfig', 'tsconfig.json was not found. Using internal defaults.'); } } exports.prerequisites = prerequisites;