aboutsummaryrefslogtreecommitdiff
path: root/integration/snapshots/export.hmr.js
blob: 73d6db2d467444cf01dd4a0b9c67da7acd04c1b8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
import {
__HMRClient as Bun
} from "http://localhost:3000/bun:wrap";
Bun.activate(true);
import {
__FastRefreshModule as FastHMR
} from "http://localhost:3000/bun:wrap";
import {
__FastRefreshRuntime as FastRefresh
} from "http://localhost:3000/bun:wrap";
import what from "http://localhost:3000/_auth.js";
import * as where from "http://localhost:3000/_auth.js";
var hmr = new FastHMR(1879780259, "export.js", FastRefresh), exports = hmr.exports;
(hmr._load = function() {
  var yoyoyo = "yoyoyo";
  function hey() {
    return true;
  }
  var foo = () => {
  };
  var bar = 100;
  var powerLevel = Symbol("9001");
  function test() {
    hey();
    foo();
    if (where.default !== "hi")
      throw new Error(`_auth import is incorrect.`);
    console.assert(powerLevel.description === "9001", "Symbol is not exported correctly");
    return testDone(import.meta.url);
  }
  hmr.exportAll({
    yoyoyo: () => yoyoyo,
    default: () => hey,
    foo: () => foo,
    bar: () => bar,
    powerLevel: () => powerLevel,
    what: () => what,
    when: () => what,
    whence: () => what,
    where: () => where,
    booop: () => bar,
    test: () => test
  });
})();
var $$hmr_yoyoyo = hmr.exports.yoyoyo, $$hmr_default = hmr.exports.default, $$hmr_foo = hmr.exports.foo, $$hmr_bar = hmr.exports.bar, $$hmr_powerLevel = hmr.exports.powerLevel, $$hmr_what = hmr.exports.what, $$hmr_when = hmr.exports.when, $$hmr_whence = hmr.exports.whence, $$hmr_where = hmr.exports.where, $$hmr_booop = hmr.exports.booop, $$hmr_test = hmr.exports.test;
hmr._update = function(exports) {
  $$hmr_yoyoyo = exports.yoyoyo;
  $$hmr_default = exports.default;
  $$hmr_foo = exports.foo;
  $$hmr_bar = exports.bar;
  $$hmr_powerLevel = exports.powerLevel;
  $$hmr_what = exports.what;
  $$hmr_when = exports.when;
  $$hmr_whence = exports.whence;
  $$hmr_where = exports.where;
  $$hmr_booop = exports.booop;
  $$hmr_test = exports.test;
};

export {
  $$hmr_yoyoyo as yoyoyo,
  $$hmr_default as default,
  $$hmr_foo as foo,
  $$hmr_bar as bar,
  $$hmr_powerLevel as powerLevel,
  $$hmr_what as what,
  $$hmr_when as when,
  $$hmr_whence as whence,
  $$hmr_where as where,
  $$hmr_booop as booop,
  $$hmr_test as test
};
export { default as auth } from "http://localhost:3000/_auth.js";
export { default as login } from "http://localhost:3000/_login.js";
export * from "http://localhost:3000/_bacon.js";
export {  } from "http://localhost:3000/_bacon.js";

//# sourceMappingURL=http://localhost:3000/export.js.map