WIP: use es-modules

This commit is contained in:
j 2026-02-16 22:16:19 +01:00
commit f70967f9bc
144 changed files with 741 additions and 57 deletions

View file

@ -1,4 +1,5 @@
'use strict';
import Ox from './Namespace.js';
//@ Ox.AMPM <[s]> ['AM', 'PM']
Ox.AMPM = ['AM', 'PM'];
@ -101,6 +102,8 @@ Ox.PATH = (function() {
return src.replace(regexp, '');
}
}
// FIXME: fix path detection
return './source/';
}());
//@ Ox.MODE <s> Mode ('dev' or 'min')
Ox.MODE = Ox.PATH.slice(0, -1).split('/').pop();