fix(core): update

This commit is contained in:
2026-02-03 16:59:32 +00:00
parent 826f3a6c63
commit 0daae0bd07
18 changed files with 8463 additions and 94 deletions

View File

@@ -1,4 +1,8 @@
import plugins = require('./tools.plugins');
import * as plugins from './tools.plugins.js';
import { fileURLToPath } from 'url';
const __filename = fileURLToPath(import.meta.url);
const __dirname = plugins.path.dirname(__filename);
export const packageBase = plugins.path.join(__dirname, '../');
export const assetsDir = plugins.path.join(packageBase, './assets');