12 lines
676 B
JavaScript
12 lines
676 B
JavaScript
'use strict';
|
|
|
|
const node_path = require('node:path');
|
|
const node_url = require('node:url');
|
|
|
|
var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
|
|
const DIR_DIST = typeof __dirname !== "undefined" ? __dirname : node_path.dirname(node_url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('dirs.cjs', document.baseURI).href))));
|
|
const DIR_CLIENT = node_path.resolve(DIR_DIST, "../dist/client");
|
|
|
|
exports.DIR_CLIENT = DIR_CLIENT;
|
|
exports.DIR_DIST = DIR_DIST;
|