mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
### What? * add support for esmExternals in pages * fix default of esmExternals to true * fix serverComponentExternalPackages support * add test case fixes PACK-2311 fixes PACK-1916 Fixes https://github.com/vercel/turbo/issues/4544
15 lines
318 B
JavaScript
15 lines
318 B
JavaScript
import React from 'preact/compat'
|
|
import World1 from 'esm-package1/entry'
|
|
import World2 from 'esm-package2/entry'
|
|
import World3 from 'invalid-esm-package/entry'
|
|
|
|
const worlds = 'World+World+World'
|
|
|
|
export default function Index() {
|
|
return (
|
|
<div>
|
|
Hello {World1}+{World2}+{World3}+{worlds}
|
|
</div>
|
|
)
|
|
}
|