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

fix: compile time evaluation of require.ensure #8242

Merged
merged 1 commit into from
Oct 28, 2024

Conversation

LingyuCoder
Copy link
Collaborator

Summary

Should handle typeof require.ensure with compile time evaluation and not throw a warning

Checklist

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

@github-actions github-actions bot added team The issue/pr is created by the member of Rspack. release: bug fix release: bug related release(mr only) labels Oct 28, 2024
Copy link

netlify bot commented Oct 28, 2024

Deploy Preview for rspack canceled.

Name Link
🔨 Latest commit faefec4
🔍 Latest deploy log https://app.netlify.com/sites/rspack/deploys/671f681eb38dbb0008dedf7a

Copy link
Contributor

Test Compatibility Diff

main pr diff
74.226% 74.223% ❌ ⏬ -0.003
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 node chunks split-chunks: TODO
636 ⚪️ HotTestCases node chunks split-chunks-webpackhot: TODO
665 ⚪️ HotTestCases node define issue-6962: TODO
678 ⚪️ HotTestCases node disposing runtime-independent-filename: TODO
736 ⚪️ HotTestCases node hashing full-hash-syntax-error: TODO
754 ⚪️ HotTestCases node lazy-compilation https: TODO
763 ⚪️ HotTestCases node lazy-compilation simple: TODO
768 ⚪️ HotTestCases node loader-import-module css: TODO
769 ⚪️ HotTestCases node numeric-ids add-remove-chunks: TODO
834 ⚪️ HotTestCases node runtime root-error: TODO
867 🔴 HotTestCases node worker move-between-runtime: #5597
893 ⚪️ HotTestCases webworker chunks split-chunks: TODO
894 ⚪️ HotTestCases webworker chunks split-chunks-webpackhot: TODO
923 ⚪️ HotTestCases webworker define issue-6962: TODO
936 ⚪️ HotTestCases webworker disposing runtime-independent-filename: TODO
994 ⚪️ HotTestCases webworker hashing full-hash-syntax-error: TODO
1012 ⚪️ HotTestCases webworker lazy-compilation https: TODO
1021 ⚪️ HotTestCases webworker lazy-compilation simple: TODO
1026 ⚪️ HotTestCases webworker loader-import-module css: TODO
1027 ⚪️ HotTestCases webworker numeric-ids add-remove-chunks: TODO
1092 ⚪️ HotTestCases webworker runtime root-error: TODO
1125 🔴 HotTestCases webworker 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
1678 🔴 TestCases normal compile deduplication-bundle-loader: #4304
1699 🔴 TestCases normal context import-meta-webpack-context: #4305
1773 🔴 TestCases normal errors load-module-cycle: #3738
1774 🔴 TestCases normal errors load-module-cycle-multiple: #3738
1775 🔴 TestCases normal errors load-module-error: #3738
1903 🔴 TestCases normal json import-assertions-type-json: Rspack don't support import assertions since it's deprecated
1965 🔴 TestCases normal large big-assets: #3180
1966 ⚪️ TestCases normal large many-replacements: TODO
1974 🔴 TestCases normal loaders issue-10725: blocked by this.loadModule #3738
1975 🔴 TestCases normal loaders issue-2299: blocked by this.loadModule #3738
1976 🔴 TestCases normal loaders issue-4959: blocked by this.loadModule #3738
1980 🔴 TestCases normal loaders no-string: blocked by #3459
1985 🔴 TestCases normal loaders utils: #4397
2059 🔴 TestCases normal mjs type-module: compile time evaluation typeof and amd
2139 🔴 TestCases normal nonce set-nonce: #4401
2147 🔴 TestCases normal optimize side-effects-reexport-start-unknown: new tree-shaking re-implementation
2214 🔴 TestCases normal parsing amd-rename: #4313
2224 🟡 TestCases normal parsing complex-require: #4313
2225 🔴 TestCases normal parsing context: #3346
2226 🔴 TestCases normal parsing declared-api: #4313
2230 🟡 TestCases normal parsing evaluate: should not evaluate new RegExp for redefined RegExp
2232 🔴 TestCases normal parsing extract-amd: #4313
2233 🔴 TestCases normal parsing extract-amd.nominimize: #4313
2234 🟡 TestCases normal parsing extract-require: should not parse require in function arguments
2251 🔴 TestCases normal parsing harmony-injecting-order: #4313
2273 🔴 TestCases normal parsing issue-2084: #4313
2283 🔴 TestCases normal parsing issue-2641: #4313
2287 ⚪️ TestCases normal parsing issue-3252: TODO
2288 ⚪️ TestCases normal parsing issue-3273: TODO
2289 🔴 TestCases normal parsing issue-345: #4313
2291 🔴 TestCases normal parsing issue-387: #4313
2302 🔴 TestCases normal parsing issue-4940: #4313
2311 🔴 TestCases normal parsing issue-758: #4313
2317 🔴 TestCases normal parsing local-modules: #4313
2321 🔴 TestCases normal parsing nullish-coalescing: #4300
2325 🔴 TestCases normal parsing precreated-ast: #4442
2326 🔴 TestCases normal parsing renaming: #4313, #3346
2330 🔴 TestCases normal parsing strict-mode: #4313
2332 🟡 TestCases normal parsing typeof: require.include
2334 🔴 TestCases normal parsing unsupported-amd: #4313
2880 🔴 TestCases normal resolving commomjs-local-module: #4313
2884 🔴 TestCases normal resolving issue-2986: #4348
2928 🔴 TestCases normal runtime chunk-callback-order: #4313
3012 ⚪️ TestCases normal scope-hoisting renaming-shorthand-5027: TODO
3279 ⚪️ TestCases normal wasm v128: TODO
3378 🔴 TestCases hot amd define-needs-module: #4313
3379 🔴 TestCases hot amd namedModules: #4313
3380 🔴 TestCases hot amd namedModulesConstArrayDep: #4313
3438 🔴 TestCases hot chunks runtime: flagIncludedChunks
3440 🟡 TestCases hot chunks weak-dependencies: #2787
3538 🟡 TestCases hot cjs-tree-shaking bailouts: #4313
3663 🔴 TestCases hot compile deduplication-bundle-loader: #4304
3684 🔴 TestCases hot context import-meta-webpack-context: #4305
3758 🔴 TestCases hot errors load-module-cycle: #3738
3759 🔴 TestCases hot errors load-module-cycle-multiple: #3738
3760 🔴 TestCases hot errors load-module-error: #3738
3888 🔴 TestCases hot json import-assertions-type-json: Rspack don't support import assertions since it's deprecated
3950 🔴 TestCases hot large big-assets: #3180
3951 ⚪️ TestCases hot large many-replacements: TODO
3959 🔴 TestCases hot loaders issue-10725: blocked by this.loadModule #3738
3960 🔴 TestCases hot loaders issue-2299: blocked by this.loadModule #3738
3961 🔴 TestCases hot loaders issue-4959: blocked by this.loadModule #3738
3965 🔴 TestCases hot loaders no-string: blocked by #3459
3970 🔴 TestCases hot loaders utils: #4397
4044 🔴 TestCases hot mjs type-module: compile time evaluation typeof and amd
4124 🔴 TestCases hot nonce set-nonce: #4401
4132 🔴 TestCases hot optimize side-effects-reexport-start-unknown: new tree-shaking re-implementation
4199 🔴 TestCases hot parsing amd-rename: #4313
4209 🟡 TestCases hot parsing complex-require: #4313
4210 🔴 TestCases hot parsing context: #3346
4211 🔴 TestCases hot parsing declared-api: #4313
4215 🟡 TestCases hot parsing evaluate: should not evaluate new RegExp for redefined RegExp
4217 🔴 TestCases hot parsing extract-amd: #4313
4218 🔴 TestCases hot parsing extract-amd.nominimize: #4313
4219 🟡 TestCases hot parsing extract-require: should not parse require in function arguments
4236 🔴 TestCases hot parsing harmony-injecting-order: #4313
4258 🔴 TestCases hot parsing issue-2084: #4313
4268 🔴 TestCases hot parsing issue-2641: #4313
4272 ⚪️ TestCases hot parsing issue-3252: TODO
4273 ⚪️ TestCases hot parsing issue-3273: TODO
4274 🔴 TestCases hot parsing issue-345: #4313
4276 🔴 TestCases hot parsing issue-387: #4313
4287 🔴 TestCases hot parsing issue-4940: #4313
4296 🔴 TestCases hot parsing issue-758: #4313
4302 🔴 TestCases hot parsing local-modules: #4313
4306 🔴 TestCases hot parsing nullish-coalescing: #4300
4310 🔴 TestCases hot parsing precreated-ast: #4442
4311 🔴 TestCases hot parsing renaming: #4313, #3346
4315 🔴 TestCases hot parsing strict-mode: #4313
4317 🟡 TestCases hot parsing typeof: require.include
4319 🔴 TestCases hot parsing unsupported-amd: #4313
4867 🔴 TestCases hot resolving commomjs-local-module: #4313
4871 🔴 TestCases hot resolving issue-2986: #4348
4915 🔴 TestCases hot runtime chunk-callback-order: #4313
4999 ⚪️ TestCases hot scope-hoisting renaming-shorthand-5027: TODO
5266 ⚪️ TestCases hot wasm v128: TODO
5365 ⚪️ ConfigTestCases additional-pass simple simple: TODO
5366 ⚪️ ConfigTestCases amd disabled disabled: TODO
5367 ⚪️ ConfigTestCases asset-emitted normal normal: TODO
5376 ⚪️ ConfigTestCases asset-modules custom-condition custom-condition: TODO
5381 ⚪️ ConfigTestCases asset-modules data-url data-url: TODO
5398 ⚪️ ConfigTestCases asset-modules file-url file-url: TODO
5407 ⚪️ ConfigTestCases asset-modules global-options global-options: TODO
5408 ⚪️ ConfigTestCases asset-modules http-url http-url: TODO
5409 ⚪️ ConfigTestCases asset-modules ignore ignore: TODO
5417 ⚪️ ConfigTestCases asset-modules input-data-url-encoding input-data-url-encoding: TODO
5418 ⚪️ ConfigTestCases asset-modules opus opus: TODO
5419 ⚪️ ConfigTestCases asset-modules overridePath overridePath: TODO
5420 ⚪️ ConfigTestCases asset-modules path path: TODO
5429 ⚪️ ConfigTestCases asset-modules query-and-custom-condition query-and-custom-condition: TODO
5430 ⚪️ ConfigTestCases asset-modules query-and-custom-encoder query-and-custom-encoder: TODO
5431 ⚪️ ConfigTestCases asset-modules real-content-hash real-content-hash: TODO
5436 ⚪️ ConfigTestCases asset-modules rule-generator-outputPath rule-generator-outputPath: TODO
5437 ⚪️ ConfigTestCases asset-modules rule-generator-publicPath rule-generator-publicPath: TODO
5438 ⚪️ ConfigTestCases asset-modules rule-generator-publicPath-override rule-generator-publicPath-override: TODO
5447 ⚪️ ConfigTestCases asset-modules unsafe-cache-13827 unsafe-cache-13827: TODO
5460 ⚪️ ConfigTestCases asset-url target-node3 target-node3: TODO
5461 ⚪️ ConfigTestCases asset-url target-web1 target-web1: TODO
5475 ⚪️ ConfigTestCases assets delete-asset delete-asset: TODO
5476 🔴 ConfigTestCases async-commons-chunk all-selected all-selected: #4313
5481 🔴 ConfigTestCases async-commons-chunk existing-name existing-name: #4313
5490 🔴 ConfigTestCases async-commons-chunk simple simple: #4313
5494 ⚪️ ConfigTestCases async-library 1-use-library 1-use-library: TODO
5495 ⚫️ ConfigTestCases cache-dependencies managed-items managed-items: No plan
5496 ⚫️ ConfigTestCases cache-dependencies managed-items-unsafe-cache managed-items-unsafe-cache: No plan
5512 ⚪️ ConfigTestCases chunk-index order-multiple-entries order-multiple-entries: TODO
5513 ⚪️ ConfigTestCases clean dry dry: TODO
5518 ⚪️ ConfigTestCases clean ignore-fn ignore-fn: TODO
5519 ⚪️ ConfigTestCases clean ignore-hook ignore-hook: TODO
5520 ⚪️ ConfigTestCases clean ignore-rx ignore-rx: TODO
5521 ⚪️ ConfigTestCases clean link link: TODO
5526 ⚪️ ConfigTestCases code-generation require-context-id require-context-id: TODO
5527 ⚪️ ConfigTestCases code-generation use-strict use-strict: TODO
5546 ⚪️ ConfigTestCases concatenate-modules import-module import-module: TODO
5565 ⚪️ ConfigTestCases concatenate-modules split-chunk-entry-module split-chunk-entry-module: TODO
5657 ⚪️ ConfigTestCases contenthash assets assets: TODO
5658 ⚪️ ConfigTestCases contenthash include-chunk-id include-chunk-id: TODO
5659 ⚪️ ConfigTestCases context-exclusion simple simple: TODO
5664 ⚪️ ConfigTestCases context-replacement a a: TODO
5665 ⚪️ ConfigTestCases context-replacement b b: TODO
5666 ⚪️ ConfigTestCases context-replacement c c: TODO
5667 ⚪️ ConfigTestCases context-replacement d d: TODO
5668 ⚪️ ConfigTestCases context-replacement e e: TODO
5694 ⚪️ ConfigTestCases css css-modules css-modules: TODO
5695 ⚪️ ConfigTestCases css css-modules-in-node css-modules-in-node: TODO
5707 ⚪️ ConfigTestCases css exports-in-node exports-in-node: TODO
5724 ⚪️ ConfigTestCases css urls urls: TODO
5725 ⚫️ ConfigTestCases custom-hash-function xxhash xxhash: No plan
5726 ⚪️ ConfigTestCases custom-modules json-custom json-custom: TODO
5727 ⚪️ ConfigTestCases custom-source-type localization localization: TODO
5728 ⚪️ ConfigTestCases deep-scope-analysis remove-export remove-export: TODO
5729 ⚪️ ConfigTestCases deep-scope-analysis remove-export-scope-hoisting remove-export-scope-hoisting: TODO
5734 ⚪️ ConfigTestCases delegated simple simple: TODO
5735 ⚪️ ConfigTestCases delegated-hash simple simple: TODO
5740 ⚪️ ConfigTestCases deprecations chunk-and-module chunk-and-module: TODO
5741 ⚪️ ConfigTestCases deprecations chunk-files chunk-files: TODO
5742 ⚪️ ConfigTestCases deprecations config config: TODO
5743 ⚪️ ConfigTestCases deprecations invalid-dependencies invalid-dependencies: TODO
5744 ⚪️ ConfigTestCases deprecations non-unique-hash non-unique-hash: TODO
5753 ⚪️ ConfigTestCases dll-plugin 0-create-dll 0-create-dll: TODO
5754 ⚪️ ConfigTestCases dll-plugin 0-issue-10475 0-issue-10475: TODO
5755 ⚪️ ConfigTestCases dll-plugin 1-issue-10475 1-issue-10475: TODO
5756 ⚪️ ConfigTestCases dll-plugin 1-use-dll 1-use-dll: TODO
5757 ⚪️ ConfigTestCases dll-plugin 2-use-dll-without-scope 2-use-dll-without-scope: TODO
5758 ⚪️ ConfigTestCases dll-plugin 3-use-dll-with-hashid 3-use-dll-with-hashid: TODO
5759 ⚪️ ConfigTestCases dll-plugin-entry 0-create-dll 0-create-dll: TODO
5760 ⚪️ ConfigTestCases dll-plugin-entry 1-use-dll 1-use-dll: TODO
5761 ⚪️ ConfigTestCases dll-plugin-entry 2-error-non-entry 2-error-non-entry: TODO
5762 ⚪️ ConfigTestCases dll-plugin-format 0-create-dll 0-create-dll: TODO
5763 ⚪️ ConfigTestCases dll-plugin-side-effects 0-create-dll 0-create-dll: TODO
5764 ⚪️ ConfigTestCases dll-plugin-side-effects 1-use-dll 1-use-dll: TODO
5811 🔴 ConfigTestCases entry depend-on-advanced depend-on-advanced: afterSeal hook blocks
5812 🔴 ConfigTestCases entry depend-on-bug depend-on-bug: DynamicEntryPlugin blocks
5813 🔴 ConfigTestCases entry depend-on-non-js depend-on-non-js: mini-extract-css-plugin blocks
5874 ⚪️ ConfigTestCases entry weird-names weird-names: TODO
5875 ⚪️ ConfigTestCases entry weird-names2 weird-names2: TODO
5876 ⚪️ ConfigTestCases errors asset-options-validation asset-options-validation: TODO
5877 ⚪️ ConfigTestCases errors case-emit case-emit: TODO
5884 ⚪️ ConfigTestCases errors entry-not-found entry-not-found: TODO
5885 ⚪️ ConfigTestCases errors exception-in-chunk-renderer exception-in-chunk-renderer: TODO
5898 ⚪️ ConfigTestCases externals async-externals async-externals: TODO
5910 ⚪️ ConfigTestCases externals externals-array externals-array: TODO
5915 ⚪️ ConfigTestCases externals externals-in-commons-chunk externals-in-commons-chunk: TODO
5920 ⚪️ ConfigTestCases externals externals-system-custom externals-system-custom: TODO
5929 ⚪️ ConfigTestCases externals import-attributes import-attributes: TODO
5952 ⚪️ ConfigTestCases externals optional-externals-root optional-externals-root: TODO
5953 ⚪️ ConfigTestCases externals optional-externals-umd optional-externals-umd: TODO
5954 ⚪️ ConfigTestCases externals optional-externals-umd2 optional-externals-umd2: TODO
5955 ⚪️ ConfigTestCases externals optional-externals-umd2-mixed optional-externals-umd2-mixed: TODO
5960 ⚪️ ConfigTestCases externals resolve resolve: TODO
5965 ⚪️ ConfigTestCases filename-template filename-function filename-function: TODO
5974 ⚪️ ConfigTestCases filename-template split-chunks-filename split-chunks-filename: TODO
6026 ⚪️ ConfigTestCases hash-length deterministic-module-ids deterministic-module-ids: TODO
6027 ⚪️ ConfigTestCases hash-length hashed-module-ids hashed-module-ids: TODO
6028 ⚪️ ConfigTestCases hash-length output-filename output-filename: TODO
6080 ⚪️ ConfigTestCases inner-graph altaskitButton altaskitButton: TODO
6088 ⚪️ ConfigTestCases inner-graph blockScopes blockScopes: TODO
6089 ⚪️ ConfigTestCases inner-graph class class: TODO
6090 ⚪️ ConfigTestCases inner-graph const const: TODO
6091 ⚪️ ConfigTestCases inner-graph defaultArrow defaultArrow: TODO
6092 ⚪️ ConfigTestCases inner-graph defaultClass defaultClass: TODO
6093 ⚪️ ConfigTestCases inner-graph defaultExpression defaultExpression: TODO
6094 ⚪️ ConfigTestCases inner-graph defaultFunction defaultFunction: TODO
6095 ⚪️ ConfigTestCases inner-graph defaultFunctionExpression defaultFunctionExpression: TODO
6096 ⚪️ ConfigTestCases inner-graph defaultId defaultId: TODO
6097 ⚪️ ConfigTestCases inner-graph defaultNamedFunction defaultNamedFunction: TODO
6098 ⚪️ ConfigTestCases inner-graph defaultNamedFunctionExpression defaultNamedFunctionExpression: TODO
6099 ⚪️ ConfigTestCases inner-graph eval-bailout eval-bailout: TODO
6100 ⚪️ ConfigTestCases inner-graph export export: TODO
6101 ⚪️ ConfigTestCases inner-graph importAll importAll: TODO
6102 ⚪️ ConfigTestCases inner-graph issue-11678 issue-11678: TODO
6103 ⚪️ ConfigTestCases inner-graph issue-12669 issue-12669: TODO
6104 ⚪️ ConfigTestCases inner-graph issue-12669-mini issue-12669-mini: TODO
6105 ⚪️ ConfigTestCases inner-graph localReference localReference: TODO
6106 ⚪️ ConfigTestCases inner-graph nested nested: TODO
6107 ⚪️ ConfigTestCases inner-graph pure pure: TODO
6108 ⚪️ ConfigTestCases inner-graph ramdaIdentical ramdaIdentical: TODO
6109 ⚪️ ConfigTestCases inner-graph specifier specifier: TODO
6110 ⚪️ ConfigTestCases inner-graph varNotWritten varNotWritten: TODO
6111 ⚪️ ConfigTestCases inner-graph varWritten varWritten: TODO
6147 ⚪️ ConfigTestCases json tree-shaking-default tree-shaking-default: TODO
6158 ⚪️ ConfigTestCases layer rules rules: TODO
6239 ⚪️ ConfigTestCases loaders #-issue-14755-# #-issue-14755-#: TODO
6282 ⚪️ ConfigTestCases loaders options options: TODO
6283 🔴 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
6294 ⚪️ ConfigTestCases managedPaths futureDefaults futureDefaults: TODO
6295 ⚪️ ConfigTestCases mangle mangle-with-object-prop mangle-with-object-prop: TODO
6326 ⚪️ ConfigTestCases optimization chunk chunk: TODO
6337 ⚪️ ConfigTestCases optimization hashed-module-ids hashed-module-ids: TODO
6355 ⚪️ ConfigTestCases optimization runtime-specific-used-exports2 runtime-specific-used-exports2: TODO
6420 ⚪️ ConfigTestCases parsing context context: TODO
6438 ⚪️ ConfigTestCases parsing harmony-this-concat harmony-this-concat: TODO
6447 ⚪️ ConfigTestCases parsing issue-14545 issue-14545: TODO
6448 🔴 ConfigTestCases parsing issue-14720 issue-14720: Nested blocks
6449 ⚪️ ConfigTestCases parsing issue-2942 issue-2942: TODO
6466 ⚪️ ConfigTestCases parsing issue-8293 issue-8293: TODO
6467 ⚪️ ConfigTestCases parsing issue-9042 issue-9042: TODO
6481 ⚪️ ConfigTestCases parsing optional optional: TODO
6482 ⚪️ ConfigTestCases parsing optional-chaining optional-chaining: TODO
6487 ⚪️ ConfigTestCases parsing require-ignore require-ignore: TODO
6492 ⚪️ ConfigTestCases parsing requirejs requirejs: TODO
6493 ⚪️ ConfigTestCases parsing system.import system.import: TODO
6507 🔴 ConfigTestCases plugins banner-plugin-hashing banner-plugin-hashing: Lacking support of chunkhash
6508 ⚪️ ConfigTestCases plugins define-plugin define-plugin: TODO
6509 ⚪️ ConfigTestCases plugins define-plugin-bigint define-plugin-bigint: TODO
6513 ⚪️ ConfigTestCases plugins lib-manifest-plugin lib-manifest-plugin: TODO
6519 ⚪️ ConfigTestCases plugins min-chunk-size min-chunk-size: TODO
6520 ⚪️ ConfigTestCases plugins mini-css-extract-plugin mini-css-extract-plugin: TODO
6521 ⚪️ ConfigTestCases plugins profiling-plugin profiling-plugin: TODO
6522 ⚪️ ConfigTestCases plugins progress-plugin progress-plugin: TODO
6537 ⚪️ ConfigTestCases plugins source-map-dev-tool-plugin source-map-dev-tool-plugin: TODO
6555 ⚪️ ConfigTestCases process-assets html-plugin html-plugin: TODO
6556 ⚪️ ConfigTestCases race-conditions load-module load-module: TODO
6566 ⚪️ ConfigTestCases records issue-295 issue-295: TODO
6567 ⚪️ ConfigTestCases records issue-2991 issue-2991: TODO
6568 ⚪️ ConfigTestCases records issue-7339 issue-7339: TODO
6569 ⚪️ ConfigTestCases records issue-7492 issue-7492: TODO
6570 ⚪️ ConfigTestCases records stable-sort stable-sort: TODO
6571 ⚪️ ConfigTestCases require module-require module-require: TODO
6572 ⚪️ ConfigTestCases resolve context-resolve-with-ignore context-resolve-with-ignore: TODO
6573 ⚪️ ConfigTestCases resolve empty-context-module empty-context-module: TODO
6580 ⚪️ ConfigTestCases resolve issue-11335-context-module issue-11335-context-module: TODO
6581 ⚪️ ConfigTestCases resolve issue-15580 issue-15580: TODO
6586 ⚪️ ConfigTestCases resolve only-module only-module: TODO
6591 ⚪️ ConfigTestCases resolve-merging override override: TODO
6596 ⚪️ ConfigTestCases resolving prefer-absolute prefer-absolute: TODO
6601 ⚪️ ConfigTestCases rule-set chaining chaining: TODO
6602 ⚪️ ConfigTestCases rule-set compiler compiler: TODO
6603 ⚪️ ConfigTestCases rule-set custom custom: TODO
6608 ⚪️ ConfigTestCases rule-set resolve-options resolve-options: TODO
6609 ⚪️ ConfigTestCases rule-set simple simple: TODO
6610 ⚪️ ConfigTestCases rule-set simple-use-array-fn simple-use-array-fn: TODO
6611 ⚪️ ConfigTestCases rule-set simple-use-fn-array simple-use-fn-array: TODO
6636 ⚪️ ConfigTestCases scope-hoisting create-dll-plugin create-dll-plugin: TODO
6637 ⚪️ ConfigTestCases scope-hoisting dll-plugin dll-plugin: TODO
6664 ⚪️ ConfigTestCases sharing consume-module-ignore-warnings consume-module-ignore-warnings: TODO
6669 ⚪️ ConfigTestCases sharing consume-multiple-versions-ignore-warnings consume-multiple-versions-ignore-warnings: TODO
6710 ⚪️ ConfigTestCases side-effects issue-13063 issue-13063: TODO
6729 ⚪️ ConfigTestCases side-effects url url: TODO
6754 ⚪️ ConfigTestCases source-map context-module-source-path context-module-source-path: TODO
6772 ⚪️ ConfigTestCases source-map exclude-modules-source-map exclude-modules-source-map: TODO
6806 🔴 ConfigTestCases source-map relative-source-map-path relative-source-map-path: #4304
6807 🔴 ConfigTestCases source-map relative-source-maps-by-loader relative-source-maps-by-loader: #5393
6816 ⚪️ ConfigTestCases source-map source-map-with-profiling-plugin source-map-with-profiling-plugin: TODO
6838 🔴 ConfigTestCases split-chunks custom-filename-function custom-filename-function: not support function type of splitChunks #4333
6844 🔴 ConfigTestCases split-chunks entry-point-error entry-point-error: should emit error if entry point and splitted chunk have the same name #4332
6853 🔴 ConfigTestCases split-chunks issue-11513 issue-11513: should support object type minSize #4331
6878 🔴 ConfigTestCases split-chunks no-options no-options: no js splitChunks plugin
6883 🔴 ConfigTestCases split-chunks runtime-chunk runtime-chunk: not have the same name for splitted chunk with webpack #4334
6917 🔴 ConfigTestCases split-chunks-common hot hot: block: require.main #3562
6958 ⚪️ ConfigTestCases target amd-container-named amd-container-named: TODO
6964 ⚪️ ConfigTestCases target amd-container-unnamed amd-container-unnamed: TODO
6965 ⚪️ ConfigTestCases target amd-named amd-named: TODO
6971 ⚪️ ConfigTestCases target amd-unnamed amd-unnamed: TODO
7005 ⚪️ ConfigTestCases target system-named-assets-path system-named-assets-path: TODO
7010 ⚪️ ConfigTestCases target umd-auxiliary-comments-object umd-auxiliary-comments-object: TODO
7011 ⚪️ ConfigTestCases target umd-auxiliary-comments-string umd-auxiliary-comments-string: TODO
7043 ⚪️ ConfigTestCases types filesystems filesystems: TODO
7048 ⚪️ ConfigTestCases utils lazy-set lazy-set: TODO
7049 ⚪️ ConfigTestCases wasm export-imported-global export-imported-global: TODO
7050 ⚪️ ConfigTestCases wasm identical identical: TODO
7051 ⚪️ ConfigTestCases wasm import-wasm-wasm import-wasm-wasm: TODO
7052 ⚪️ ConfigTestCases wasm missing-wasm-experiment missing-wasm-experiment: TODO
7053 ⚪️ ConfigTestCases wasm wasm-in-initial-chunk-error wasm-in-initial-chunk-error: TODO
7054 ⚪️ ConfigTestCases web attach-existing attach-existing: TODO
7059 ⚪️ ConfigTestCases web node-source-future-defaults node-source-future-defaults: TODO
7060 ⚪️ ConfigTestCases web node-source-global node-source-global: TODO
7061 ⚪️ ConfigTestCases web non-js-chunks-entrypoint non-js-chunks-entrypoint: TODO
7062 ⚪️ ConfigTestCases web non-js-chunks-entrypoint-runtime-chunk non-js-chunks-entrypoint-runtime-chunk: TODO
7083 ⚪️ ConfigTestCases web unique-jsonp unique-jsonp: TODO
7148 ⚪️ WatchTestCases add-defines: TODO
7149 ⚪️ WatchTestCases asset-concat: TODO
7153 ⚪️ WatchTestCases child-compilation-cache: TODO
7155 ⚪️ WatchTestCases emit-without-clean: TODO
7157 ⚪️ WatchTestCases loader-import-module: TODO
7158 ⚪️ WatchTestCases managedPath: TODO
7159 ⚪️ WatchTestCases new-split-chunk-entry-node: TODO
7160 ⚪️ WatchTestCases new-split-chunk-entry-web: TODO
7161 ⚪️ WatchTestCases reexport-mangle: TODO
7162 ⚪️ WatchTestCases unsafe-cache: TODO
7163 ⚪️ WatchTestCases unsafe-cache-duplicates: TODO
7164 ⚪️ WatchTestCases unsafe-cache-managed-paths: TODO
7171 ⚪️ WatchTestCases switching-harmony: TODO
7172 ⚪️ WatchTestCases automatic-prefetch-plugin: TODO
7173 ⚪️ WatchTestCases automatic-prefetch-plugin-9485: TODO
7174 ⚪️ WatchTestCases define-plugin: TODO
7175 ⚪️ WatchTestCases dll-reference-plugin: TODO
7176 ⚪️ WatchTestCases mini-css-extract-plugin: TODO
7178 ⚪️ WatchTestCases profiling-plugin: TODO
7179 ⚪️ WatchTestCases watch-ignore-plugin: TODO
7181 ⚪️ WatchTestCases parse-failed-esm: TODO
7182 ⚪️ WatchTestCases in-loader: TODO
7184 ⚪️ WatchTestCases static-import: TODO
7191 ⚪️ WatchTestCases unable-to-snapshot: TODO

@LingyuCoder LingyuCoder requested a review from ahabhgk October 28, 2024 10:42
@LingyuCoder LingyuCoder merged commit df8ca34 into main Oct 28, 2024
48 of 52 checks passed
@LingyuCoder LingyuCoder deleted the fix/typeof-require-ensure branch October 28, 2024 11:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release: bug fix release: bug 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