fix loading, minify with rollup

This commit is contained in:
j 2026-02-18 17:02:08 +01:00
commit dd5237e4ed
156 changed files with 794 additions and 971 deletions

View file

@ -2,7 +2,7 @@
'use strict';
import Ox from './Namespace.js';
import Ox from './Ox.Global.js';
/*@
Ox.load <f> Loads OxJS and, optionally, one or more modules
@ -79,7 +79,7 @@ Ox.load = function() {
fn(function() {
Ox.forEach(modules, async function(options, module) {
console.log("load module!", module, options)
const obj = await import('../../' + module + '/index.js?' + Ox.VERSION);
const obj = await import(Ox.PATH + module + '/' + module + '.js?' + Ox.VERSION);
Ox.load[module](options, function(success) {
succeeded += success;
if (++loaded == length) {