mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
### 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
13 lines
436 B
JavaScript
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);
|
|
}
|