UNPKG

@strapi/typescript-utils

Version:

Typescript support for Strapi

11 lines (7 loc) 280 B
'use strict'; const compilers = require('./compilers'); const getConfigPath = require('./utils/get-config-path'); module.exports = async (srcDir, { configOptions = {} } = {}) => { const configPath = getConfigPath(srcDir); compilers.basic.run(configPath, configOptions); };