mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
### Why? In preparation for moving all turbopack crates Also makes them easier to work with in general. Closes PACK-3164
18 lines
282 B
JavaScript
18 lines
282 B
JavaScript
import fs from 'fs'
|
|
import other from 'other'
|
|
|
|
const { readFile, readdir, access: foo } = fs.promises
|
|
const { a, b, cat: bar, ...rem } = other
|
|
|
|
export async function getStaticProps() {
|
|
readFile
|
|
readdir
|
|
foo
|
|
b
|
|
cat
|
|
rem
|
|
}
|
|
export default function Home() {
|
|
return <div />
|
|
}
|