* wip: autodetect esm * finish fixes * thread minify through * add sweetalert2 * Fix default bundle types * ts-ignore * small nits * small more nits * shrink flamegraph
15 lines
483 B
JavaScript
15 lines
483 B
JavaScript
(function (root, factory) {
|
|
if (typeof exports === "object" && typeof module === "object") {
|
|
root.__umd_minify_value = (module.exports = factory()).value;
|
|
} else if (typeof define === "function" && define.amd) {
|
|
define(function () {
|
|
root.__umd_minify_value = factory().value;
|
|
return factory();
|
|
});
|
|
} else {
|
|
root.__umd_minify_value = factory().value;
|
|
}
|
|
})(this, function () {
|
|
return { value: "ok-umd" };
|
|
});
|