rsnext/packages/next/build/swc/tests/full/example/output.js
Donny/강동윤 f1c62d5073
feat(build/swc): Add debug utilities (#29730)
* Make debug build faster

* Organize for easier testing

* Add example tests

* Test system

* Update test refs

* Ensure that we are fully processing

* Update test refs

* Update test system

* Update swc

* Fix

* Update test refs

* Update test refs

* Ignore tests in nextbuild task

* Fix attrs

* Add a test

* Update test refs

* Add a test

* Fix hygiene bug

* Update test refs

* Update swc

* Build next-swc binaries

Co-authored-by: Tim Neutkens <timneutkens@me.com>
Co-authored-by: kdy1 <kdy1@users.noreply.github.com>
2021-10-10 07:25:15 +02:00

36 lines
1 KiB
JavaScript

import a from "other";
function _arrayWithHoles(b) {
if (Array.isArray(b)) return b;
}
function _classCallCheck(c, d) {
if (!(c instanceof d)) throw new TypeError("Cannot call a class as a function");
}
function _iterableToArrayLimit(b, e) {
var f = [], g = !0, h = !1, i = void 0;
try {
for(var j, k = b[Symbol.iterator](); !(g = (j = k.next()).done) && (f.push(j.value), !e || f.length !== e); g = !0);
} catch (l) {
h = !0, i = l;
} finally{
try {
g || null == k.return || k.return();
} finally{
if (h) throw i;
}
}
return f;
}
function _nonIterableRest() {
throw new TypeError("Invalid attempt to destructure non-iterable instance");
}
function _slicedToArray(b, e) {
return _arrayWithHoles(b) || _iterableToArrayLimit(b, e) || _nonIterableRest();
}
var foo = _slicedToArray(a, 1)[0], Foo = function() {
"use strict";
_classCallCheck(this, Foo);
};
export var __N_SSG = !0;
export default function Home() {
return React.createElement("div", null);
};