MCPcopy Index your code
hub / github.com/tinyplex/tinybase / compileModulesForProd

Function compileModulesForProd

gulpfile.mjs:690–699  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

688};
689
690const compileModulesForProd = async () => {
691 await clearDir(DIST_DIR);
692 await copyPackageFiles(true);
693 await copyDefinitions(DIST_DIR);
694
695 await allModules(async (module) => {
696 await compileModule(module, `${DIST_DIR}/`);
697 await compileModule(module, `${DIST_DIR}/min`, true);
698 });
699};
700
701const compileDocsAndAssets = async (api = true, pages = true) => {
702 const {default: esbuild} = await import('esbuild');

Callers 1

compileForProdFunction · 0.85

Calls 5

clearDirFunction · 0.85
copyPackageFilesFunction · 0.85
copyDefinitionsFunction · 0.85
allModulesFunction · 0.85
compileModuleFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…