lilact 0.26.8 → 0.26.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3633,9 +3633,9 @@ function run(jsx, path = `InlineJSX-${++lilact_default.eval_num}`, { isInline, i
3633
3633
  mappings,
3634
3634
  factory: "createComponent",
3635
3635
  appendSourcemap: false,
3636
- blocks_info: lilact_default.blocks_info,
3637
3636
  injectTraceLabels: true,
3638
- produceCJS: true
3637
+ produceCJS: true,
3638
+ blocks_info: lilact_default.blocks_info
3639
3639
  }
3640
3640
  );
3641
3641
  } catch (e) {
@@ -3675,6 +3675,7 @@ function require2(path2) {
3675
3675
  if (el) {
3676
3676
  return run(el.innerText, path2);
3677
3677
  }
3678
+ throw new Error(`Required element not found (${path2})`);
3678
3679
  } else {
3679
3680
  if (requirer && requirer.path) {
3680
3681
  path2 = joinPaths(requirer.path, path2);
@@ -3704,6 +3705,10 @@ function require2(path2) {
3704
3705
  } else {
3705
3706
  const p = (_j = (_i = lilact_default).resolver) == null ? void 0 : _j.call(_i, path2);
3706
3707
  if (p) {
3708
+ if (path2.endsWith(".css")) {
3709
+ injectGlobal(p);
3710
+ return;
3711
+ }
3707
3712
  return run(p, path2, false);
3708
3713
  } else {
3709
3714
  const request = new XMLHttpRequest();