fix(core): update
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user