mirror of
https://github.com/hanzoai/vite.git
synced 2026-10-30 19:36:16 +00:00
10 lines
133 B
JavaScript
10 lines
133 B
JavaScript
import foo from './foo'
|
|
|
|
const asyncImport = async () => {
|
|
const { foo } = await import('./foo.js')
|
|
foo()
|
|
}
|
|
|
|
foo()
|
|
asyncImport()
|