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

Add new target for middleware #30299

Merged
merged 34 commits into from
Oct 26, 2021
Merged
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
2c9d5a7
init
shuding Oct 26, 2021
abfa8f5
clean up
shuding Oct 26, 2021
61bc942
fix tests
huozhi Oct 26, 2021
2260522
resolve conflicts
huozhi Oct 26, 2021
a483027
leverage existing acorn
huozhi Oct 26, 2021
5de82b4
fix exports detection
huozhi Oct 26, 2021
ef76d1f
fix lint
huozhi Oct 26, 2021
31319e5
fix dev mode test stucking
huozhi Oct 26, 2021
b883bc2
add server web output, fix lint
huozhi Oct 26, 2021
bf5aeb3
missing api change
huozhi Oct 26, 2021
fba5363
rename loaders, dedupe log
huozhi Oct 26, 2021
c501c20
merge middleware ssr into finalizeEntrypoint
huozhi Oct 26, 2021
4742cec
update based on feedbacks
huozhi Oct 26, 2021
87c58dc
reverted changes
huozhi Oct 26, 2021
3e2a8ab
re-enable cacheUnaffected
sokra Oct 26, 2021
0c6aab7
assign library only for client compiler (it's only used for middleware)
sokra Oct 26, 2021
b6c042c
fix import trace regexp
sokra Oct 26, 2021
a3af7da
Revert "assign library only for client compiler (it's only used for m…
sokra Oct 26, 2021
994e813
fix next image and fallback cache on non rsc page
huozhi Oct 26, 2021
7e10dd9
run next-flight-loaders only on user code
sokra Oct 26, 2021
72243a2
Merge branch 'canary' into shu/fa2e
sokra Oct 26, 2021
e88f268
dynamic require webpack render lib
huozhi Oct 26, 2021
d3c7ad0
some middleware fixes
sokra Oct 26, 2021
1ad0d55
fix middleware core test
sokra Oct 26, 2021
82171e1
v12.0.0
timneutkens Oct 26, 2021
022a604
escaping fixes
sokra Oct 26, 2021
b141093
wrap rsc client code in a feature flag
sokra Oct 26, 2021
94fe8d8
Merge branch 'canary' into shu/fa2e
sokra Oct 26, 2021
6ab6ccd
adjust test
shuding Oct 26, 2021
2f422b5
simplify code
shuding Oct 26, 2021
2fbfc2b
restore providedExports
sokra Oct 26, 2021
183786c
fix windows bug
sokra Oct 26, 2021
189dc51
fix test case
shuding Oct 26, 2021
2d42284
Merge branch 'canary' into shu/fa2e
sokra Oct 26, 2021
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
re-enable cacheUnaffected
  • Loading branch information
sokra committed Oct 26, 2021
commit 3e2a8abee928c7694c38069a4a507c644b18c3cf
2 changes: 1 addition & 1 deletion packages/next/build/webpack-config.ts
Original file line number Diff line number Diff line change
@@ -1425,7 +1425,7 @@ export default async function getBaseWebpackConfig(

webpack5Config.experiments = {
layers: true,
cacheUnaffected: false, // Disabled for now due to a webpack bug
cacheUnaffected: true,
buildHttp: Array.isArray(config.experimental.urlImports)
? {
allowedUris: config.experimental.urlImports,