UNPKG

@kcws/web-rig

Version:

a rig package for web environment projects using heft

51 lines (44 loc) 1.82 kB
/** * Configures the TypeScript plugin for Heft. This plugin also manages linting. */ { "$schema": "https://developer.microsoft.com/json-schemas/heft/typescript.schema.json", /** * Optionally specifies another JSON config file that this file extends from. This provides a way for standard * settings to be shared across multiple projects. */ // "extends": "@rushstack/heft-web-rig/profiles/library/config/typescript.json", /** * If provided, emit these module kinds in addition to the modules specified in the tsconfig. * Note that this option only applies to the main tsconfig.json configuration. */ "additionalModuleKindsToEmit": [], /** * If true, emit CommonJS module output to the folder specified in the tsconfig "outDir" compiler option * with the .cjs extension alongside (or instead of, * if TSConfig specifies CommonJS) the default compilation output. */ // "emitCjsExtensionForCommonJS": true, /** * If true, emit ESNext module output to the folder specified in the tsconfig "outDir" compiler option * with the .mjs extension alongside (or instead of, * if TSConfig specifies ESNext) the default compilation output. */ "emitMjsExtensionForESModule": false, /** * If true and "isolatedModules" is configured in tsconfig.json, use a worker thread to run transpilation concurrently with type checking and declaration emit. */ // "useTranspilerWorker": true /** * Configures additional file types that should be copied into the TypeScript compiler's emit folders, for example * so that these files can be resolved by import statements. */ "staticAssetsToCopy": { /** * File extensions that should be copied from the src folder to the destination folder(s). */ "fileExtensions": [ ".css" ] } }