BREAKING CHANGE(core): switch to esm

This commit is contained in:
2022-04-14 10:36:24 +02:00
parent 703bfe7fe8
commit 0bb6bfbb37
7 changed files with 6885 additions and 14184 deletions

View File

@@ -1,6 +1,6 @@
import * as plugins from './smarts3.plugins';
import * as plugins from './smarts3.plugins.js';
export const packageDir = plugins.path.join(__dirname, '../');
export const packageDir = plugins.path.join(plugins.smartpath.get.dirnameFromImportMetaUrl(import.meta.url), '../');
export const nogitDir = plugins.path.join(packageDir, './.nogit');
export const bucketsDir = plugins.path.join(nogitDir, './bucketsDir');