Commit e6680dd
committed
fix(runtime): align rspack context global rendering
1 parent d032084 commit e6680dd
235 files changed
Lines changed: 459 additions & 434 deletions
File tree
- crates
- rspack_core/src
- artifacts
- rspack_plugin_javascript/src
- parser_plugin
- packages/rspack/src
- tests/rspack-test
- builtinCases
- plugin-asset
- asset-advanced/__snapshots__
- asset-simple/__snapshots__
- asset-source/__snapshots__
- plugin-css-modules
- modules-composes/__snapshots__
- modules-ident-name/__snapshots__
- plugin-javascript
- builtins-define/__snapshots__
- hashbang/__snapshots__
- provide/__snapshots__
- plugin-json/simple/__snapshots__
- plugin-wasm
- imports-multiple/__snapshots__
- v128/__snapshots__
- rspack
- dynamic-import/__snapshots__
- static-import/__snapshots__
- samples
- ancestor-has-all-modules/__snapshots__
- cycle-dynamic-entry/__snapshots__
- cycle-entry/__snapshots__
- intersection/__snapshots__
- parent-have-partial-module/__snapshots__
- simple/__snapshots__
- swc-loader/minify/__snapshots__
- configCases/externals/reexport-star/__snapshot__
- esmOutputCases
- basic
- tree-shaking/__snapshots__
- dynamic-import
- basic/__snapshots__
- dyn-import-conflict-exports/__snapshots__
- dyn-import-mixed-chunks/__snapshots__
- dyn-import-module-external-namespace-default-named-collision/__snapshots__
- dyn-import-multi-module-duplicate-external/__snapshots__
- dyn-import-multi-module-namespace-named-external/__snapshots__
- dyn-import-three-modules/__snapshots__
- dyn-import-treeshake-real-conflict/__snapshots__
- import-cjs-runtime-chunk-false-async-chunk/__snapshots__
- import-cjs-runtime-chunk-false-entry-export/__snapshots__
- import-cjs/__snapshots__
- import-context-css/__snapshots__
- import-context-lazy/__snapshots__
- import-context-multi-chunk/__snapshots__
- import-context-multi-entry/__snapshots__
- import-context-prefetch-preload/__snapshots__
- magic-comment/__snapshots__
- externals
- dynamic-import-commonjs-require-collision/__snapshots__
- dynamic-import-node-commonjs-helper-collision/__snapshots__
- esm-node-target/__snapshots__
- node-commonjs-export-namespace-as-with-named/__snapshots__
- node-commonjs-import-namespace-reexport-with-named/__snapshots__
- node-commonjs-namespace-name-collision-across-modules/__snapshots__
- node-commonjs-wrapper-namespace-reexport/__snapshots__
- reexport-star-as-namespace-via-module-with-own-export/__snapshots__
- reexport-star-as-namespace-via-module/__snapshots__
- interop/namespace-import-asset/__snapshots__
- namespace
- basic-capture/__snapshots__
- basic-cjs-capture/__snapshots__
- default-only-object/__snapshots__
- empty-modules-default-property/__snapshots__
- empty-modules-missing-property/__snapshots__
- export-namespace-as-cjs/__snapshots__
- export-namespace-as/__snapshots__
- export-self-as-namespace/__snapshots__
- import-export-namespace-as-cjs/__snapshots__
- import-export-namespace-as/__snapshots__
- import-export-self-as-namespace/__snapshots__
- import-of-export-namespace-as-capture/__snapshots__
- import-of-export-star-as/__snapshots__
- import-of-re-export-star-capture/__snapshots__
- missing-export-capture/__snapshots__
- missing-export-cjs-capture/__snapshots__
- missing-export-no-capture/__snapshots__
- no-treeshake-object/__snapshots__
- optimization-in-operator/__snapshots__
- optional-chaining/__snapshots__
- re-export-named-missing-export-capture/__snapshots__
- re-export-named-missing-export-no-capture/__snapshots__
- re-export-namespace-missing-export-capture/__snapshots__
- re-export-namespace-missing-export-no-capture/__snapshots__
- re-export-self-as-namespace/__snapshots__
- re-export-self-import-export-as-namespace/__snapshots__
- re-export-star-missing-export-capture/__snapshots__
- re-export-star-missing-export-no-capture/__snapshots__
- re-export-star/__snapshots__
- reexport-self-cycle/__snapshots__
- self-import-cycle/__snapshots__
- side-effect-free-modules-default-property/__snapshots__
- side-effect-free-modules-missing-property/__snapshots__
- star-export-as-namespace-cjs/__snapshots__
- star-export-as-namespace/__snapshots__
- tostring-inlined-namespace/__snapshots__
- tostring-static-resolution/__snapshots__
- preserve-modules/namespace-object-bare-import/__snapshots__
- re-exports
- cjs-entry/__snapshots__
- deep-re-export-external/__snapshots__
- deep-re-exports-esm-2/__snapshots__
- default-namespace-external/__snapshots__
- default-re-export-external/__snapshots__
- string-export-star-as-namespace/__snapshots__
- wrapped-esm-entry/__snapshots__
- hotCases
- asset/parser-and-generator-states/__snapshots__/web
- child-compiler/issue-9706/__snapshots__/web
- chunks
- dynamic-system-import/__snapshots__/web
- system-import/__snapshots__/web
- update-chunk-loading-runtime/__snapshots__/web
- chunk
- accept-system-import-webpackhot/__snapshots__/web
- accept-system-import/__snapshots__/web
- ensure-chunk-change-to-promise-all/__snapshots__/web
- code-generation
- this-in-accept-webpackhot/__snapshots__/web
- this-in-accept/__snapshots__/web
- concat
- reload-compat-flag/__snapshots__/web
- reload-external/__snapshots__/web
- conditional-runtime/accept-conditional/__snapshots__/web
- context/request-position/__snapshots__/web
- css
- css-extract/__snapshots__/web
- css-loading-unique-name/__snapshots__/web
- css-modules-style/__snapshots__/web
- css-modules/__snapshots__/web
- fetch-priority/__snapshots__/web
- parser-and-generator-states/__snapshots__/web
- recovery-cacheable/__snapshots__/web
- recovery/__snapshots__/web
- vanilla/__snapshots__/web
- define/issue-6962/__snapshots__/web
- determinism/issue-10174/__snapshots__/web
- disposing
- runtime-independent-filename/__snapshots__/web
- errors
- decline-webpackhot/__snapshots__/web
- decline/__snapshots__/web
- events/__snapshots__/web
- self-decline/__snapshots__/web
- unaccepted-ignored/__snapshots__/web
- unaccepted/__snapshots__/web
- esm-dependency-import
- import-meta-webpack-hot/__snapshots__/web
- module-hot/__snapshots__/web
- harmony
- auto-import-multiple/__snapshots__/web
- auto-import/__snapshots__/web
- auto-reexport/__snapshots__/web
- cjs-analyze-changed/__snapshots__/web
- hashing
- exports-info-influence/__snapshots__/web
- full-hash-main/__snapshots__/web
- hash/hot-index/__snapshots__/web
- lazy-compilation
- context/__snapshots__/web
- loader/import-module-1/__snapshots__/web
- make
- clean-isolated-cycle/__snapshots__/web
- clean-isolated-module/__snapshots__/web
- fix-issuer/__snapshots__/web
- issue-10915/__snapshots__/web
- rebuild-abnormal-module/__snapshots__/web
- module-graph/import-order-change/__snapshots__/web
- module/build-info/__snapshots__/web
- newTreeshaking
- auto-reexport/__snapshots__/web
- re-export-optimization/__snapshots__/web
- numeric-ids
- add-remove-chunks/__snapshots__/web
- production/__snapshots__/web
- parsing/hot-api-optional-chaining/__snapshots__/web
- plugins/html/__snapshots__/web
- recover
- recover-after-error/__snapshots__/web
- recover-after-loader-error/__snapshots__/web
- recover-after-parsing-error/__snapshots__/web
- recover-after-removal-self-accepted/__snapshots__/web
- recover-after-self-error/__snapshots__/web
- runtime
- circular/__snapshots__/web
- dispose-removed-chunk/__snapshots__/web
- dispose-removed-module/__snapshots__/web
- hmr-circular/__snapshots__/web
- import-after-download/__snapshots__/web
- replace-runtime-module/__snapshots__/web
- require-disposed-module-warning/__snapshots__/web
- source-map
- disable/__snapshots__/web
- enable/__snapshots__/web
- stats/chunks/__snapshots__/web
- status/check/__snapshots__/web
- unexpected-invalidation/used-exports/__snapshots__/web
- worker
- issue-5597/__snapshots__/web
- move-between-runtime/__snapshots__/web
- update-in-worker/__snapshots__/web
- statsAPICases
- statsOutputCases
- all-stats/__snapshots__
- immutable/__snapshots__
- issue-7577/__snapshots__
- treeShakingCases
- cjs-tree-shaking-basic/__snapshots__
- context-module/__snapshots__
- export-imported-import-all-as/__snapshots__
- export-named-decl-as/__snapshots__
- export-star-chain/__snapshots__
- export_star/__snapshots__
- import-star-as-and-export/__snapshots__
- transitive-bailout/__snapshots__
- tree-shaking-interop/__snapshots__
- tree-shaking-lazy-import/__snapshots__
- webpack-inner-graph-switch/__snapshots__
- webpack-innergraph-circular/__snapshots__
- webpack-innergraph-no-side-effects/__snapshots__
- webpack-innergraph-try-globals/__snapshots__
- webpack-reexport-namespace-and-default/__snapshots__
- watchCases/async-modules/top-level-await/0
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
389 | 389 | | |
390 | 390 | | |
391 | 391 | | |
392 | | - | |
| 392 | + | |
393 | 393 | | |
394 | 394 | | |
395 | 395 | | |
| |||
528 | 528 | | |
529 | 529 | | |
530 | 530 | | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
531 | 539 | | |
532 | 540 | | |
533 | 541 | | |
| |||
536 | 544 | | |
537 | 545 | | |
538 | 546 | | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
539 | 555 | | |
540 | 556 | | |
541 | 557 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
295 | 295 | | |
296 | 296 | | |
297 | 297 | | |
298 | | - | |
| 298 | + | |
299 | 299 | | |
300 | 300 | | |
301 | 301 | | |
| |||
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
204 | 204 | | |
205 | 205 | | |
206 | 206 | | |
207 | | - | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
208 | 210 | | |
209 | 211 | | |
210 | 212 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
514 | 514 | | |
515 | 515 | | |
516 | 516 | | |
517 | | - | |
| 517 | + | |
518 | 518 | | |
519 | 519 | | |
520 | 520 | | |
| |||
564 | 564 | | |
565 | 565 | | |
566 | 566 | | |
567 | | - | |
| 567 | + | |
568 | 568 | | |
569 | 569 | | |
570 | 570 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
508 | 508 | | |
509 | 509 | | |
510 | 510 | | |
511 | | - | |
| 511 | + | |
512 | 512 | | |
513 | 513 | | |
514 | 514 | | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
515 | 522 | | |
516 | 523 | | |
517 | 524 | | |
518 | 525 | | |
519 | 526 | | |
520 | 527 | | |
521 | | - | |
| 528 | + | |
522 | 529 | | |
523 | | - | |
| 530 | + | |
524 | 531 | | |
525 | 532 | | |
526 | 533 | | |
| |||
560 | 567 | | |
561 | 568 | | |
562 | 569 | | |
563 | | - | |
| 570 | + | |
564 | 571 | | |
565 | 572 | | |
566 | 573 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| |||
0 commit comments