cli/ts/paths.ts

10 lines
331 B
TypeScript
Raw Normal View History

2024-06-21 17:48:43 +00:00
import * as plugins from './plugins.js';
export let packageDir = plugins.path.join(
plugins.smartpath.get.dirnameFromImportMetaUrl(import.meta.url),
'../',
2024-06-21 17:48:43 +00:00
);
export let assetsDir = plugins.path.join(packageDir, './assets');
export let templatesDir = plugins.path.join(assetsDir, 'templates');
export let cwd = process.cwd();