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

feat: support getResolve in external function context #8577

Merged
merged 3 commits into from
Dec 6, 2024

Conversation

fi3ework
Copy link
Member

Summary

Cherry-pick bb4be30 (#7348) and 22a0cb4 (#7348) from #7348, to support getResolve in external function.

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

@fi3ework fi3ework marked this pull request as draft November 29, 2024 09:29
@github-actions github-actions bot added the team The issue/pr is created by the member of Rspack. label Nov 29, 2024
Copy link

netlify bot commented Nov 29, 2024

Deploy Preview for rspack canceled.

Name Link
🔨 Latest commit 839855d
🔍 Latest deploy log https://app.netlify.com/sites/rspack/deploys/67528eb3efd3c20008a6209b

@fi3ework fi3ework changed the title external function getResolve feat: support getResolve in external function context Nov 29, 2024
@github-actions github-actions bot added the release: feature release: feature related release(mr only) label Nov 29, 2024
Copy link
Contributor

github-actions bot commented Nov 29, 2024

Test Compatibility Diff

main pr diff
77.329% 77.376% ✅ ⏫ 0.047
Unpassed tests

4 🔴 Stats chunkGroups: TODO
5 🔴 Stats chunkGroups: TODO
6 🔴 Stats chunkGroups: TODO
11 🔴 Compiler: TODO
12 🔴 Compiler: TODO
13 🔴 Compiler: TODO
14 🔴 Compiler: TODO
15 🔴 Compiler: TODO
18 🔴 Compiler methods isChild: TODO
30 🔴 Compiler: TODO
32 🔴 Compiler: TODO
36 🔴 Compiler: TODO
39 🔴 Compiler: TODO
41 🔴 Compiler: TODO
60 🔴 MultiCompiler: TODO
65 ⚪️ Examples aggressive-merging: TODO
66 ⚪️ Examples asset-advanced: TODO
73 ⚪️ Examples cjs-tree-shaking: TODO
80 ⚪️ Examples code-splitting-bundle-loader: TODO
97 ⚪️ Examples common-chunk-grandchildren: TODO
102 ⚪️ Examples custom-json-modules: TODO
103 ⚪️ Examples dll: TODO
104 ⚪️ Examples dll-app-and-vendor/0-vendor: TODO
105 ⚪️ Examples dll-app-and-vendor/1-app: TODO
106 ⚪️ Examples dll-entry-only: TODO
107 ⚪️ Examples dll-user: TODO
108 ⚪️ Examples explicit-vendor-chunk: TODO
123 ⚪️ Examples http2-aggressive-splitting: TODO
126 ⚪️ Examples lazy-compilation: TODO
137 ⚪️ Examples module-federation: TODO
150 ⚪️ Examples persistent-caching: TODO
167 ⚪️ Examples typescript: TODO
175 ⚪️ aggressive-splitting-entry: TODO
176 🔴 aggressive-splitting-on-demand: support webpack.optimize.AggressiveSplittingPlugin
177 🔴 all-stats: support webpack.optimize.AggressiveSplittingPlugin
180 🔴 async-commons-chunk: #4313
181 🟡 async-commons-chunk-auto: check the consistency with webpack
183 🔴 chunk-module-id-range: support ChunkModuleIdRangePlugin
184 🔴 chunks: support AMD require
185 🔴 chunks-development: support AMD require
189 🔴 color-enabled-custom: support color object
191 🔴 commons-chunk-min-size-0: Method RegExp.prototype.test called on incompatible receiver undefined
193 🟡 commons-plugin-issue-4980: check the consistency with webpack
194 🟡 concat-and-sideeffects: check the consistency with webpack
195 🔴 context-independence: hash changed
197 🔴 define-plugin: webpack.DefinePlugin.runtimeValue is not a function
198 🔴 details-error: custom error details
199 🔴 dll-reference-plugin-issue-7624: webpack.DllReferencePlugin is not a constructor
200 🔴 dll-reference-plugin-issue-7624-error: webpack.DllReferencePlugin is not a constructor
201 🔴 entry-filename: unstable
204 🟡 graph-correctness-entries: check the consistency with webpack
205 🟡 graph-correctness-modules: check the consistency with webpack
206 🟡 graph-roots: check the consistency with webpack
207 🟡 ignore-warnings: check the consistency with webpack
210 🟡 import-weak: check the consistency with webpack
211 🟡 import-weak-parser-option: check the consistency with webpack
213 🟡 issue-7577: check the consistency with webpack
215 🔴 logging: unstable
216 🟡 logging-debug: check the consistency with webpack
219 🟡 module-assets: check the consistency with webpack
220 🟡 module-deduplication: check the consistency with webpack
221 🟡 module-deduplication-named: check the consistency with webpack
222 🔴 module-federation-custom-exposed-module-name: build failed
224 🟡 module-reasons: check the consistency with webpack
227 🟡 named-chunk-groups: check the consistency with webpack
229 ⚪️ named-chunks-plugin-async: TODO
230 🔴 no-emit-on-errors-plugin-with-child-error: support NoEmitOnErrorsPlugin
235 🔴 performance-disabled: support AMD require
236 🔴 performance-error: support AMD require
238 🔴 performance-no-hints: support AMD require
243 🔴 preset-detailed: support AMD require
247 🔴 preset-minimal: support AMD require
253 🔴 preset-normal: support AMD require
254 🔴 preset-normal-performance: support AMD require
255 🔴 preset-normal-performance-ensure-filter-sourcemaps: support AMD require
257 🔴 preset-verbose: suport AMD require
258 🔴 real-content-hash: unstable
259 🟡 related-assets: check the consistency with webpack
260 🔴 resolve-plugin-context: support resolve plugins
263 🔴 runtime-chunk-integration: support MinChunkSizePlugin
266 🟡 runtime-specific-used-exports: check the consistency with webpack
267 🔴 scope-hoisting-bailouts: unstable
268 🟡 scope-hoisting-multi: check the consistency with webpack
269 🟡 side-effects-issue-7428: check the consistency with webpack
270 🔴 side-effects-optimization: unstable
271 🟡 side-effects-simple-unused: check the consistency with webpack
272 🔴 simple: unstable
273 🔴 simple-more-info: unstable
275 🟡 split-chunks-automatic-name: check the consistency with webpack
276 🟡 split-chunks-chunk-name: check the consistency with webpack
277 🟡 split-chunks-combinations: check the consistency with webpack
278 🟡 split-chunks-issue-6413: check the consistency with webpack
279 🟡 split-chunks-issue-6696: check the consistency with webpack
280 🟡 split-chunks-issue-7401: check the consistency with webpack
281 🟡 split-chunks-keep-remaining-size: check the consistency with webpack
282 🔴 split-chunks-max-size: unstable
283 🟡 split-chunks-min-size-reduction: check the consistency with webpack
284 🟡 split-chunks-prefer-bigger-splits: check the consistency with webpack
285 🟡 split-chunks-runtime-specific: check the consistency with webpack
286 🔴 tree-shaking: support require.include
287 ⚪️ wasm-explorer-examples-sync: TODO
380 ⚪️ HotTestCases async-node chunks split-chunks: TODO
381 ⚪️ HotTestCases async-node chunks split-chunks-webpackhot: TODO
410 ⚪️ HotTestCases async-node define issue-6962: TODO
423 ⚪️ HotTestCases async-node disposing runtime-independent-filename: TODO
481 ⚪️ HotTestCases async-node hashing full-hash-syntax-error: TODO
499 ⚪️ HotTestCases async-node lazy-compilation https: TODO
508 ⚪️ HotTestCases async-node lazy-compilation simple: TODO
513 ⚪️ HotTestCases async-node loader-import-module css: TODO
514 ⚪️ HotTestCases async-node numeric-ids add-remove-chunks: TODO
579 ⚪️ HotTestCases async-node runtime root-error: TODO
612 🔴 HotTestCases async-node worker move-between-runtime: #5597
613 ⚪️ HotTestCases async-node worker remove-add-worker: TODO
635 ⚪️ HotTestCases webworker chunks split-chunks: TODO
636 ⚪️ HotTestCases webworker chunks split-chunks-webpackhot: TODO
665 ⚪️ HotTestCases webworker define issue-6962: TODO
678 ⚪️ HotTestCases webworker disposing runtime-independent-filename: TODO
736 ⚪️ HotTestCases webworker hashing full-hash-syntax-error: TODO
754 ⚪️ HotTestCases webworker lazy-compilation https: TODO
763 ⚪️ HotTestCases webworker lazy-compilation simple: TODO
768 ⚪️ HotTestCases webworker loader-import-module css: TODO
769 ⚪️ HotTestCases webworker numeric-ids add-remove-chunks: TODO
834 ⚪️ HotTestCases webworker runtime root-error: TODO
867 🔴 HotTestCases webworker worker move-between-runtime: #5597
893 ⚪️ HotTestCases node chunks split-chunks: TODO
894 ⚪️ HotTestCases node chunks split-chunks-webpackhot: TODO
923 ⚪️ HotTestCases node define issue-6962: TODO
936 ⚪️ HotTestCases node disposing runtime-independent-filename: TODO
994 ⚪️ HotTestCases node hashing full-hash-syntax-error: TODO
1012 ⚪️ HotTestCases node lazy-compilation https: TODO
1021 ⚪️ HotTestCases node lazy-compilation simple: TODO
1026 ⚪️ HotTestCases node loader-import-module css: TODO
1027 ⚪️ HotTestCases node numeric-ids add-remove-chunks: TODO
1092 ⚪️ HotTestCases node runtime root-error: TODO
1125 🔴 HotTestCases node worker move-between-runtime: #5597
1151 ⚪️ HotTestCases web chunks split-chunks: TODO
1152 ⚪️ HotTestCases web chunks split-chunks-webpackhot: TODO
1181 ⚪️ HotTestCases web define issue-6962: TODO
1194 ⚪️ HotTestCases web disposing runtime-independent-filename: TODO
1252 ⚪️ HotTestCases web hashing full-hash-syntax-error: TODO
1270 ⚪️ HotTestCases web lazy-compilation https: TODO
1279 ⚪️ HotTestCases web lazy-compilation simple: TODO
1284 ⚪️ HotTestCases web loader-import-module css: TODO
1285 ⚪️ HotTestCases web numeric-ids add-remove-chunks: TODO
1350 ⚪️ HotTestCases web runtime root-error: TODO
1383 🔴 HotTestCases web worker move-between-runtime: #5597
1393 🔴 TestCases normal amd define-needs-module: #4313
1394 🔴 TestCases normal amd namedModules: #4313
1395 🔴 TestCases normal amd namedModulesConstArrayDep: #4313
1453 🔴 TestCases normal chunks runtime: flagIncludedChunks
1455 🟡 TestCases normal chunks weak-dependencies: #2787
1553 🟡 TestCases normal cjs-tree-shaking bailouts: #4313
1703 🔴 TestCases normal context import-meta-webpack-context: #4305
1777 🔴 TestCases normal errors load-module-cycle: #3738
1778 🔴 TestCases normal errors load-module-cycle-multiple: #3738
1779 🔴 TestCases normal errors load-module-error: #3738
1907 🔴 TestCases normal json import-assertions-type-json: Rspack don't support import assertions since it's deprecated
1969 🔴 TestCases normal large big-assets: #3180
1970 ⚪️ TestCases normal large many-replacements: TODO
1978 🔴 TestCases normal loaders issue-10725: blocked by this.loadModule #3738
1979 🔴 TestCases normal loaders issue-2299: blocked by this.loadModule #3738
1980 🔴 TestCases normal loaders issue-4959: blocked by this.loadModule #3738
1984 🔴 TestCases normal loaders no-string: blocked by #3459
1989 🔴 TestCases normal loaders utils: #4397
2063 🔴 TestCases normal mjs type-module: compile time evaluation typeof and amd
2143 🔴 TestCases normal nonce set-nonce: #4401
2151 🔴 TestCases normal optimize side-effects-reexport-start-unknown: new tree-shaking re-implementation
2218 🔴 TestCases normal parsing amd-rename: #4313
2228 🟡 TestCases normal parsing complex-require: #4313
2229 🔴 TestCases normal parsing context: #3346
2230 🔴 TestCases normal parsing declared-api: #4313
2234 🟡 TestCases normal parsing evaluate: should not evaluate new RegExp for redefined RegExp
2236 🔴 TestCases normal parsing extract-amd: #4313
2237 🔴 TestCases normal parsing extract-amd.nominimize: #4313
2238 🟡 TestCases normal parsing extract-require: should not parse require in function arguments
2255 🔴 TestCases normal parsing harmony-injecting-order: #4313
2277 🔴 TestCases normal parsing issue-2084: #4313
2287 🔴 TestCases normal parsing issue-2641: #4313
2291 ⚪️ TestCases normal parsing issue-3252: TODO
2292 ⚪️ TestCases normal parsing issue-3273: TODO
2293 🔴 TestCases normal parsing issue-345: #4313
2295 🔴 TestCases normal parsing issue-387: #4313
2306 🔴 TestCases normal parsing issue-4940: #4313
2315 🔴 TestCases normal parsing issue-758: #4313
2321 🔴 TestCases normal parsing local-modules: #4313
2325 🔴 TestCases normal parsing nullish-coalescing: #4300
2329 🔴 TestCases normal parsing precreated-ast: #4442
2330 🔴 TestCases normal parsing renaming: #4313, #3346
2334 🔴 TestCases normal parsing strict-mode: #4313
2336 🟡 TestCases normal parsing typeof: require.include
2338 🔴 TestCases normal parsing unsupported-amd: #4313
2884 🔴 TestCases normal resolving commomjs-local-module: #4313
2888 🔴 TestCases normal resolving issue-2986: #4348
2932 🔴 TestCases normal runtime chunk-callback-order: #4313
3016 ⚪️ TestCases normal scope-hoisting renaming-shorthand-5027: TODO
3283 ⚪️ TestCases normal wasm v128: TODO
3382 🔴 TestCases hot amd define-needs-module: #4313
3383 🔴 TestCases hot amd namedModules: #4313
3384 🔴 TestCases hot amd namedModulesConstArrayDep: #4313
3442 🔴 TestCases hot chunks runtime: flagIncludedChunks
3444 🟡 TestCases hot chunks weak-dependencies: #2787
3542 🟡 TestCases hot cjs-tree-shaking bailouts: #4313
3692 🔴 TestCases hot context import-meta-webpack-context: #4305
3766 🔴 TestCases hot errors load-module-cycle: #3738
3767 🔴 TestCases hot errors load-module-cycle-multiple: #3738
3768 🔴 TestCases hot errors load-module-error: #3738
3896 🔴 TestCases hot json import-assertions-type-json: Rspack don't support import assertions since it's deprecated
3958 🔴 TestCases hot large big-assets: #3180
3959 ⚪️ TestCases hot large many-replacements: TODO
3967 🔴 TestCases hot loaders issue-10725: blocked by this.loadModule #3738
3968 🔴 TestCases hot loaders issue-2299: blocked by this.loadModule #3738
3969 🔴 TestCases hot loaders issue-4959: blocked by this.loadModule #3738
3973 🔴 TestCases hot loaders no-string: blocked by #3459
3978 🔴 TestCases hot loaders utils: #4397
4052 🔴 TestCases hot mjs type-module: compile time evaluation typeof and amd
4132 🔴 TestCases hot nonce set-nonce: #4401
4140 🔴 TestCases hot optimize side-effects-reexport-start-unknown: new tree-shaking re-implementation
4207 🔴 TestCases hot parsing amd-rename: #4313
4217 🟡 TestCases hot parsing complex-require: #4313
4218 🔴 TestCases hot parsing context: #3346
4219 🔴 TestCases hot parsing declared-api: #4313
4223 🟡 TestCases hot parsing evaluate: should not evaluate new RegExp for redefined RegExp
4225 🔴 TestCases hot parsing extract-amd: #4313
4226 🔴 TestCases hot parsing extract-amd.nominimize: #4313
4227 🟡 TestCases hot parsing extract-require: should not parse require in function arguments
4244 🔴 TestCases hot parsing harmony-injecting-order: #4313
4266 🔴 TestCases hot parsing issue-2084: #4313
4276 🔴 TestCases hot parsing issue-2641: #4313
4280 ⚪️ TestCases hot parsing issue-3252: TODO
4281 ⚪️ TestCases hot parsing issue-3273: TODO
4282 🔴 TestCases hot parsing issue-345: #4313
4284 🔴 TestCases hot parsing issue-387: #4313
4295 🔴 TestCases hot parsing issue-4940: #4313
4304 🔴 TestCases hot parsing issue-758: #4313
4310 🔴 TestCases hot parsing local-modules: #4313
4314 🔴 TestCases hot parsing nullish-coalescing: #4300
4318 🔴 TestCases hot parsing precreated-ast: #4442
4319 🔴 TestCases hot parsing renaming: #4313, #3346
4323 🔴 TestCases hot parsing strict-mode: #4313
4325 🟡 TestCases hot parsing typeof: require.include
4327 🔴 TestCases hot parsing unsupported-amd: #4313
4875 🔴 TestCases hot resolving commomjs-local-module: #4313
4879 🔴 TestCases hot resolving issue-2986: #4348
4923 🔴 TestCases hot runtime chunk-callback-order: #4313
5007 ⚪️ TestCases hot scope-hoisting renaming-shorthand-5027: TODO
5274 ⚪️ TestCases hot wasm v128: TODO
5373 🔴 ConfigTestCases additional-pass simple simple: #8485
5379 ⚪️ ConfigTestCases asset-emitted normal normal: TODO
5388 🔴 ConfigTestCases asset-modules custom-condition custom-condition: #8488
5425 🔴 ConfigTestCases asset-modules global-options global-options: #8488
5426 🔴 ConfigTestCases asset-modules http-url http-url: #8490
5427 🔴 ConfigTestCases asset-modules ignore ignore: #8531
5460 🔴 ConfigTestCases asset-modules query-and-custom-condition query-and-custom-condition: #8488
5461 🔴 ConfigTestCases asset-modules query-and-custom-encoder query-and-custom-encoder: #8538
5470 🔴 ConfigTestCases asset-modules rule-generator-outputPath rule-generator-outputPath: #8539
5503 ⚪️ ConfigTestCases asset-url target-node3 target-node3: TODO
5525 🔴 ConfigTestCases async-commons-chunk all-selected all-selected: #4313
5530 🔴 ConfigTestCases async-commons-chunk existing-name existing-name: #4313
5539 🔴 ConfigTestCases async-commons-chunk simple simple: #4313
5547 ⚫️ ConfigTestCases cache-dependencies managed-items managed-items: No plan
5548 ⚫️ ConfigTestCases cache-dependencies managed-items-unsafe-cache managed-items-unsafe-cache: No plan
5564 🔴 ConfigTestCases chunk-index order-multiple-entries order-multiple-entries: #8548
5565 🔴 ConfigTestCases clean dry dry: #8549
5570 🔴 ConfigTestCases clean ignore-fn ignore-fn: #7822
5571 🔴 ConfigTestCases clean ignore-hook ignore-hook: #8603
5572 🔴 ConfigTestCases clean ignore-rx ignore-rx: #7822
5573 ⚪️ ConfigTestCases clean link link: TODO
5578 ⚪️ ConfigTestCases code-generation require-context-id require-context-id: TODO
5601 🔴 ConfigTestCases concatenate-modules import-module import-module: #8447
5715 🔴 ConfigTestCases contenthash assets assets: #8604
5716 🔴 ConfigTestCases contenthash include-chunk-id include-chunk-id: #8605
5717 ⚪️ ConfigTestCases context-exclusion simple simple: TODO
5722 ⚪️ ConfigTestCases context-replacement a a: TODO
5731 ⚪️ ConfigTestCases context-replacement d d: TODO
5732 ⚪️ ConfigTestCases context-replacement e e: TODO
5758 ⚪️ ConfigTestCases css css-modules css-modules: TODO
5759 ⚪️ ConfigTestCases css css-modules-in-node css-modules-in-node: TODO
5765 ⚪️ ConfigTestCases css exports-in-node exports-in-node: TODO
5782 ⚪️ ConfigTestCases css pseudo-export pseudo-export: TODO
5783 ⚪️ ConfigTestCases css urls urls: TODO
5784 ⚫️ ConfigTestCases custom-hash-function xxhash xxhash: No plan
5785 ⚪️ ConfigTestCases custom-modules json-custom json-custom: TODO
5786 ⚪️ ConfigTestCases custom-source-type localization localization: TODO
5787 ⚪️ ConfigTestCases deep-scope-analysis remove-export remove-export: TODO
5788 ⚪️ ConfigTestCases deep-scope-analysis remove-export-scope-hoisting remove-export-scope-hoisting: TODO
5793 ⚪️ ConfigTestCases delegated simple simple: TODO
5794 ⚪️ ConfigTestCases delegated-hash simple simple: TODO
5799 ⚪️ ConfigTestCases deprecations chunk-and-module chunk-and-module: TODO
5800 ⚪️ ConfigTestCases deprecations chunk-files chunk-files: TODO
5801 ⚪️ ConfigTestCases deprecations config config: TODO
5802 ⚪️ ConfigTestCases deprecations invalid-dependencies invalid-dependencies: TODO
5803 ⚪️ ConfigTestCases deprecations non-unique-hash non-unique-hash: TODO
5845 ⚪️ ConfigTestCases dll-plugin 3-use-dll-with-hashid 3-use-dll-with-hashid: TODO
5915 🔴 ConfigTestCases entry depend-on-advanced depend-on-advanced: afterSeal hook blocks
5916 🔴 ConfigTestCases entry depend-on-bug depend-on-bug: DynamicEntryPlugin blocks
5917 🔴 ConfigTestCases entry depend-on-non-js depend-on-non-js: mini-extract-css-plugin blocks
5978 ⚪️ ConfigTestCases entry weird-names weird-names: TODO
5979 ⚪️ ConfigTestCases entry weird-names2 weird-names2: TODO
5980 ⚪️ ConfigTestCases errors asset-options-validation asset-options-validation: TODO
5981 ⚪️ ConfigTestCases errors case-emit case-emit: TODO
5988 ⚪️ ConfigTestCases errors entry-not-found entry-not-found: TODO
5989 ⚪️ ConfigTestCases errors exception-in-chunk-renderer exception-in-chunk-renderer: TODO
6002 ⚪️ ConfigTestCases externals async-externals async-externals: TODO
6014 ⚪️ ConfigTestCases externals externals-array externals-array: TODO
6019 ⚪️ ConfigTestCases externals externals-in-commons-chunk externals-in-commons-chunk: TODO
6024 ⚪️ ConfigTestCases externals externals-system-custom externals-system-custom: TODO
6033 ⚪️ ConfigTestCases externals import-attributes import-attributes: TODO
6056 ⚪️ ConfigTestCases externals optional-externals-root optional-externals-root: TODO
6057 ⚪️ ConfigTestCases externals optional-externals-umd optional-externals-umd: TODO
6058 ⚪️ ConfigTestCases externals optional-externals-umd2 optional-externals-umd2: TODO
6059 ⚪️ ConfigTestCases externals optional-externals-umd2-mixed optional-externals-umd2-mixed: TODO
6085 ⚪️ ConfigTestCases filename-template split-chunks-filename split-chunks-filename: TODO
6137 ⚪️ ConfigTestCases hash-length deterministic-module-ids deterministic-module-ids: TODO
6138 ⚪️ ConfigTestCases hash-length hashed-module-ids hashed-module-ids: TODO
6139 ⚪️ ConfigTestCases hash-length output-filename output-filename: TODO
6277 ⚪️ ConfigTestCases inner-graph blockScopes blockScopes: TODO
6278 ⚪️ ConfigTestCases inner-graph class class: TODO
6279 ⚪️ ConfigTestCases inner-graph const const: TODO
6502 ⚪️ ConfigTestCases inner-graph issue-12669 issue-12669: TODO
6565 ⚪️ ConfigTestCases inner-graph varNotWritten varNotWritten: TODO
6566 ⚪️ ConfigTestCases inner-graph varWritten varWritten: TODO
6602 ⚪️ ConfigTestCases json tree-shaking-default tree-shaking-default: TODO
6613 ⚪️ ConfigTestCases layer rules rules: TODO
6698 ⚪️ ConfigTestCases loaders #-issue-14755-# #-issue-14755-#: TODO
6741 ⚪️ ConfigTestCases loaders options options: TODO
6742 🔴 ConfigTestCases loaders pr-14384 pr-14384: Rspack does not export NormalModule and support beforeLoaders from JS side and whether to implemented is tracked here: https://github.com/orgs/web-infra-dev/projects/9
6753 ⚪️ ConfigTestCases managedPaths futureDefaults futureDefaults: TODO
6754 ⚪️ ConfigTestCases mangle mangle-with-object-prop mangle-with-object-prop: TODO
6796 ⚪️ ConfigTestCases optimization chunk chunk: TODO
6807 ⚪️ ConfigTestCases optimization hashed-module-ids hashed-module-ids: TODO
6895 ⚪️ ConfigTestCases parsing context context: TODO
6913 ⚪️ ConfigTestCases parsing harmony-this-concat harmony-this-concat: TODO
6922 ⚪️ ConfigTestCases parsing issue-14545 issue-14545: TODO
6923 🔴 ConfigTestCases parsing issue-14720 issue-14720: Nested blocks
6924 ⚪️ ConfigTestCases parsing issue-2942 issue-2942: TODO
6941 ⚪️ ConfigTestCases parsing issue-8293 issue-8293: TODO
6942 ⚪️ ConfigTestCases parsing issue-9042 issue-9042: TODO
6956 ⚪️ ConfigTestCases parsing optional optional: TODO
6957 ⚪️ ConfigTestCases parsing optional-chaining optional-chaining: TODO
6962 ⚪️ ConfigTestCases parsing require-ignore require-ignore: TODO
6967 ⚪️ ConfigTestCases parsing requirejs requirejs: TODO
6968 ⚪️ ConfigTestCases parsing system.import system.import: TODO
6982 🔴 ConfigTestCases plugins banner-plugin-hashing banner-plugin-hashing: Lacking support of chunkhash
6983 ⚪️ ConfigTestCases plugins define-plugin define-plugin: TODO
6984 ⚪️ ConfigTestCases plugins define-plugin-bigint define-plugin-bigint: TODO
6988 ⚪️ ConfigTestCases plugins lib-manifest-plugin lib-manifest-plugin: TODO
6994 ⚪️ ConfigTestCases plugins min-chunk-size min-chunk-size: TODO
6995 ⚪️ ConfigTestCases plugins mini-css-extract-plugin mini-css-extract-plugin: TODO
6996 ⚪️ ConfigTestCases plugins profiling-plugin profiling-plugin: TODO
6997 ⚪️ ConfigTestCases plugins progress-plugin progress-plugin: TODO
7012 ⚪️ ConfigTestCases plugins source-map-dev-tool-plugin source-map-dev-tool-plugin: TODO
7030 ⚪️ ConfigTestCases process-assets html-plugin html-plugin: TODO
7031 ⚪️ ConfigTestCases race-conditions load-module load-module: TODO
7041 ⚪️ ConfigTestCases records issue-295 issue-295: TODO
7042 ⚪️ ConfigTestCases records issue-2991 issue-2991: TODO
7043 ⚪️ ConfigTestCases records issue-7339 issue-7339: TODO
7044 ⚪️ ConfigTestCases records issue-7492 issue-7492: TODO
7045 ⚪️ ConfigTestCases records stable-sort stable-sort: TODO
7046 ⚪️ ConfigTestCases require module-require module-require: TODO
7047 ⚪️ ConfigTestCases resolve context-resolve-with-ignore context-resolve-with-ignore: TODO
7048 ⚪️ ConfigTestCases resolve empty-context-module empty-context-module: TODO
7055 ⚪️ ConfigTestCases resolve issue-11335-context-module issue-11335-context-module: TODO
7056 ⚪️ ConfigTestCases resolve issue-15580 issue-15580: TODO
7061 ⚪️ ConfigTestCases resolve only-module only-module: TODO
7066 ⚪️ ConfigTestCases resolve-merging override override: TODO
7071 ⚪️ ConfigTestCases resolving prefer-absolute prefer-absolute: TODO
7076 ⚪️ ConfigTestCases rule-set chaining chaining: TODO
7077 ⚪️ ConfigTestCases rule-set compiler compiler: TODO
7078 ⚪️ ConfigTestCases rule-set custom custom: TODO
7087 ⚪️ ConfigTestCases rule-set simple simple: TODO
7088 ⚪️ ConfigTestCases rule-set simple-use-array-fn simple-use-array-fn: TODO
7089 ⚪️ ConfigTestCases rule-set simple-use-fn-array simple-use-fn-array: TODO
7114 ⚪️ ConfigTestCases scope-hoisting create-dll-plugin create-dll-plugin: TODO
7115 ⚪️ ConfigTestCases scope-hoisting dll-plugin dll-plugin: TODO
7142 ⚪️ ConfigTestCases sharing consume-module-ignore-warnings consume-module-ignore-warnings: TODO
7147 ⚪️ ConfigTestCases sharing consume-multiple-versions-ignore-warnings consume-multiple-versions-ignore-warnings: TODO
7197 ⚪️ ConfigTestCases side-effects issue-13063 issue-13063: TODO
7216 ⚪️ ConfigTestCases side-effects url url: TODO
7241 ⚪️ ConfigTestCases source-map context-module-source-path context-module-source-path: TODO
7259 ⚪️ ConfigTestCases source-map exclude-modules-source-map exclude-modules-source-map: TODO
7293 🔴 ConfigTestCases source-map relative-source-map-path relative-source-map-path: #4304
7294 🔴 ConfigTestCases source-map relative-source-maps-by-loader relative-source-maps-by-loader: #5393
7303 ⚪️ ConfigTestCases source-map source-map-with-profiling-plugin source-map-with-profiling-plugin: TODO
7325 🔴 ConfigTestCases split-chunks custom-filename-function custom-filename-function: not support function type of splitChunks #4333
7331 🔴 ConfigTestCases split-chunks entry-point-error entry-point-error: should emit error if entry point and splitted chunk have the same name #4332
7340 🔴 ConfigTestCases split-chunks issue-11513 issue-11513: should support object type minSize #4331
7365 🔴 ConfigTestCases split-chunks no-options no-options: no js splitChunks plugin
7370 🔴 ConfigTestCases split-chunks runtime-chunk runtime-chunk: not have the same name for splitted chunk with webpack #4334
7404 🔴 ConfigTestCases split-chunks-common hot hot: block: require.main #3562
7445 ⚪️ ConfigTestCases target amd-container-named amd-container-named: TODO
7451 ⚪️ ConfigTestCases target amd-container-unnamed amd-container-unnamed: TODO
7452 ⚪️ ConfigTestCases target amd-named amd-named: TODO
7458 ⚪️ ConfigTestCases target amd-unnamed amd-unnamed: TODO
7492 ⚪️ ConfigTestCases target system-named-assets-path system-named-assets-path: TODO
7497 ⚪️ ConfigTestCases target umd-auxiliary-comments-object umd-auxiliary-comments-object: TODO
7498 ⚪️ ConfigTestCases target umd-auxiliary-comments-string umd-auxiliary-comments-string: TODO
7530 ⚪️ ConfigTestCases types filesystems filesystems: TODO
7535 ⚪️ ConfigTestCases utils lazy-set lazy-set: TODO
7536 ⚪️ ConfigTestCases wasm export-imported-global export-imported-global: TODO
7537 ⚪️ ConfigTestCases wasm identical identical: TODO
7538 ⚪️ ConfigTestCases wasm import-wasm-wasm import-wasm-wasm: TODO
7539 ⚪️ ConfigTestCases wasm missing-wasm-experiment missing-wasm-experiment: TODO
7540 ⚪️ ConfigTestCases wasm wasm-in-initial-chunk-error wasm-in-initial-chunk-error: TODO
7541 ⚪️ ConfigTestCases web attach-existing attach-existing: TODO
7546 ⚪️ ConfigTestCases web node-source-future-defaults node-source-future-defaults: TODO
7547 ⚪️ ConfigTestCases web node-source-global node-source-global: TODO
7548 ⚪️ ConfigTestCases web non-js-chunks-entrypoint non-js-chunks-entrypoint: TODO
7549 ⚪️ ConfigTestCases web non-js-chunks-entrypoint-runtime-chunk non-js-chunks-entrypoint-runtime-chunk: TODO
7570 ⚪️ ConfigTestCases web unique-jsonp unique-jsonp: TODO
7635 ⚪️ WatchTestCases add-defines: TODO
7640 ⚪️ WatchTestCases child-compilation-cache: TODO
7644 ⚪️ WatchTestCases loader-import-module: TODO
7645 ⚪️ WatchTestCases managedPath: TODO
7646 ⚪️ WatchTestCases new-split-chunk-entry-node: TODO
7647 ⚪️ WatchTestCases new-split-chunk-entry-web: TODO
7648 ⚪️ WatchTestCases reexport-mangle: TODO
7650 ⚪️ WatchTestCases unsafe-cache-duplicates: TODO
7651 ⚪️ WatchTestCases unsafe-cache-managed-paths: TODO
7658 ⚪️ WatchTestCases switching-harmony: TODO
7659 ⚪️ WatchTestCases automatic-prefetch-plugin: TODO
7660 ⚪️ WatchTestCases automatic-prefetch-plugin-9485: TODO
7661 ⚪️ WatchTestCases define-plugin: TODO
7662 ⚪️ WatchTestCases dll-reference-plugin: TODO
7663 ⚪️ WatchTestCases mini-css-extract-plugin: TODO
7665 ⚪️ WatchTestCases profiling-plugin: TODO
7666 ⚪️ WatchTestCases watch-ignore-plugin: TODO
7668 ⚪️ WatchTestCases parse-failed-esm: TODO
7669 ⚪️ WatchTestCases in-loader: TODO
7671 ⚪️ WatchTestCases static-import: TODO
7678 ⚪️ WatchTestCases unable-to-snapshot: TODO

@fi3ework fi3ework force-pushed the external-get-resolve branch 2 times, most recently from 06e849d to 6e1ced1 Compare December 3, 2024 10:28
@fi3ework fi3ework marked this pull request as ready for review December 3, 2024 11:54
@fi3ework fi3ework requested a review from ahabhgk December 3, 2024 12:23
ahabhgk and others added 2 commits December 6, 2024 12:46
fix get resolve

# Conflicts:
#	crates/node_binding/binding.d.ts
#	crates/rspack_binding_options/src/options/raw_external.rs
#	crates/rspack_core/src/compiler/make/repair/factorize.rs
#	crates/rspack_core/src/compiler/module_executor/entry.rs
#	crates/rspack_core/src/context_module.rs
#	crates/rspack_core/src/module_factory.rs
#	crates/rspack_core/src/resolver/mod.rs
#	crates/rspack_plugin_externals/src/plugin.rs
#	packages/rspack/etc/api.md
#	packages/rspack/src/builtin-plugin/ExternalsPlugin.ts
#	packages/rspack/src/config/zod.ts
@fi3ework fi3ework force-pushed the external-get-resolve branch from 6e1ced1 to bac1ca1 Compare December 6, 2024 04:47
packages/rspack/etc/api.md Outdated Show resolved Hide resolved
@fi3ework fi3ework merged commit 3836042 into main Dec 6, 2024
32 checks passed
@fi3ework fi3ework deleted the external-get-resolve branch December 6, 2024 06:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release: feature release: feature related release(mr only) team The issue/pr is created by the member of Rspack.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants