tsbundle/ts/tsbundle.paths.ts
2022-03-14 16:32:12 +01:00

11 lines
399 B
TypeScript

import * as plugins from './tsbundle.plugins.js';
export const cwd = process.cwd();
export const packageDir = plugins.path.join(
plugins.smartpath.get.dirnameFromImportMetaUrl(import.meta.url),
'../'
);
export const htmlDir = plugins.path.join(cwd, './html');
export const distServeDir = plugins.path.join(cwd, './dist_serve');
export const assetsDir = plugins.path.join(packageDir, 'assets');