diff options
author | 2023-05-11 20:05:46 -0700 | |
---|---|---|
committer | 2023-05-11 20:05:46 -0700 | |
commit | 0cee7c028a4921c7bac07314513ffab5cc685bff (patch) | |
tree | 10fbc99d325cc166ccd60ad17cba11edd10fc3dc | |
parent | bfcc0b8960646d8e2c16af2f380c30171cc5c80a (diff) | |
download | bun-0cee7c028a4921c7bac07314513ffab5cc685bff.tar.gz bun-0cee7c028a4921c7bac07314513ffab5cc685bff.tar.zst bun-0cee7c028a4921c7bac07314513ffab5cc685bff.zip |
woops
-rw-r--r-- | src/bundler/entry_points.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bundler/entry_points.zig b/src/bundler/entry_points.zig index 4eb973b01..b8414a9a5 100644 --- a/src/bundler/entry_points.zig +++ b/src/bundler/entry_points.zig @@ -191,7 +191,7 @@ pub const ServerEntryPoint = struct { \\var entryNamespace = start; \\var cjs = start?.default; \\if (cjs && typeof cjs === 'function' && cjsSymbol in cjs) {{ - \\ // if you module.exports = (class {}), don't call it + \\ // if you module.exports = (class {{}}), don't call it \\ entryNamespace = ("prototype" in cjs) ? cjs : cjs(); \\}} \\if (typeof entryNamespace?.then === 'function') {{ @@ -234,7 +234,7 @@ pub const ServerEntryPoint = struct { \\var entryNamespace = start; \\var cjs = start?.default; \\if (cjs && typeof cjs === 'function' && cjsSymbol in cjs) {{ - \\ // if you module.exports = (class {}), don't call it + \\ // if you module.exports = (class {{}}), don't call it \\ entryNamespace = ("prototype" in cjs) ? cjs : cjs(); \\}} \\if (typeof entryNamespace?.then === 'function') {{ |