15 lines
495 B
TypeScript
15 lines
495 B
TypeScript
import * as plugins from './plugins.js';
|
|
|
|
export const packageDir = plugins.path.join(
|
|
plugins.smartpath.get.dirnameFromImportMetaUrl(import.meta.url),
|
|
'../',
|
|
);
|
|
|
|
export const nogitDir = plugins.path.join(packageDir, '.nogit/');
|
|
if (!(await plugins.smartfs.directory(nogitDir).exists())) {
|
|
await plugins.smartfs.directory(nogitDir).create();
|
|
}
|
|
|
|
export const bundleDir = plugins.path.join(packageDir, './dist_bundle');
|
|
export const bundleFile = plugins.path.join(bundleDir, './bundle.js');
|