rsnext/packages/next/build/swc/tests/full/example/input.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

18 lines
240 B
JavaScript

import fs from 'fs'
import other from 'other'
const [a, b, ...rest] = fs.promises
const [foo, bar] = other
export async function getStaticProps() {
a
b
rest
bar
}
class Foo {}
export default function Home() {
return <div />
}