fix(esm): improve ESM compatibility and modernize package configuration

This commit is contained in:
2026-05-01 18:49:10 +00:00
parent 319011b8ff
commit add1cad575
14 changed files with 5143 additions and 3579 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
import * as plugins from './smartspawn.plugins.js';
export const packageBase = plugins.path.join(__dirname, '../');
export const packageBase = plugins.path.join(plugins.path.dirname(plugins.url.fileURLToPath(import.meta.url)), '../');
export const typescriptwrapJs = plugins.path.join(packageBase, 'assets/typescriptwrap.js');