Files
Donny/강동윤andGitHub c662d57342 fix(next-swc): Detect exports.foo from cjs_finder (#61795)
### What?

Patch cjs finder to detect `exports.foo` (instead of module.exports)

### Why?

This causes an issue for `react.production.min.js`.

x-ref: https://vercel.slack.com/archives/C02HY34AKME/p1707343215879979

### How?

Closes PACK-2443
2024-02-08 11:28:33 +09:00

13 lines
436 B
JavaScript

import { _ as _class_call_check } from "@swc/helpers/_/_class_call_check";
import { _ as _sliced_to_array } from "@swc/helpers/_/_sliced_to_array";
import other from "other";
var _other = _sliced_to_array(other, 1), foo = _other[0];
var Foo = function Foo() {
"use strict";
_class_call_check(this, Foo);
};
export var __N_SSG = true;
export default function Home() {
return /*#__PURE__*/ React.createElement("div", null);
}