tsbundle/ts/paths.ts

11 lines
390 B
TypeScript
Raw Normal View History

2022-03-15 23:21:05 +00:00
import * as plugins from './plugins.js';
2019-06-16 15:47:34 +00:00
export const cwd = process.cwd();
2022-03-14 15:32:12 +00:00
export const packageDir = plugins.path.join(
plugins.smartpath.get.dirnameFromImportMetaUrl(import.meta.url),
'../'
);
2019-06-16 15:47:34 +00:00
export const htmlDir = plugins.path.join(cwd, './html');
2020-03-14 22:40:09 +00:00
export const distServeDir = plugins.path.join(cwd, './dist_serve');
2020-03-13 14:53:15 +00:00
export const assetsDir = plugins.path.join(packageDir, 'assets');