fix(core): update
This commit is contained in:
9
ts/paths.ts
Normal file
9
ts/paths.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import * as plugins from './plugins.js';
|
||||
|
||||
export let packageDir = plugins.path.join(
|
||||
plugins.smartpath.get.dirnameFromImportMetaUrl(import.meta.url),
|
||||
'../'
|
||||
);
|
||||
export let assetsDir = plugins.path.join(packageDir, './assets');
|
||||
export let templatesDir = plugins.path.join(assetsDir, 'templates');
|
||||
export let cwd = process.cwd();
|
||||
Reference in New Issue
Block a user