feat(templates): Updated and added new TypeScript template files for npm projects
This commit is contained in:
8
assets/templates/npm/ts/paths.ts
Normal file
8
assets/templates/npm/ts/paths.ts
Normal file
@ -0,0 +1,8 @@
|
||||
---
|
||||
fileName: paths.ts
|
||||
---
|
||||
import * as plugins from './plugins.js';
|
||||
export const packageDir = plugins.path.join(
|
||||
plugins.smartpath.get.dirnameFromImportMetaUrl(import.meta.url),
|
||||
'../'
|
||||
);
|
Reference in New Issue
Block a user