Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

edge-ssr: bundle next/dist as ESM for better tree-shaking #40251

Merged
merged 39 commits into from
Sep 26, 2022
Merged
Changes from 1 commit
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
fc675ce
add esm targets
feedthejim Sep 5, 2022
1440ad2
rewrite loader requires
feedthejim Sep 5, 2022
90e6701
update pnpm lockfile
feedthejim Sep 6, 2022
29bceb8
chore: cleanup
feedthejim Sep 6, 2022
e18dde9
remove log
feedthejim Sep 13, 2022
5b26599
delete incorrect build artifacts
feedthejim Sep 13, 2022
66e4685
comment dist module swap
feedthejim Sep 13, 2022
299d206
fix dev mode
feedthejim Sep 14, 2022
c054002
revert pnpm lock file changes
feedthejim Sep 14, 2022
17e371c
add lib as a target
feedthejim Sep 14, 2022
9282e01
revert package.json modification
feedthejim Sep 14, 2022
6d5ef12
avoid adding cjs interop code for esm build
feedthejim Sep 14, 2022
8ec3a6e
fix type import in app.tsx
feedthejim Sep 14, 2022
17f2b71
update export client lib
feedthejim Sep 14, 2022
6a3d03f
Merge remote-tracking branch 'upstream/canary' into next-build-esm
feedthejim Sep 16, 2022
6fcb4d1
Merge branch 'canary' into next-build-esm
feedthejim Sep 19, 2022
f2dbf84
Merge remote-tracking branch 'upstream/canary' into next-build-esm
feedthejim Sep 19, 2022
c77fe29
transpile esm files through SWC
feedthejim Sep 19, 2022
75913c3
update caniuse
feedthejim Sep 19, 2022
87077b8
set caniuse version
feedthejim Sep 19, 2022
a183299
Merge branch 'update-caniuse' into next-build-esm
feedthejim Sep 19, 2022
af84a23
update compiled
ijjk Sep 21, 2022
3f8e343
Merge branch 'canary' into next-build-esm
ijjk Sep 21, 2022
027c6a2
update compiled
ijjk Sep 21, 2022
ed9d86d
add NEXT_RUNTIME='browser'
feedthejim Sep 22, 2022
f218521
Merge remote-tracking branch 'upstream/canary' into next-build-esm
feedthejim Sep 22, 2022
97b8e16
replace NEXT_RUNTIME: 'browser' with undefined
feedthejim Sep 22, 2022
a59d637
add ESM dist support for app loader modules
feedthejim Sep 22, 2022
fdad9c9
fix build
feedthejim Sep 22, 2022
c6fdad0
fix app loader param to use string instead of boolean
feedthejim Sep 22, 2022
712ef33
Merge remote-tracking branch 'upstream/canary' into next-build-esm
feedthejim Sep 26, 2022
23e2f1d
migrate new app loader hooks to use the esm module
feedthejim Sep 26, 2022
6b35ce7
generate different internal chunks for node and edge
shuding Sep 26, 2022
6d3efca
Merge remote-tracking branch 'upstream/canary' into next-build-esm
feedthejim Sep 26, 2022
ff03f4c
Merge remote-tracking branch 'upstream/canary' into next-build-esm
feedthejim Sep 26, 2022
237e7fa
update precompiled files
feedthejim Sep 26, 2022
0c97cba
fix telemetry
feedthejim Sep 26, 2022
5c32774
fix flight manifest for edge ssr
shuding Sep 26, 2022
58f653e
Merge branch 'canary' into next-build-esm
shuding Sep 26, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge remote-tracking branch 'upstream/canary' into next-build-esm
feedthejim committed Sep 19, 2022

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
commit f2dbf8462394472245dab78bf89b2ab0413456ce
17,803 changes: 13,054 additions & 4,749 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

You are viewing a condensed version of this merge commit. You can view the full changes here.