From 476961a88c60e03b733b87e45c53fafa4b6a8d73 Mon Sep 17 00:00:00 2001 From: harpsealjs Date: Tue, 23 Apr 2024 20:38:51 +0800 Subject: [PATCH] chore: migrate config test cases (#6335) --- .gitignore | 2 +- .prettierignore | 5 + .../rspack-test-tools/jest.config.compat.js | 3 +- .../rspack-test-tools/jest.config.legacy.js | 1 + packages/rspack-test-tools/package.json | 1 + .../src/helper/legacy/fakeSystem.js | 122 +++ .../src/helper/util/checkSourceMap.js | 98 +++ .../src/helper/util/filterUtil.js | 55 ++ .../src/helper/util/identifier.js | 378 +++++++++ .../src/helper/util/replaceMitteDiagnostic.js | 18 + .../tests/ConfigTestCases.basictest.js | 4 +- .../ConfigTestCases.basictest.js.snap | 0 .../node_modules/axios-demo/index.js | 1 + .../axios-demo/lib/adapters/http.js | 3 + .../axios-demo/lib/adapters/xhr.js | 1 + .../node_modules/axios-demo/lib/axios.js | 4 + .../axios-demo/lib/defaults/index.js | 17 + .../node_modules/axios-demo/package.json | 10 + .../node_modules/ignoring-module/file.js | 1 + .../node_modules/ignoring-module/index.js | 2 + .../node_modules/ignoring-module/package.json | 6 + .../node_modules/new-module/index.js | 1 + .../node_modules/new-module/inner.js | 1 + .../node_modules/recursive-file/a.js | 1 + .../node_modules/recursive-file/b.js | 1 + .../node_modules/recursive-file/c.js | 1 + .../node_modules/recursive-file/d.js | 1 + .../node_modules/recursive-file/package.json | 8 + .../node_modules/recursive-module/index.js | 1 + .../recursive-module/package.json | 5 + .../node_modules/replacing-file1/file.js | 1 + .../node_modules/replacing-file1/index.js | 1 + .../node_modules/replacing-file1/new-file.js | 1 + .../node_modules/replacing-file1/package.json | 5 + .../node_modules/replacing-file2/file.js | 1 + .../node_modules/replacing-file2/index.js | 1 + .../node_modules/replacing-file2/package.json | 5 + .../node_modules/replacing-file3/file.js | 1 + .../node_modules/replacing-file3/index.js | 1 + .../node_modules/replacing-file3/package.json | 5 + .../node_modules/replacing-file4/dir/file.js | 1 + .../node_modules/replacing-file4/dir/index.js | 1 + .../replacing-file4/dir/new-file.js | 1 + .../node_modules/replacing-file4/index.js | 1 + .../node_modules/replacing-file4/package.json | 5 + .../node_modules/replacing-module1/index.js | 1 + .../replacing-module1/package.json | 5 + .../node_modules/replacing-module2/index.js | 1 + .../replacing-module2/package.json | 5 + .../node_modules/replacing-module3/index.js | 1 + .../replacing-module3/package.json | 5 + .../node_modules/replacing-module4/index.js | 1 + .../node_modules/replacing-module4/module.js | 1 + .../replacing-module4/package.json | 5 + .../node_modules/wrong-module.js | 1 + .../asset-url/relative-rewrite/index.css | 0 .../asset-url/relative-rewrite/index.js | 0 .../relative-rewrite/webpack.config.js | 0 .../tests/configCases/asset/_images/file.jpg | Bin .../tests/configCases/asset/_images/file.png | Bin .../tests/configCases/asset/auto/index.js | 0 .../tests/configCases/asset/auto/large.png | Bin .../tests/configCases/asset/auto/logo.svg | 0 .../configCases/asset/auto/webpack.config.js | 0 .../asset/data-url-condition/img.png | 0 .../asset/data-url-condition/index.js | 0 .../data-url-condition/webpack.config.js | 0 .../asset/disable-emit-by-rule/index.js | 0 .../disable-emit-by-rule/webpack.config.js | 0 .../asset/disable-emit-for-asset/index.js | 0 .../disable-emit-for-asset/webpack.config.js | 0 .../asset/disable-emit-for-resource/index.js | 0 .../webpack.config.js | 0 .../tests/configCases/asset/inline/img.png | Bin .../tests/configCases/asset/inline/index.js | 0 .../asset/inline/webpack.config.js | 0 .../tests/configCases/asset/issue-3307/a.png | 0 .../configCases/asset/issue-3307/index.js | 0 .../asset/issue-3307/webpack.config.js | 0 .../configCases/asset/rename-asset/chunk.js | 0 .../configCases/asset/rename-asset/index.js | 0 .../asset/rename-asset/webpack.config.js | 0 .../tests/configCases/asset/resource/index.js | 0 .../tests/configCases/asset/resource/logo.svg | 0 .../asset/resource/webpack.config.js | 0 .../asset/rspack-issue-2283/img.png | 0 .../asset/rspack-issue-2283/index.js | 0 .../asset/rspack-issue-2283/webpack.config.js | 0 .../tests/configCases/asset/source/data.txt | 0 .../tests/configCases/asset/source/index.js | 0 .../asset/source/webpack.config.js | 0 .../babel-loader/plugin-import/.gitignore | 0 .../babel-loader/plugin-import/index.js | 0 .../node_modules/antd/lib/good.js | 0 .../plugin-import/webpack.config.js | 0 .../builtin-swc-loader/basic/index.js | 0 .../builtin-swc-loader/basic/lib.ts | 0 .../basic/webpack.config.js | 0 .../builtin-swc-loader/chain/index.js | 0 .../builtin-swc-loader/chain/lib.ts | 0 .../builtin-swc-loader/chain/loader.js | 0 .../chain/webpack.config.js | 0 .../inline-pitching/index.js | 0 .../builtin-swc-loader/inline-pitching/lib.ts | 0 .../inline-pitching/pitching-loader.js | 0 .../inline-pitching/webpack.config.js | 0 .../builtin-swc-loader/issue-4597/diy.js | 0 .../builtin-swc-loader/issue-4597/index.js | 0 .../node_modules/aaaaa/es/button/index.js | 0 .../node_modules/aaaaa/es/button/style/css.js | 0 .../aaaaa/es/button/style/index.css | 0 .../issue-4597/node_modules/aaaaa/es/index.js | 0 .../node_modules/aaaaa/package.json | 0 .../issue-4597/webpack.config.js | 0 .../builtin-swc-loader/issue-5329/errors.js | 0 .../builtin-swc-loader/issue-5329/index.js | 0 .../issue-5329/lib-entry.js | 0 .../builtin-swc-loader/issue-5329/lib.js | 0 .../issue-5329/webpack.config.js | 0 .../plugin-import/custom-name-tpl.js | 0 .../plugin-import/custom-style-name.js | 0 .../plugin-import/ignore-es-component.js | 0 .../plugin-import/ignore-style-component.js | 0 .../builtin-swc-loader/plugin-import/index.js | 0 .../legacy-babel-plugin-import.js | 0 .../plugin-import/no-default.js | 0 .../src/custom-name-tpl-camel/fooBar/index.js | 0 .../custom-name-tpl-kebab/foo-bar/index.js | 0 .../src/custom-name-tpl-lower/foobar/index.js | 0 .../custom-name-tpl-nopanic/fooBar/index.js | 0 .../custom-name-tpl-snake/foo_bar/index.js | 0 .../src/custom-name-tpl-upper/FOOBAR/index.js | 0 .../custom-style-name/lib/foo-bar/index.js | 0 .../lib/foo-bar/style/index.css | 0 .../src/ignore-es-component/index.js | 0 .../ignore-es-component/lib/button/index.js | 0 .../lib/button/style/index.css | 0 .../lib/button/index.js | 0 .../lib/button/style.js | 0 .../lib/foo-bar/index.js | 0 .../src/legacy-babel-plugin-import/index.js | 0 .../lib/x-i-p-object/x_i_p_object.js | 0 .../src/no-default/lib/foo-bar/index.js | 0 .../src/style-css/lib/foo-bar/index.js | 0 .../style-css/lib/foo-bar/style/css/index.js | 0 .../src/style-library/css/foo-bar/index.css | 0 .../src/style-library/lib/foo-bar/index.js | 0 .../src/style-tpl/lib/foo-bar.css | 0 .../src/style-tpl/lib/foo-bar/index.js | 0 .../src/style-true/lib/foo-bar/index.js | 0 .../src/style-true/lib/foo-bar/style/index.js | 0 .../src/style-true/lib/with-number3d/index.js | 0 .../lib/with-number3d/style/index.js | 0 .../plugin-import/style-css.js | 0 .../plugin-import/style-library.js | 0 .../plugin-import/style-tpl.js | 0 .../plugin-import/style-true.js | 0 .../plugin-import/webpack.config.js | 0 .../react-refresh-false/index.jsx | 0 .../react-refresh-false/webpack.config.js | 0 .../react-runtime-automic/index.jsx | 0 .../react-runtime-automic/webpack.config.js | 0 .../react-runtime-classic/index.jsx | 0 .../react-runtime-classic/webpack.config.js | 0 .../custom/MyComponent.graphql.ts | 0 .../relay-config-custom/index.js | 0 .../relay-config-custom/webpack.config.js | 0 .../custom/MyComponent.graphql.ts | 0 .../relay-config-js/index.js | 0 .../relay-config-js/relay.config.js | 0 .../relay-config-js/webpack.config.js | 0 .../custom/MyComponent.graphql.ts | 0 .../relay-config-json/index.js | 0 .../relay-config-json/relay.config.json | 0 .../relay-config-json/webpack.config.js | 0 .../__generated__/MyComponent.graphql.js | 0 .../builtin-swc-loader/relay-default/index.js | 0 .../relay-default/webpack.config.js | 0 .../__generated__/MyComponent.graphql.js | 0 .../builtin-swc-loader/relay-json/index.js | 0 .../relay-json/package.json | 0 .../relay-json/webpack.config.js | 0 .../custom/MyComponent.graphql.ts | 0 .../relay-webpack-require/index.js | 0 .../relay-webpack-require/mock.js | 0 .../relay-webpack-require/relay.config.js | 0 .../relay-webpack-require/webpack.config.js | 0 .../builtin-swc-loader/source-map/a.ts | 0 .../builtin-swc-loader/source-map/index.js | 0 .../builtin-swc-loader/source-map/source.txt | 0 .../source-map/webpack.config.js | 0 .../styled-components/Button/index.jsx | 0 .../styled-components/Button2/index.jsx | 0 .../styled-components/index.jsx | 0 .../styled-components/webpack.config.js | 0 .../builtin-swc-loader/swc-plugin/index.js | 0 .../swc-plugin/webpack.config.js | 0 .../tests/configCases/builtins/banner/a.js | 0 .../tests/configCases/builtins/banner/b.js | 0 .../configCases/builtins/banner/empty.png | 0 .../configCases/builtins/banner/index.js | 0 .../builtins/banner/test.config.js | 0 .../builtins/banner/webpack.config.js | 0 .../code-generation-keep-comments/index.js | 0 .../webpack.config.js | 0 .../configCases/builtins/css-auto/index.css | 0 .../configCases/builtins/css-auto/index.js | 0 .../builtins/css-auto/index.module.css | 0 .../builtins/css-auto/webpack.config.js | 0 .../index.css | 0 .../index.js | 0 .../less-file.less | 0 .../scss-file.scss | 0 .../values.css | 0 .../webpack.config.js | 0 .../css-modules-composes-sass/foo.scss | 0 .../css-modules-composes-sass/index.js | 0 .../css-modules-composes-sass/index.scss | 0 .../webpack.config.js | 0 .../css-modules-composes/imported-simple.css | 0 .../builtins/css-modules-composes/index.css | 0 .../builtins/css-modules-composes/index.js | 0 .../css-modules-composes/webpack.config.js | 0 .../css-modules-dedupe/buttons/button.css | 0 .../buttons/primary-button.css | 0 .../buttons/secondary-button.css | 0 .../builtins/css-modules-dedupe/index.js | 0 .../builtins/css-modules-dedupe/source.css | 0 .../css-modules-dedupe/webpack.config.js | 0 .../imported-simple.css | 0 .../css-modules-exports-only/index.css | 0 .../css-modules-exports-only/index.js | 0 .../webpack.config.js | 0 .../index.css | 0 .../index.js | 0 .../webpack.config.js | 0 .../src/index.css | 0 .../src/index.js | 0 .../webpack.config.js | 0 .../index.css | 0 .../index.js | 0 .../webpack.config.js | 0 .../index.css | 0 .../index.js | 0 .../webpack.config.js | 0 .../index.css | 0 .../index.js | 0 .../webpack.config.js | 0 .../builtins/css-modules-pseudo/index.css | 0 .../builtins/css-modules-pseudo/index.js | 0 .../css-modules-pseudo/webpack.config.js | 0 .../builtins/css-modules-simple/index.js | 0 .../css-modules-simple/index.module.css | 0 .../css-modules-simple/webpack.config.js | 0 .../configCases/builtins/define/index.js | 0 .../tests/configCases/builtins/define/lib.js | 0 .../builtins/define/webpack.config.js | 0 .../builtins/html-entry-order/index.html | 0 .../builtins/html-entry-order/index.js | 0 .../builtins/html-entry-order/polyfill.js | 0 .../builtins/html-entry-order/test.config.js | 0 .../html-entry-order/webpack.config.js | 0 .../favicon.ico | Bin .../html-favicon-absolute-publicpath/index.js | 0 .../webpack.config.js | 0 .../index.js | 0 .../static/favicon.ico | Bin .../webpack.config.js | 0 .../html-favicon-absolute-subdir/index.js | 0 .../static/favicon.ico | Bin .../webpack.config.js | 0 .../html-favicon-absolute/favicon.ico | Bin .../builtins/html-favicon-absolute/index.js | 0 .../html-favicon-absolute/webpack.config.js | 0 .../favicon.ico | Bin .../html-favicon-relative-publicpath/index.js | 0 .../webpack.config.js | 0 .../index.js | 0 .../static/favicon.ico | Bin .../webpack.config.js | 0 .../html-favicon-relative-subdir/index.js | 0 .../static/favicon.ico | Bin .../webpack.config.js | 0 .../html-favicon-relative/favicon.ico | Bin .../builtins/html-favicon-relative/index.js | 0 .../html-favicon-relative/webpack.config.js | 0 .../configCases/builtins/html-inject/index.js | 0 .../builtins/html-inject/webpack.config.js | 2 +- .../configCases/builtins/html-meta/index.js | 0 .../builtins/html-meta/webpack.config.js | 0 .../builtins/html-minify/index.html | 0 .../configCases/builtins/html-minify/index.js | 0 .../builtins/html-minify/webpack.config.js | 0 .../builtins/html-public-path-auto/index.js | 0 .../html-public-path-auto/webpack.config.js | 0 .../builtins/html-template-content/index.js | 0 .../html-template-content/webpack.config.js | 0 .../html-with-output-public-path/index.js | 0 .../webpack.config.js | 0 .../builtins/ignore-plugin/index.js | 0 .../builtins/ignore-plugin/test-ignore/a.js | 0 .../builtins/ignore-plugin/test-ignore/b.js | 0 .../builtins/ignore-plugin/test-ignore/c.js | 0 .../builtins/ignore-plugin/test-ignore/d.js | 0 .../builtins/ignore-plugin/webpack.config.js | 0 .../builtins/minify-ascii-only/a.js | 0 .../builtins/minify-ascii-only/index.js | 0 .../builtins/minify-ascii-only/test.config.js | 0 .../minify-ascii-only/webpack.config.js | 0 .../builtins/minify-comment-all/a.js | 0 .../builtins/minify-comment-all/index.js | 0 .../minify-comment-all/test.config.js | 0 .../minify-comment-all/webpack.config.js | 0 .../minify-comment-default-false/a.js | 0 .../minify-comment-default-false/index.js | 0 .../test.config.js | 0 .../webpack.config.js | 0 .../builtins/minify-comment-some/a.js | 0 .../builtins/minify-comment-some/index.js | 0 .../minify-comment-some/test.config.js | 0 .../minify-comment-some/webpack.config.js | 0 .../builtins/minify-drop-console/index.js | 0 .../minify-drop-console/webpack.config.js | 0 .../configCases/builtins/minify-exclude/a.js | 0 .../configCases/builtins/minify-exclude/b.js | 0 .../builtins/minify-exclude/index.js | 0 .../builtins/minify-exclude/test.config.js | 0 .../builtins/minify-exclude/webpack.config.js | 0 .../builtins/minify-extract-comments/index.js | 0 .../minify-extract-comments/webpack.config.js | 0 .../configCases/builtins/minify-include/a.js | 0 .../configCases/builtins/minify-include/b.js | 0 .../builtins/minify-include/index.js | 0 .../builtins/minify-include/test.config.js | 0 .../builtins/minify-include/webpack.config.js | 0 .../builtins/minify-keep-classnames/index.js | 0 .../minify-keep-classnames/webpack.config.js | 0 .../builtins/minify-keep-fn-names/index.js | 0 .../minify-keep-fn-names/webpack.config.js | 0 .../builtins/minify-pure-funcs/index.js | 0 .../minify-pure-funcs/webpack.config.js | 0 .../configCases/builtins/minify-test/a.js | 0 .../configCases/builtins/minify-test/a2.js | 0 .../configCases/builtins/minify-test/b.js | 0 .../configCases/builtins/minify-test/index.js | 0 .../builtins/minify-test/test.config.js | 0 .../builtins/minify-test/webpack.config.js | 0 .../builtins/minify-with-boolean/index.css | 0 .../builtins/minify-with-boolean/index.js | 0 .../minify-with-boolean/webpack.config.js | 0 .../builtins/minify-with-query/index.css | 0 .../builtins/minify-with-query/index.js | 0 .../minify-with-query/webpack.config.js | 0 .../configCases/builtins/minify/index.css | 0 .../configCases/builtins/minify/index.js | 0 .../builtins/minify/webpack.config.js | 0 .../builtins/node-externals/index.js | 0 .../builtins/node-externals/webpack.config.js | 0 .../tests/configCases/builtins/provide/a.js | 0 .../tests/configCases/builtins/provide/aaa.js | 0 .../tests/configCases/builtins/provide/b.js | 0 .../configCases/builtins/provide/bbbccc.js | 0 .../tests/configCases/builtins/provide/ddd.js | 0 .../tests/configCases/builtins/provide/env.js | 0 .../tests/configCases/builtins/provide/esm.js | 0 .../configCases/builtins/provide/foo.mjs | 0 .../configCases/builtins/provide/harmony.js | 0 .../configCases/builtins/provide/harmony2.js | 0 .../configCases/builtins/provide/index.js | 0 .../configCases/builtins/provide/process.js | 0 .../builtins/provide/webpack.config.js | 0 .../should_not_warn_export_destructring/a.js | 0 .../index.js | 0 .../warning.js | 0 .../webpack.config.js | 0 .../a.js | 0 .../index.js | 0 .../warning.js | 0 .../webpack.config.js | 0 .../a.js | 0 .../index.js | 0 .../warning.js | 0 .../webpack.config.js | 0 .../configCases/cache/issuse-3254/a/a.js | 0 .../configCases/cache/issuse-3254/index.js | 0 .../cache/issuse-3254/webpack.config.js | 0 .../available-modules-order-index/A.js | 0 .../available-modules-order-index/B-2.js | 0 .../available-modules-order-index/B.js | 0 .../available-modules-order-index/m.css | 0 .../available-modules-order-index/main.js | 0 .../available-modules-order-index/n.css | 0 .../available-modules-order-index/shared.js | 0 .../test.config.js | 0 .../webpack.config.js | 0 .../configCases/chunk-loading/chunk-name/a.js | 0 .../chunk-loading/chunk-name/index.js | 0 .../chunk-loading/chunk-name/test.config.js | 0 .../chunk-name/webpack.config.js | 0 .../chunk-loading/false/dynamic.js | 0 .../configCases/chunk-loading/false/index.js | 0 .../chunk-loading/false/webpack.config.js | 0 .../chunk-loading/issue-3896/file/a.js | 0 .../chunk-loading/issue-3896/index.js | 0 .../issue-3896/webpack.config.js | 0 .../chunk-loading/issue-4754/child-entry.js | 0 .../chunk-loading/issue-4754/index.js | 0 .../chunk-loading/issue-4754/test.config.js | 0 .../issue-4754/webpack.config.js | 0 .../chunk-loading/issue-4800/index.js | 0 .../chunk-loading/issue-4800/logo1.js | 0 .../chunk-loading/issue-4800/logo2.js | 0 .../issue-4800/webpack.config.js | 0 .../startup-async-node-1/async.js | 0 .../startup-async-node-1/index.js | 0 .../startup-async-node-1/lib-1.js | 0 .../startup-async-node-1/other.js | 0 .../startup-async-node-1/shared.js | 0 .../startup-async-node-1/test.config.js | 0 .../startup-async-node-1/webpack.config.js | 0 .../startup-async-node-2/async.js | 0 .../startup-async-node-2/index.js | 0 .../startup-async-node-2/lib-1.js | 0 .../startup-async-node-2/lib-2.js | 0 .../startup-async-node-2/other.js | 0 .../startup-async-node-2/shared.js | 0 .../startup-async-node-2/test.config.js | 0 .../startup-async-node-2/webpack.config.js | 0 .../startup-async-node-3/async.js | 0 .../startup-async-node-3/index.js | 0 .../startup-async-node-3/lib-1.js | 0 .../startup-async-node-3/lib-2.js | 0 .../startup-async-node-3/lib-3.js | 0 .../startup-async-node-3/other.js | 0 .../startup-async-node-3/shared.js | 0 .../startup-async-node-3/test.config.js | 0 .../startup-async-node-3/webpack.config.js | 0 .../chunk-loading/startup-require/index.js | 0 .../chunk-loading/startup-require/lib-1.js | 0 .../chunk-loading/startup-require/lib-2.js | 0 .../chunk-loading/startup-require/lib-3.js | 0 .../chunk-loading/startup-require/other.js | 0 .../chunk-loading/startup-require/shared.js | 0 .../startup-require/test.config.js | 0 .../startup-require/webpack.config.js | 0 .../export-require-unused/index.js | 0 .../export-require-unused/react.js | 0 .../export-require-unused/reexport.js | 0 .../export-require-unused/webpack.config.js | 0 .../cjs-tree-shaking/rspack-issue-5282/a.js | 0 .../cjs-tree-shaking/rspack-issue-5282/b.js | 0 .../rspack-issue-5282/index.js | 0 .../rspack-issue-5282/reexport.js | 0 .../rspack-issue-5282/webpack.config.js | 0 .../path-ends-with-star/entry.mjs | 0 .../path-ends-with-star/webpack.config.js | 0 .../compilation/rebuild-module/a.js | 0 .../compilation/rebuild-module/index.js | 0 .../compilation/rebuild-module/loader.js | 0 .../rebuild-module/webpack.config.js | 0 .../concatenate-modules/with-css/foo.css | 0 .../concatenate-modules/with-css/index.js | 0 .../concatenate-modules/with-css/lib.js | 0 .../concatenate-modules/with-css/package.json | 0 .../with-css/webpack.config.js | 0 .../multi-container-same-runtime/a.js | 0 .../multi-container-same-runtime/b.js | 0 .../multi-container-same-runtime/bootstrap.js | 0 .../multi-container-same-runtime/index.js | 0 .../test.config.js | 0 .../webpack.config.js | 0 .../container-1-5/0-container-full/App.js | 0 .../0-container-full/ComponentA.js | 0 .../container-1-5/0-container-full/index.js | 0 .../0-container-full/node_modules/react.js | 0 .../0-container-full/test.config.js | 0 .../0-container-full/upgrade-react.js | 0 .../0-container-full/webpack.config.js | 2 +- .../0-transitive-overriding/a.js | 0 .../0-transitive-overriding/b.js | 0 .../0-transitive-overriding/index.js | 0 .../0-transitive-overriding/modules.js | 0 .../0-transitive-overriding/shared.js | 0 .../0-transitive-overriding/webpack.config.js | 2 +- .../container-1-5/1-container-full/App.js | 0 .../1-container-full/ComponentB.js | 0 .../1-container-full/ComponentC.js | 0 .../container-1-5/1-container-full/index.js | 0 .../node_modules/package.json | 0 .../1-container-full/node_modules/react.js | 0 .../1-container-full/package.json | 0 .../1-container-full/test.config.js | 0 .../1-container-full/upgrade-react.js | 0 .../1-container-full/webpack.config.js | 2 +- .../1-transitive-overriding/a.js | 0 .../1-transitive-overriding/b.js | 0 .../1-transitive-overriding/index.js | 0 .../modules-from-remote.js | 0 .../1-transitive-overriding/modules.js | 0 .../1-transitive-overriding/shared.js | 0 .../1-transitive-overriding/webpack.config.js | 2 +- .../container-1-5/2-container-full/App.js | 0 .../container-1-5/2-container-full/Self.js | 0 .../container-1-5/2-container-full/index.js | 0 .../node_modules/package.json | 0 .../2-container-full/node_modules/react.js | 0 .../2-container-full/package.json | 0 .../2-container-full/upgrade-react.js | 0 .../2-container-full/webpack.config.js | 2 +- .../2-transitive-overriding/index.js | 0 .../2-transitive-overriding/shared.js | 0 .../2-transitive-overriding/webpack.config.js | 2 +- .../container-1-5/3-container-full/App.js | 0 .../container-1-5/3-container-full/index.js | 0 .../3-container-full/node_modules/react.js | 0 .../3-container-full/package.json | 0 .../3-container-full/upgrade-react.js | 0 .../3-container-full/warnings.js | 0 .../3-container-full/webpack.config.js | 2 +- .../assign-depth-for-add-include/a/index.js | 0 .../assign-depth-for-add-include/a/util.js | 0 .../assign-depth-for-add-include/index.js | 0 .../assign-depth-for-add-include/reexport.js | 0 .../webpack.config.js | 0 .../configCases/container-1-5/circular/a.js | 0 .../configCases/container-1-5/circular/b.js | 0 .../container-1-5/circular/index.js | 0 .../container-1-5/circular/test.config.js | 0 .../container-1-5/circular/webpack.config.js | 2 +- .../container-entry-overridables/index.js | 0 .../container-entry-overridables/test.js | 0 .../container-entry-overridables/value.js | 0 .../webpack.config.js | 2 +- .../container-1-5/container-entry/index.js | 0 .../container-entry/init-module.js | 0 .../container-1-5/container-entry/main.js | 0 .../container-1-5/container-entry/state.js | 0 .../container-1-5/container-entry/test.js | 0 .../container-1-5/container-entry/test2.js | 0 .../container-entry/webpack.config.js | 2 +- .../container-reference-override/index.js | 0 .../container-reference-override/module.js | 0 .../container-reference-override/new-test.js | 0 .../test.config.js | 0 .../webpack.config.js | 2 +- .../container-reference/index.js | 0 .../container-reference/module.js | 0 .../container-reference/test.config.js | 0 .../container-reference/webpack.config.js | 2 +- .../error-handling/evaluation-error-cjs.js | 0 .../evaluation-error-tl-await.js | 0 .../error-handling/evaluation-error.js | 0 .../container-1-5/error-handling/index.js | 0 .../error-handling/invalid-module-cjs.js | 0 .../error-handling/invalid-module-tl-await.js | 0 .../error-handling/invalid-module.js | 0 .../error-handling/loading-error-cjs.js | 0 .../error-handling/loading-error-tl-await.js | 0 .../error-handling/loading-error.js | 0 .../container-1-5/error-handling/module.js | 0 .../error-handling/webpack.config.js | 2 +- .../container-1-5/exposed-overridables/App.js | 0 .../exposed-overridables/Button.js | 0 .../exposed-overridables/index.js | 0 .../node_modules/package.json | 0 .../node_modules/react.js | 0 .../exposed-overridables/package.json | 0 .../exposed-overridables/webpack.config.js | 2 +- .../fallback-context/src/index.js | 0 .../fallback-context/src/shared.js | 0 .../fallback-context/webpack.config.js | 2 +- .../bootstrap.js | 0 .../index.js | 0 .../plugin.js | 0 .../webpack.config.js | 0 .../module-federation-with-shareScope/App.js | 0 .../ComponentB.js | 0 .../ComponentC.js | 0 .../index.js | 0 .../node_modules/package.json | 0 .../node_modules/react.js | 0 .../package.json | 0 .../test.config.js | 0 .../upgrade-react.js | 0 .../webpack.config.js | 2 +- .../container-1-5/module-federation/dep.js | 0 .../container-1-5/module-federation/index.js | 0 .../container-1-5/module-federation/module.js | 0 .../container-1-5/module-federation/other.js | 0 .../container-1-5/module-federation/self.js | 0 .../module-federation/test.config.js | 2 +- .../module-federation/webpack.config.js | 2 +- .../container-1-5/no-shared/index.js | 0 .../container-1-5/no-shared/module.js | 0 .../container-1-5/no-shared/webpack.config.js | 2 +- .../css-loader/css-modules-classname/index.js | 0 .../css-modules-classname/index.module.css | 0 .../css-modules-classname/webpack.config.js | 0 .../css/at-import-in-the-top/a.css | 0 .../css/at-import-in-the-top/b.css | 0 .../css/at-import-in-the-top/c.css | 0 .../css/at-import-in-the-top/index.js | 0 .../at-import-in-the-top/webpack.config.js | 0 .../chunk.css | 0 .../index.js | 0 .../webpack.config.js | 0 .../css/css-cross-origin-loading/chunk.css | 0 .../css/css-cross-origin-loading/index.js | 0 .../webpack.config.js | 0 .../css/experiments-css-off/errors.js | 0 .../css/experiments-css-off/index.css | 0 .../css/experiments-css-off/index.js | 0 .../css/experiments-css-off/webpack.config.js | 0 .../css/export-selector/imported.js | 0 .../configCases/css/export-selector/index.js | 0 .../css/export-selector/reexported.js | 0 .../css/export-selector/style.module.css | 0 .../css/export-selector/webpack.config.js | 0 .../rewrite-url-auto-public-path/index.css | 0 .../css/rewrite-url-auto-public-path/index.js | 0 .../css/rewrite-url-auto-public-path/logo.png | Bin .../rewrite-url-auto-public-path/warnings.js | 0 .../webpack.config.js | 0 .../css/rewrite-url-css-variables/index.css | 0 .../css/rewrite-url-css-variables/index.js | 0 .../css/rewrite-url-css-variables/logo.png | Bin .../webpack.config.js | 0 .../rewrite-url-rule-public-path/index.css | 0 .../css/rewrite-url-rule-public-path/index.js | 0 .../css/rewrite-url-rule-public-path/logo.png | 0 .../webpack.config.js | 0 .../rewrite-url-with-css-filename/index.css | 0 .../rewrite-url-with-css-filename/index.js | 0 .../rewrite-url-with-css-filename/logo.png | Bin .../rewrite-url-with-css-filename/warnings.js | 0 .../webpack.config.js | 0 .../css/rewrite-url-with-data-url/index.css | 0 .../css/rewrite-url-with-data-url/index.js | 0 .../css/rewrite-url-with-data-url/logo.png | Bin .../webpack.config.js | 0 .../configCases/css/rewrite-url/index.css | 0 .../configCases/css/rewrite-url/index.js | 0 .../configCases/css/rewrite-url/logo.png | Bin .../css/rewrite-url/webpack.config.js | 0 .../css/rspack-issue-4258/index.css | 0 .../css/rspack-issue-4258/index.js | 0 .../css/rspack-issue-4258/webpack.config.js | 0 .../css/rspack-issue-4844/a.module.css | 0 .../configCases/css/rspack-issue-4844/css.js | 0 .../css/rspack-issue-4844/index.js | 0 .../css/rspack-issue-4844/test.config.js | 0 .../css/rspack-issue-4844/webpack.config.js | 0 .../tests/configCases/css/urls/img'() img.png | Bin .../tests/configCases/css/urls/img.png | Bin .../tests/configCases/css/urls/index.js | 0 .../tests/configCases/css/urls/urls.css | 0 .../configCases/css/urls/webpack.config.js | 0 .../configCases/entry/chunk-loading/a.js | 0 .../configCases/entry/chunk-loading/async.js | 0 .../configCases/entry/chunk-loading/b.js | 0 .../entry/chunk-loading/test.config.js | 0 .../entry/chunk-loading/webpack.config.js | 0 .../entry/evaluation-order/before.js | 0 .../entry/evaluation-order/index.js | 0 .../entry/evaluation-order/webpack.config.js | 0 .../tests/configCases/entry/filename/index.js | 0 .../configCases/entry/filename/test.config.js | 0 .../entry/filename/webpack.config.js | 0 .../configCases/entry/runtime-false/index.js | 0 .../entry/runtime-false/test.config.js | 0 .../entry/runtime-false/webpack.config.js | 0 .../tests/configCases/entry/runtime/index.js | 0 .../configCases/entry/runtime/test.config.js | 0 .../entry/runtime/webpack.config.js | 0 .../tests/configCases/errors/bail/a.js | 0 .../tests/configCases/errors/bail/b.js | 0 .../tests/configCases/errors/bail/c.js | 0 .../tests/configCases/errors/bail/d.js | 0 .../tests/configCases/errors/bail/e.js | 0 .../tests/configCases/errors/bail/errors.js | 0 .../tests/configCases/errors/bail/f.js | 0 .../tests/configCases/errors/bail/g.js | 0 .../tests/configCases/errors/bail/index.js | 0 .../tests/configCases/errors/bail/loader.js | 0 .../configCases/errors/bail/webpack.config.js | 0 .../errors/rspack-issue-4504/errors.js | 0 .../errors/rspack-issue-4504/index.js | 0 .../rspack-issue-4504/webpack.config.js | 0 .../externals/array-externals/index.js | 0 .../externals/array-externals/inject.js | 0 .../array-externals/webpack.config.js | 0 .../externals/custom-url/index.css | 0 .../configCases/externals/custom-url/index.js | 0 .../externals/custom-url/webpack.config.js | 0 .../index.js | 0 .../webpack.config.js | 0 .../externals/item-value-object/index.js | 0 .../externals/item-value-object/lodash.js | 0 .../item-value-object/webpack.config.js | 2 +- .../configCases/externals/module/index.js | 0 .../externals/module/test.config.js | 0 .../externals/module/webpack.config.js | 0 .../externals/node-module/index.js | 0 .../externals/node-module/test.config.js | 0 .../externals/node-module/webpack.config.js | 0 .../externals/non-amd-externals-amd/index.js | 0 .../non-amd-externals-amd/test.config.js | 0 .../non-amd-externals-amd/webpack.config.js | 0 .../hooks/after-process-assets/index.js | 0 .../after-process-assets/webpack.config.js | 0 .../hooks/after-resolve-resource/a.js | 0 .../hooks/after-resolve-resource/b.js | 0 .../hooks/after-resolve-resource/c.js | 0 .../hooks/after-resolve-resource/duplicate.js | 0 .../hooks/after-resolve-resource/request.js | 0 .../hooks/after-resolve-resource/resource.js | 0 .../after-resolve-resource/test.config.js | 0 .../after-resolve-resource/webpack.config.js | 0 .../configCases/hooks/after-seal/index.js | 0 .../hooks/after-seal/webpack.config.js | 0 .../hooks/asset-emitted-buffer/index.js | 0 .../asset-emitted-buffer/webpack.config.js | 0 .../configCases/hooks/asset-emitted/index.js | 0 .../hooks/asset-emitted/webpack.config.js | 0 .../configCases/hooks/before-resolve/index.js | 0 .../configCases/hooks/before-resolve/text.txt | 0 .../hooks/before-resolve/webpack.config.js | 0 .../tests/configCases/hooks/build-module/a.js | 0 .../configCases/hooks/build-module/index.js | 0 .../hooks/build-module/webpack.config.js | 0 .../tests/configCases/hooks/check-asset/a.js | 0 .../configCases/hooks/check-asset/index.js | 0 .../hooks/check-asset/webpack.config.js | 0 .../index.js | 0 .../test.config.js | 0 .../webpack.config.js | 0 .../configCases/hooks/compilation-hooks/a.js | 0 .../hooks/compilation-hooks/index.js | 0 .../hooks/compilation-hooks/webpack.config.js | 0 .../hooks/compitable-errors-object/errors.js | 0 .../hooks/compitable-errors-object/index.js | 0 .../webpack.config.js | 0 .../context-module-after-resolve/dir/foo.js | 0 .../context-module-after-resolve/index.js | 0 .../webpack.config.js | 0 .../configCases/hooks/create-module/a.js | 0 .../configCases/hooks/create-module/index.js | 0 .../node_modules/foo-loader/index.js | 0 .../hooks/create-module/webpack.config.js | 0 .../hooks/entryOption/src/answer.js | 0 .../hooks/entryOption/src/index.js | 0 .../hooks/entryOption/src/index2.js | 0 .../hooks/entryOption/test.config.js | 0 .../hooks/entryOption/webpack.config.js | 0 .../configCases/hooks/interceptor/index.js | 0 .../hooks/interceptor/webpack.config.js | 0 .../processAssetsStageAdditions/index.js | 0 .../webpack.config.js | 0 .../hooks/rspack-issue-4395/index.js | 0 .../hooks/rspack-issue-4395/webpack.config.js | 0 .../hooks/rspack-issue-5571/index.css | 0 .../hooks/rspack-issue-5571/index.js | 0 .../hooks/rspack-issue-5571/webpack.config.js | 0 .../configCases/hooks/runtime-module/chunk.js | 0 .../configCases/hooks/runtime-module/index.js | 0 .../hooks/runtime-module/test.config.js | 0 .../hooks/runtime-module/webpack.config.js | 0 .../configCases/hooks/should-emit-1/index.js | 0 .../hooks/should-emit-1/webpack.config.js | 0 .../configCases/hooks/should-emit-2/index.js | 0 .../hooks/should-emit-2/webpack.config.js | 0 .../hooks/stage-compilation/index.js | 0 .../hooks/stage-compilation/plugin.js | 0 .../hooks/stage-compilation/webpack.config.js | 0 .../configCases/hooks/stage-make/index.js | 0 .../hooks/stage-make/webpack.config.js | 0 .../hooks/stage-process-assets/index.js | 0 .../stage-process-assets/webpack.config.js | 0 .../plugins/MyStillValidModulePlugin.js | 0 .../hooks/stillValidModule/src/answer.js | 0 .../hooks/stillValidModule/src/index.js | 0 .../hooks/stillValidModule/webpack.config.js | 0 .../plugins/MySucceedModulePlugin.js | 0 .../hooks/succeedModule/src/answer.js | 0 .../hooks/succeedModule/src/child/a.js | 0 .../hooks/succeedModule/src/index.js | 0 .../hooks/succeedModule/webpack.config.js | 0 .../configCases/hooks/update-asset/index.js | 0 .../hooks/update-asset/test.config.js | 0 .../hooks/update-asset/webpack.config.js | 0 .../ignore/with-source-map/ignored-module.js | 0 .../ignore/with-source-map/index.js | 0 .../ignore/with-source-map/webpack.config.js | 0 .../additional-data-async-fn/index.js | 0 .../additional-data-async-fn/index.less | 0 .../webpack.config.js | 0 .../less-loader/additional-data-fn/index.js | 0 .../less-loader/additional-data-fn/index.less | 0 .../additional-data-fn/webpack.config.js | 0 .../additional-data-string/index.js | 0 .../additional-data-string/index.less | 0 .../additional-data-string/webpack.config.js | 0 .../configCases/less-loader/basic/index.js | 0 .../configCases/less-loader/basic/index.less | 0 .../less-loader/basic/webpack.config.js | 0 .../less-loader/resolve/.gitignore | 0 .../configCases/less-loader/resolve/index.js | 0 .../less-loader/resolve/index.less | 0 .../node_modules/universal-design/base.less | 0 .../node_modules/universal-design/common.less | 0 .../universal-design/package.json | 0 .../less-loader/resolve/webpack.config.js | 0 .../less-loader/with-source-map/index.js | 0 .../less-loader/with-source-map/index.less | 0 .../with-source-map/webpack.config.js | 0 .../library/_0-create-library/a.js | 0 .../library/_0-create-library/index.js | 0 .../library/_0-create-library/nested.js | 0 .../library/_0-create-library/non-external.js | 0 .../library/_0-create-library/test.config.js | 0 .../_0-create-library/webpack.config.js | 0 .../library/_1-use-library/default-test.js | 0 .../library/_1-use-library/index.js | 0 .../_1-use-library/node_modules/external.js | 0 .../library/_1-use-library/test.config.js | 0 .../library/_1-use-library/this-test.js | 0 .../library/_1-use-library/var-test.js | 0 .../library/_1-use-library/webpack.config.js | 0 .../configCases/library/_amd-require/index.js | 0 .../library/_amd-require/webpack.config.js | 0 .../configCases/library/amd-named/index.js | 0 .../library/amd-named/webpack.config.js | 0 .../configCases/library/amd-unnamed/index.js | 0 .../library/amd-unnamed/webpack.config.js | 0 .../configCases/library/array-this/index.js | 0 .../library/array-this/webpack.config.js | 0 .../configCases/library/commonjs/index.js | 0 .../library/commonjs/webpack.config.js | 0 .../library/duplicate-module-library/index.js | 0 .../duplicate-module-library/test.config.js | 0 .../webpack.config.js | 0 .../configCases/library/esm-external/index.js | 0 .../library/esm-external/webpack.config.js | 0 .../configCases/library/esmodule/index.js | 0 .../library/esmodule/webpack.config.js | 0 .../configCases/library/umd-external/index.js | 0 .../library/umd-external/webpack.config.js | 0 .../umd-named-define-runtime-chunk/index.js | 0 .../test.config.js | 0 .../webpack.config.js | 0 .../library/umd-named-define/index.js | 0 .../umd-named-define/webpack.config.js | 0 .../tests/configCases/library/var/index.js | 0 .../configCases/library/var/webpack.config.js | 0 .../codegen-cache/app-proxy.js | 0 .../loader-import-module/codegen-cache/app.js | 0 .../loader-import-module/codegen-cache/foo.js | 0 .../codegen-cache/index.js | 0 .../codegen-cache/loader.js | 0 .../codegen-cache/webpack.config.js | 0 .../loader-import-module/css/colors.js | 0 .../loader-import-module/css/file.jpg | Bin .../loader-import-module/css/file.png | Bin .../loader-import-module/css/index.js | 0 .../loader-import-module/css/loader.js | 0 .../css/other-stylesheet.js | 0 .../loader-import-module/css/stylesheet.js | 0 .../css/webpack.config.js | 0 .../recursive-import-module/bar.js | 0 .../recursive-import-module/bar.js.macro | 0 .../recursive-import-module/entry.js | 0 .../recursive-import-module/index.js | 0 .../recursive-import-module/index.js.macro | 0 .../recursive-import-module/loader.js | 0 .../recursive-import-module/webpack.config.js | 0 .../configCases/loader/additional-data/a.js | 0 .../loader/additional-data/index.js | 0 .../loader/additional-data/loader-1.js | 0 .../loader/additional-data/loader-2.js | 0 .../loader/additional-data/webpack.config.js | 0 .../tests/configCases/loader/async/a.js | 0 .../configCases/loader/async/asyncloader.js | 0 .../tests/configCases/loader/async/index.js | 0 .../configCases/loader/async/syncloader.js | 0 .../loader/async/webpack.config.js | 0 .../binary-with-source-map/empty-loader.js | 0 .../loader/binary-with-source-map/index.js | 0 .../loader/binary-with-source-map/logo.png | Bin .../binary-with-source-map/webpack.config.js | 0 .../loader/builtin-loader-ident/index.js | 0 .../loader/builtin-loader-ident/lib.ts | 0 .../builtin-loader-ident/webpack.config.js | 0 .../configCases/loader/context-fragment/a.js | 0 .../configCases/loader/context-fragment/b.js | 0 .../loader/context-fragment/index.js | 0 .../loader/context-fragment/my-loader.js | 0 .../loader/context-fragment/webpack.config.js | 0 .../configCases/loader/context-path/a.js | 0 .../configCases/loader/context-path/index.js | 0 .../loader/context-path/my-loader.js | 0 .../loader/context-path/webpack.config.js | 0 .../configCases/loader/context-query/a.js | 0 .../configCases/loader/context-query/b.js | 0 .../configCases/loader/context-query/index.js | 0 .../loader/context-query/my-loader.js | 0 .../loader/context-query/webpack.config.js | 0 .../configCases/loader/context-resource/a.js | 0 .../loader/context-resource/index.js | 0 .../loader/context-resource/my-loader.js | 0 .../loader/context-resource/webpack.config.js | 0 .../tests/configCases/loader/context/a.js | 0 .../tests/configCases/loader/context/index.js | 0 .../loader/context/replace-loader.js | 0 .../loader/context/webpack.config.js | 0 .../configCases/loader/file-loader/index.js | 0 .../configCases/loader/file-loader/logo.png | 0 .../loader/file-loader/webpack.config.js | 0 .../tests/configCases/loader/hot/index.js | 0 .../tests/configCases/loader/hot/loader.js | 0 .../configCases/loader/hot/webpack.config.js | 0 .../loader/issue-webpack-9053/b.js | 0 .../loader/issue-webpack-9053/c.js | 0 .../loader/issue-webpack-9053/index.js | 0 .../node_modules/loader1.js | 0 .../node_modules/loader2.js | 0 .../node_modules/loader3.js | 0 .../issue-webpack-9053/webpack.config.js | 0 .../loader/loader-builtin-swc/index.js | 0 .../loader-builtin-swc/webpack.config.js | 0 .../loader/loader-error-async/async.js | 0 .../loader/loader-error-async/callback.js | 0 .../loader/loader-error-async/errors.js | 0 .../loader/loader-error-async/index.js | 0 .../loader/loader-error-async/lib.js | 0 .../loader-error-async/webpack.config.js | 0 .../loader/loader-raw-string/index.js | 0 .../loader/loader-raw-string/lib.js | 0 .../loader/loader-raw-string/loader-util.js | 0 .../loader/loader-raw-string/raw.js | 0 .../loader/loader-raw-string/string.js | 0 .../loader-raw-string/webpack.config.js | 0 .../configCases/loader/loader-raw/index.js | 0 .../configCases/loader/loader-raw/loader.js | 0 .../configCases/loader/loader-raw/logo.png | 0 .../loader/loader-raw/webpack.config.js | 0 .../configCases/loader/loader-string/index.js | 0 .../configCases/loader/loader-string/lib.js | 0 .../loader/loader-string/my-loader.js | 0 .../loader/loader-string/webpack.config.js | 0 .../loader/match-module-type/foo.custom | 0 .../loader/match-module-type/index.js | 0 .../loader/match-module-type/loader-test.js | 0 .../match-module-type/webpack.config.js | 0 .../loader/module-build-error/errors.js | 0 .../loader/module-build-error/index.js | 0 .../loader/module-build-error/index.scss | 0 .../module-build-error/webpack.config.js | 0 .../tests/configCases/loader/options/a.js | 0 .../tests/configCases/loader/options/b.js | 0 .../tests/configCases/loader/options/c.js | 0 .../tests/configCases/loader/options/d.js | 0 .../tests/configCases/loader/options/e.js | 0 .../configCases/loader/options/error1.js | 0 .../configCases/loader/options/error2.js | 0 .../tests/configCases/loader/options/f.js | 0 .../tests/configCases/loader/options/g.js | 0 .../tests/configCases/loader/options/h.js | 0 .../tests/configCases/loader/options/i.js | 0 .../tests/configCases/loader/options/index.js | 0 .../loader/options/infrastructure-log.js | 0 .../configCases/loader/options/loader-1.js | 0 .../loader/options/loader-1.options.json | 0 .../configCases/loader/options/loader-2.js | 0 .../loader/options/loader-2.options.json | 0 .../configCases/loader/options/loader.js | 0 .../loader/options/webpack.config.js | 0 .../configCases/loader/pitching/index.js | 0 .../tests/configCases/loader/pitching/lib.js | 0 .../loader/pitching/pitching-loader.js | 0 .../loader/pitching/simple-async-loader.js | 0 .../loader/pitching/simple-loader.js | 0 .../loader/pitching/webpack.config.js | 0 .../configCases/loader/pre-post-loader/a.js | 0 .../loader/pre-post-loader/index.js | 0 .../loader/pre-post-loader/loader1.js | 0 .../loader/pre-post-loader/loader2.js | 0 .../loader/pre-post-loader/loader3.js | 0 .../loader/pre-post-loader/webpack.config.js | 0 .../loader/rspack-issue-3418/index.js | 0 .../loader/rspack-issue-3418/lib.js | 0 .../loader/rspack-issue-3418/loader.js | 0 .../rspack-issue-3418/webpack.config.js | 0 .../rspack-issue-4297/fragmentloader.js | 0 .../loader/rspack-issue-4297/index.js | 0 .../loader/rspack-issue-4297/lib.js | 0 .../loader/rspack-issue-4297/queryloader.js | 0 .../rspack-issue-4297/webpack.config.js | 0 .../loader/rspack-issue-4630/index.js | 0 .../rspack-issue-4630/webpack.config.js | 0 ...41\343\201\257\344\270\226\347\225\214.js" | 0 ...40\345\245\275\344\270\226\347\225\214.js" | 0 ...30\354\204\270\354\203\201\354\225\204.js" | 0 .../configCases/loader/rspack-issue-4838/a.js | 0 .../configCases/loader/rspack-issue-4838/b.js | 0 .../loader/rspack-issue-4838/index.js | 0 .../rspack-issue-4838/node_modules/loader1.js | 0 .../rspack-issue-4838/webpack.config.js | 0 .../configCases/loader/rspack-issue-5600/a.js | 0 .../loader/rspack-issue-5600/index.js | 0 .../loader/rspack-issue-5600/loader-a.js | 0 .../loader/rspack-issue-5600/loader-b.js | 0 .../rspack-issue-5600/webpack.config.js | 0 .../configCases/loader/rspack-issue-6068/a.js | 0 .../loader/rspack-issue-6068/index.js | 0 .../loader/rspack-issue-6068/loader1.js | 0 .../loader/rspack-issue-6068/loader2.js | 0 .../loader/rspack-issue-6068/loader3.js | 0 .../rspack-issue-6068/webpack.config.js | 0 .../tests/configCases/loader/source-map/a.js | 0 .../configCases/loader/source-map/index.js | 0 .../configCases/loader/source-map/loader-1.js | 0 .../configCases/loader/source-map/loader-2.js | 0 .../loader/source-map/webpack.config.js | 0 .../tests/configCases/loader/sync/a.js | 0 .../configCases/loader/sync/asyncloader.js | 0 .../tests/configCases/loader/sync/index.js | 0 .../configCases/loader/sync/syncloader.js | 0 .../configCases/loader/sync/webpack.config.js | 0 .../skipping-mangle-css-modules/index.js | 0 .../index.module.css | 0 .../skipping-mangle-css-modules/lib.js | 0 .../skipping-mangle-css-modules/package.json | 0 .../webpack.config.js | 0 .../module-variables/dirname-mock/index.js | 0 .../dirname-mock/webpack.config.js | 0 .../dirname-true/child/child.js | 0 .../module-variables/dirname-true/index.js | 0 .../dirname-true/webpack.config.js | 0 .../dirname-web-default/index.js | 0 .../dirname-web-default/webpack.config.js | 0 .../module-variables/global-false/index.js | 0 .../global-false/webpack.config.js | 0 .../module-variables/global-true/index.js | 0 .../global-true/webpack.config.js | 0 .../module-variables/global-warn/index.js | 0 .../global-warn/webpack.config.js | 0 .../module-variables/resource-query/index.js | 0 .../resource-query/webpack.config.js | 0 .../module-variables/webpack-hash/index.js | 0 .../webpack-hash/webpack.config.js | 0 .../module-variables/webpack-modules/index.js | 0 .../webpack-modules/webpack.config.js | 0 .../webpack-public-path/index.js | 0 .../webpack-public-path/webpack.config.js | 0 .../webpack_chunk_load/index.js | 0 .../webpack_chunk_load/webpack.config.js | 0 .../tests/configCases/module/exclude/index.js | 0 .../tests/configCases/module/exclude/lib.js | 0 .../configCases/module/exclude/loader.js | 0 .../module/exclude/webpack.config.js | 0 .../configCases/module/function-use/index.js | 0 .../module/function-use/index.less | 0 .../configCases/module/function-use/loader.js | 0 .../module/function-use/webpack.config.js | 0 .../configCases/module/generator/index.js | 0 .../configCases/module/generator/logo.png | Bin .../configCases/module/generator/logo.svg | 0 .../module/generator/webpack.config.js | 0 .../tests/configCases/module/include/index.js | 0 .../tests/configCases/module/include/lib.js | 0 .../configCases/module/include/loader-1.js | 0 .../configCases/module/include/loader-2.js | 0 .../configCases/module/include/loader-3.js | 0 .../module/include/webpack.config.js | 0 .../tests/configCases/module/issuer/index.js | 0 .../tests/configCases/module/issuer/lib0.js | 0 .../tests/configCases/module/issuer/lib1.js | 0 .../tests/configCases/module/issuer/lib2.js | 0 .../tests/configCases/module/issuer/lib3.js | 0 .../configCases/module/issuer/loader0.js | 0 .../configCases/module/issuer/loader1.js | 0 .../configCases/module/issuer/loader2.js | 0 .../configCases/module/issuer/loader3.js | 0 .../module/issuer/webpack.config.js | 0 .../configCases/module/keep-order/file.js | 0 .../configCases/module/keep-order/index.js | 0 .../module/keep-order/test-loader.js | 0 .../module/keep-order/webpack.config.js | 0 .../configCases/module/match-all/img.svg | 0 .../configCases/module/match-all/index.js | 0 .../module/match-all/webpack.config.js | 0 .../module/match-module-type/img.png | 0 .../module/match-module-type/img.svg | 0 .../module/match-module-type/index.js | 0 .../match-module-type/webpack.config.js | 0 .../module/merge-global-generator/index.js | 0 .../merge-global-generator/index.module.css | 0 .../merge-global-generator/webpack.config.js | 0 .../tests/configCases/module/no-parse/foo.js | 0 .../configCases/module/no-parse/index.js | 0 .../module/no-parse/not-parsed-a.js | 0 .../module/no-parse/webpack.config.js | 0 .../configCases/module/one-of-nested/index.js | 0 .../configCases/module/one-of-nested/lib.js | 0 .../module/one-of-nested/loader.js | 0 .../module/one-of-nested/loader1.js | 0 .../module/one-of-nested/loader2.js | 0 .../module/one-of-nested/webpack.config.js | 0 .../tests/configCases/module/one-of/index.js | 0 .../tests/configCases/module/one-of/lib.js | 0 .../tests/configCases/module/one-of/loader.js | 0 .../configCases/module/one-of/loader1.js | 0 .../configCases/module/one-of/loader2.js | 0 .../module/one-of/webpack.config.js | 0 .../configCases/module/order-nested/index.js | 0 .../configCases/module/order-nested/lib.js | 0 .../configCases/module/order-nested/loader.js | 0 .../module/order-nested/loader1.js | 0 .../module/order-nested/loader2.js | 0 .../module/order-nested/webpack.config.js | 0 .../module/order-under-import/file.js | 0 .../module/order-under-import/index.js | 0 .../module/order-under-import/test-loader.js | 0 .../order-under-import/webpack.config.js | 0 .../tests/configCases/module/parser/index.js | 0 .../tests/configCases/module/parser/logo.png | Bin .../module/parser/webpack.config.js | 0 .../module/resolve/images/logo.png | Bin .../configCases/module/resolve/index.css | 0 .../tests/configCases/module/resolve/index.js | 0 .../module/resolve/webpack.config.js | 0 .../configCases/module/resource/index.js | 0 .../tests/configCases/module/resource/lib.js | 0 .../configCases/module/resource/loader-1.js | 0 .../configCases/module/resource/loader-2.js | 0 .../module/resource/webpack.config.js | 0 .../module/rspack-issue-1652/dynamic.js | 0 .../module/rspack-issue-1652/index.js | 0 .../rspack-issue-1652/webpack.config.js | 0 .../module/rspack-issue-2791/answer.js | 0 .../module/rspack-issue-2791/index.js | 0 .../rspack-issue-2791/webpack.config.js | 0 .../module/rspack-issue-4224/index.js | 0 .../module/rspack-issue-4224/index.scss | 0 .../rspack-issue-4224/webpack.config.js | 0 .../module/rspack-issue-4777/index.js | 0 .../module/rspack-issue-4777/loader.js | 0 .../module/rspack-issue-4777/sub/a.js | 0 .../module/rspack-issue-4777/sub/b.js | 0 .../module/rspack-issue-4777/sub/c.js | 0 .../module/rspack-issue-4777/sub/d.js | 0 .../module/rspack-issue-4777/sub/e.js | 0 .../module/rspack-issue-4777/sub/f.js | 0 .../module/rspack-issue-4777/sub/g.js | 0 .../module/rspack-issue-4777/sub/h.js | 0 .../rspack-issue-4777/webpack.config.js | 0 .../module/rspack-issue-5548/dynamic.js | 0 .../module/rspack-issue-5548/index.js | 0 .../rspack-issue-5548/webpack.config.js | 0 .../tests/configCases/module/test/a.SVG | 0 .../tests/configCases/module/test/a.less | 0 .../configCases/module/test/a.module.less | 0 .../tests/configCases/module/test/index.js | 0 .../tests/configCases/module/test/lib.js | 0 .../tests/configCases/module/test/loader-1.js | 0 .../tests/configCases/module/test/loader-2.js | 0 .../configCases/module/test/webpack.config.js | 0 .../configCases/nonce/not-set-nonce/empty.js | 0 .../configCases/nonce/not-set-nonce/index.js | 0 .../nonce/not-set-nonce/webpack.config.js | 0 .../configCases/nonce/set-nonce/empty.js | 0 .../configCases/nonce/set-nonce/index.js | 0 .../nonce/set-nonce/webpack.config.js | 0 .../output-hot-config/hot-update-global/a.js | 0 .../output-hot-config/hot-update-global/b.js | 0 .../hot-update-global/index.js | 0 .../hot-update-global/test.config.js | 0 .../hot-update-global/webpack.config.js | 2 +- .../only-non-webpack-require/index.js | 0 .../webpack.config.js | 0 .../output-module/rspack-issue-4784/index.js | 0 .../output-module/rspack-issue-4784/m.js | 0 .../rspack-issue-4784/test.config.js | 0 .../rspack-issue-4784/webpack.config.js | 0 .../output-module/single-runtime/chunk.js | 0 .../output-module/single-runtime/index.js | 0 .../single-runtime/test.config.js | 0 .../single-runtime/webpack.config.js | 0 .../output/chunk-filename/index.js | 0 .../output/chunk-filename/test.config.js | 0 .../configCases/output/chunk-filename/two.js | 0 .../output/chunk-filename/webpack.config.js | 0 .../output/rspack-issue-4338/a/index.js | 0 .../output/rspack-issue-4338/a/local/one.js | 0 .../output/rspack-issue-4338/a/local/two.js | 0 .../output/rspack-issue-4338/b/index.js | 0 .../output/rspack-issue-4338/b/local/one.js | 0 .../output/rspack-issue-4338/b/local/two.js | 0 .../output/rspack-issue-4338/c/index.js | 0 .../output/rspack-issue-4338/c/local/one.js | 0 .../output/rspack-issue-4338/c/local/two.js | 0 .../output/rspack-issue-4338/index.js | 0 .../rspack-issue-4338/webpack.config.js | 0 .../tests/configCases/output/script-type/a.js | 0 .../configCases/output/script-type/b.png | 0 .../configCases/output/script-type/index.js | 0 .../output/script-type/test.config.js | 0 .../output/script-type/webpack.config.js | 0 .../output/source-map-filename/index.js | 0 .../output/source-map-filename/test.config.js | 0 .../output/source-map-filename/two.js | 0 .../source-map-filename/webpack.config.js | 0 .../parsing/class-method-parameters/foo.js | 0 .../parsing/class-method-parameters/index.js | 0 .../class-method-parameters/webpack.config.js | 0 .../parsing/eval-null-in-none-mode/a.js | 0 .../parsing/eval-null-in-none-mode/index.js | 0 .../eval-null-in-none-mode/webpack.config.js | 0 .../parsing/eval-undefined-in-none-mode/a.js | 0 .../eval-undefined-in-none-mode/index.js | 0 .../webpack.config.js | 0 .../parsing/getter-import-specifier/a.js | 0 .../parsing/getter-import-specifier/index.js | 0 .../getter-import-specifier/webpack.config.js | 0 .../configCases/parsing/import-eager/index.js | 0 .../configCases/parsing/import-eager/two.js | 0 .../parsing/import-eager/webpack.config.js | 0 .../rspack-issue-5120-binding/errors.js | 0 .../parsing/rspack-issue-5120-binding/fail.js | 0 .../rspack-issue-5120-binding/index.js | 0 .../webpack.config.js | 0 .../rspack-issue-5120-strict-block/errors.js | 0 .../rspack-issue-5120-strict-block/fail.js | 0 .../rspack-issue-5120-strict-block/index.js | 0 .../webpack.config.js | 0 .../rspack-issue-5120-strict/errors.js | 0 .../parsing/rspack-issue-5120-strict/fail.js | 0 .../parsing/rspack-issue-5120-strict/index.js | 0 .../webpack.config.js | 0 .../parsing/rspack-issue-5120-var/index.js | 0 .../rspack-issue-5120-var/webpack.config.js | 0 .../parsing/rspack-issue-5197/a.mjs | 0 .../parsing/rspack-issue-5197/index.js | 0 .../rspack-issue-5197/webpack.config.js | 0 .../parsring/eval-null-in-none-mode/a.js | 0 .../parsring/eval-null-in-none-mode/index.js | 0 .../eval-null-in-none-mode/webpack.config.js | 0 .../plugins/chunk-modules/async.js | 0 .../plugins/chunk-modules/index.js | 0 .../plugins/chunk-modules/webpack.config.js | 0 .../plugins/copy-webpack-plugin-v5/index.js | 0 .../plugins/copy-webpack-plugin-v5/stuff.txt | 0 .../copy-webpack-plugin-v5/webpack.config.js | 0 .../plugins/get-runtime-chunk/entry1.js | 0 .../plugins/get-runtime-chunk/entry2.js | 0 .../plugins/get-runtime-chunk/test.config.js | 0 .../get-runtime-chunk/webpack.config.js | 0 .../plugins/html-define/document.ejs | 0 .../configCases/plugins/html-define/index.js | 0 .../plugins/html-define/webpack.config.js | 0 .../plugins/html-webpack-plugin/index.js | 0 .../plugins/html-webpack-plugin/template.html | 0 .../plugins/html-webpack-plugin/template.pug | 0 .../html-webpack-plugin/webpack.config.js | 0 .../plugins/internal-entrypoints/index.js | 0 .../internal-entrypoints/webpack.config.js | 0 .../index.js | 0 .../webpack.config.js | 0 .../plugins/internal-processAssets/index.js | 0 .../internal-processAssets/webpack.config.js | 0 .../plugins/minify-ascii-only/a.js | 0 .../plugins/minify-ascii-only/index.js | 0 .../plugins/minify-ascii-only/test.config.js | 0 .../minify-ascii-only/webpack.config.js | 0 .../plugins/minify-comment-all/a.js | 0 .../plugins/minify-comment-all/index.js | 0 .../plugins/minify-comment-all/test.config.js | 0 .../minify-comment-all/webpack.config.js | 0 .../plugins/minify-comment-some/a.js | 0 .../plugins/minify-comment-some/index.js | 0 .../minify-comment-some/test.config.js | 0 .../minify-comment-some/webpack.config.js | 0 .../minify-disable-mangle-compress/a.js | 0 .../minify-disable-mangle-compress/index.js | 0 .../test.config.js | 0 .../webpack.config.js | 0 .../minify-disabled-on-empty-array/index.css | 0 .../minify-disabled-on-empty-array/index.js | 0 .../webpack.config.js | 0 .../plugins/minify-drop-console/index.js | 0 .../minify-drop-console/webpack.config.js | 0 .../plugins/minify-esbuild/index.js | 0 .../configCases/plugins/minify-esbuild/lib.js | 0 .../plugins/minify-esbuild/webpack.config.js | 0 .../configCases/plugins/minify-exclude/a.js | 0 .../configCases/plugins/minify-exclude/b.js | 0 .../plugins/minify-exclude/index.js | 0 .../plugins/minify-exclude/test.config.js | 0 .../plugins/minify-exclude/webpack.config.js | 0 .../plugins/minify-extract-comments/index.js | 0 .../minify-extract-comments/webpack.config.js | 0 .../plugins/minify-keep-classnames/index.js | 0 .../minify-keep-classnames/webpack.config.js | 0 .../plugins/minify-keep-fn-names/index.js | 0 .../minify-keep-fn-names/webpack.config.js | 0 .../plugins/minify-module/index.js | 0 .../plugins/minify-module/module-entry.js | 0 .../plugins/minify-module/module.js | 0 .../plugins/minify-module/test.config.js | 0 .../plugins/minify-module/webpack.config.js | 0 .../plugins/minify-pure-funcs/index.js | 0 .../minify-pure-funcs/webpack.config.js | 0 .../plugins/minify-terser/index.js | 0 .../configCases/plugins/minify-terser/lib.js | 0 .../plugins/minify-terser/webpack.config.js | 0 .../configCases/plugins/minify-test/a.js | 0 .../configCases/plugins/minify-test/a2.js | 0 .../configCases/plugins/minify-test/b.js | 0 .../configCases/plugins/minify-test/c.js | 0 .../configCases/plugins/minify-test/index.js | 0 .../plugins/minify-test/test.config.js | 0 .../plugins/minify-test/webpack.config.js | 0 .../minify-with-devtool-false/index.js | 0 .../plugins/minify-with-devtool-false/lib.js | 0 .../webpack.config.js | 0 .../normal-module-replacement-plugin/index.js | 0 .../request.v1.js | 0 .../request.v2.js | 0 .../resource.bar.js | 0 .../resource.foo.js | 0 .../webpack.config.js | 0 .../configCases/plugins/plugins-falsy/a.js | 0 .../plugins/plugins-falsy/index.js | 0 .../plugins/plugins-falsy/webpack.config.js | 0 .../provide-plugin-issue-5994/default.js | 0 .../provide-plugin-issue-5994/harmony.js | 0 .../provide-plugin-issue-5994/index.js | 0 .../plugins/provide-plugin-issue-5994/mod.js | 0 .../webpack.config.js | 0 .../plugins/rspack-issue-4757/index.js | 0 .../rspack-issue-4757/webpack.config.js | 0 .../plugins/rspack-issue-4797/index.js | 0 .../rspack-issue-4797/webpack.config.js | 0 .../plugins/rspack-issue-4982/child.js | 0 .../plugins/rspack-issue-4982/index.js | 0 .../rspack-issue-4982/webpack.config.js | 0 .../plugins/rspack-issue-5068-1/index.js | 0 .../rspack-issue-5068-1/webpack.config.js | 0 .../plugins/rspack-issue-5068-2/index.js | 0 .../rspack-issue-5068-2/webpack.config.js | 0 .../index.js | 0 .../test.config.js | 0 .../webpack.config.js | 0 .../plugins/swc-js-minifier/extract.js | 0 .../plugins/swc-js-minifier/index.js | 0 .../plugins/swc-js-minifier/no-extract.js | 0 .../plugins/swc-js-minifier/test.config.js | 0 .../plugins/swc-js-minifier/webpack.config.js | 0 .../postcss-loader/pxtorem/index.css | 0 .../postcss-loader/pxtorem/index.js | 0 .../postcss-loader/pxtorem/webpack.config.js | 0 .../with-previous-source-map/index.js | 0 .../with-previous-source-map/index.scss | 0 .../webpack.config.js | 0 .../postcss-loader/with-source-map/index.css | 0 .../postcss-loader/with-source-map/index.js | 0 .../with-source-map/webpack.config.js | 0 .../configCases/resolve/alias-order/b.js | 0 .../configCases/resolve/alias-order/index.js | 0 .../resolve/alias-order/webpack.config.js | 0 .../tests/configCases/resolve/alias/a.js | 0 .../tests/configCases/resolve/alias/index.js | 0 .../resolve/alias/node_modules/alias/index.js | 0 .../resolve/alias/webpack.config.js | 0 .../configCases/resolve/by-dependency/baz.js | 0 .../configCases/resolve/by-dependency/foo.bar | 0 .../resolve/by-dependency/index.js | 0 .../resolve/by-dependency/webpack.config.js | 0 .../resolve/condition-exports/index.js | 0 .../exports-conditional-2/lib.cjs | 0 .../node_modules/exports-conditional-2/lib.js | 0 .../exports-conditional-2/package.json | 0 .../node_modules/exports-conditional/lib.cjs | 0 .../node_modules/exports-conditional/lib.mjs | 0 .../exports-conditional/package.json | 0 .../condition-exports/webpack.config.js | 0 .../configCases/resolve/conditions/index.js | 0 .../node_modules/exports-field/lib/index.js | 0 .../exports-field/lib/lib2/main.js | 0 .../node_modules/exports-field/lib/main.js | 0 .../node_modules/exports-field/package.json | 0 .../node_modules/exports-field/x.js | 0 .../resolve/conditions/webpack.config.js | 0 .../resolve/exports-fields/index.js | 0 .../node_modules/exports-field/b.js | 0 .../node_modules/exports-field/package.json | 0 .../resolve/exports-fields/webpack.config.js | 0 .../resolve/extension-alias/index.js | 0 .../resolve/extension-alias/src/index.mts | 0 .../resolve/extension-alias/webpack.config.js | 0 .../configCases/resolve/modules/a/foo/a.js | 0 .../resolve/modules/a/foo/package.json | 0 .../configCases/resolve/modules/b/foo/b.js | 0 .../resolve/modules/b/foo/package.json | 0 .../configCases/resolve/modules/index.js | 0 .../resolve/modules/webpack.config.js | 0 .../resolve/nested-by-dependency/bar.mjs | 0 .../resolve/nested-by-dependency/baz.js | 0 .../resolve/nested-by-dependency/foo.bar | 0 .../resolve/nested-by-dependency/index.js | 0 .../nested-by-dependency/webpack.config.js | 0 .../resolve/rspack-issue-4432/index.js | 0 .../rspack-issue-4432/package/custom.js | 0 .../rspack-issue-4432/package/package.json | 0 .../rspack-issue-4432/webpack.config.js | 0 .../resolve/tsconfig-paths-map/index.js | 0 .../resolve/tsconfig-paths-map/real.js | 0 .../resolve/tsconfig-paths-map/src/file.js | 0 .../resolve/tsconfig-paths-map/tsconfig.json | 0 .../tsconfig-paths-map/webpack.config.js | 0 .../tsconfig-project-references-auto/index.js | 0 .../project_a/conf.json | 0 .../project_a/src/aliased/index.js | 0 .../project_a/src/index.js | 0 .../project_b/src/aliased/index.js | 0 .../project_b/src/index.js | 0 .../project_b/tsconfig.json | 0 .../project_c/index.js | 0 .../project_c/src/aliased/index.js | 0 .../project_c/tsconfig.json | 0 .../tsconfig.json | 0 .../webpack.config.js | 0 .../index.js | 0 .../project_a/conf.json | 0 .../project_a/src/aliased/index.js | 0 .../project_a/src/index.js | 0 .../project_b/src/aliased/index.js | 0 .../project_b/src/index.js | 0 .../project_b/tsconfig.json | 0 .../project_c/index.js | 0 .../project_c/src/aliased/index.js | 0 .../project_c/tsconfig.json | 0 .../tsconfig.json | 0 .../webpack.config.js | 0 .../dynamic-chunk-with-hash/dynamic.js | 0 .../runtime/dynamic-chunk-with-hash/index.js | 0 .../dynamic-chunk-with-hash/webpack.config.js | 0 .../runtime/dynamic-chunk/dynamic.js | 0 .../runtime/dynamic-chunk/index.js | 0 .../runtime/dynamic-chunk/webpack.config.js | 0 .../dynamic.css | 0 .../dynamic.js | 0 .../index.js | 0 .../webpack.config.js | 0 .../dynamic-css-chunk-with-hash/common.js | 0 .../dynamic-css-chunk-with-hash/dynamic.css | 0 .../dynamic-css-chunk-with-hash/dynamic.js | 0 .../dynamic-css-chunk-with-hash/index.js | 0 .../webpack.config.js | 0 .../dynamic-css-chunk-with-umd/dynamic.css | 0 .../dynamic-css-chunk-with-umd/dynamic.js | 0 .../dynamic-css-chunk-with-umd/index.js | 0 .../runtime/dynamic-css-chunk-with-umd/lib.js | 0 .../dynamic-css-chunk-with-umd/test.config.js | 0 .../webpack.config.js | 0 .../runtime/dynamic-css-chunk/common.js | 0 .../runtime/dynamic-css-chunk/dynamic.css | 0 .../runtime/dynamic-css-chunk/dynamic.js | 0 .../runtime/dynamic-css-chunk/index.js | 0 .../dynamic-css-chunk/webpack.config.js | 0 .../runtime/entry-runtime/index.js | 0 .../runtime/entry-runtime/test.config.js | 0 .../runtime/entry-runtime/webpack.config.js | 0 .../configCases/runtime/issue-4019/dynamic.js | 0 .../configCases/runtime/issue-4019/index.js | 0 .../configCases/runtime/issue-4019/index2.js | 0 .../configCases/runtime/issue-4019/shared.js | 0 .../runtime/issue-4019/test.config.js | 0 .../runtime/issue-4019/webpack.config.js | 0 .../runtime/namespace-cache/index.mjs | 0 .../runtime/namespace-cache/proxy.js | 0 .../runtime/namespace-cache/utils.js | 0 .../runtime/namespace-cache/webpack.config.js | 0 .../runtime/split-css-chunk-async/common.css | 0 .../runtime/split-css-chunk-async/common.js | 0 .../runtime/split-css-chunk-async/index1.js | 0 .../runtime/split-css-chunk-async/index2.js | 0 .../runtime/split-css-chunk-async/index3.js | 0 .../runtime/split-css-chunk-async/share.css | 0 .../runtime/split-css-chunk-async/share.js | 0 .../split-css-chunk-async/test.config.js | 0 .../split-css-chunk-async/webpack.config.js | 0 .../runtime/split-css-chunk/common.css | 0 .../runtime/split-css-chunk/common.js | 0 .../runtime/split-css-chunk/index1.js | 0 .../runtime/split-css-chunk/index2.js | 0 .../runtime/split-css-chunk/test.config.js | 0 .../runtime/split-css-chunk/webpack.config.js | 0 .../split-dynamic-import-common-chunk/a.js | 0 .../split-dynamic-import-common-chunk/b.js | 0 .../common.js | 0 .../index.js | 0 .../webpack.config.js | 0 .../configCases/sass/additional-data/index.js | 0 .../sass/additional-data/index.scss | 0 .../sass/additional-data/webpack.config.js | 0 .../tests/configCases/sass/basic/index.js | 0 .../tests/configCases/sass/basic/index.scss | 0 .../configCases/sass/basic/webpack.config.js | 0 .../sass/import-alias/a/alias.scss | 0 .../b/dir-with-underscore-index/_index.scss | 0 .../import-alias/b/directory-6/_index.scss | 0 .../configCases/sass/import-alias/index.js | 0 .../configCases/sass/import-alias/index.scss | 0 .../sass/import-alias/webpack.config.js | 0 .../sass/import-from-npm-org-pkg/.gitignore | 0 .../sass/import-from-npm-org-pkg/index.js | 0 .../sass/import-from-npm-org-pkg/index.scss | 0 .../node_modules/@org/bar/_foo.scss | 0 .../node_modules/@org/pkg/index.scss | 0 .../node_modules/@org/pkg/package.json | 0 .../import-from-npm-org-pkg/webpack.config.js | 0 .../configCases/sass/use-alias/a/alias.scss | 0 .../b/dir-with-underscore-index/_index.scss | 0 .../sass/use-alias/b/directory-6/_index.scss | 0 .../tests/configCases/sass/use-alias/index.js | 0 .../configCases/sass/use-alias/index.scss | 0 .../sass/use-alias/webpack.config.js | 0 .../configCases/sass/with-source-map/index.js | 0 .../sass/with-source-map/index.scss | 0 .../sass/with-source-map/webpack.config.js | 0 .../configCases/schemes/data-imports/a.css | 0 .../schemes/data-imports/bad-base64.css | 0 .../schemes/data-imports/index.css | 0 .../configCases/schemes/data-imports/index.js | 0 .../schemes/data-imports/webpack.config.js | 0 .../configCases/schemes/file-url/.gitignore | 0 .../configCases/schemes/file-url/index.js | 0 .../file-url/src with spaces/module.js | 0 .../schemes/file-url/webpack.config.js | 0 .../schemes/resource-within-scheme/index.js | 0 .../node_modules/polyfill/index.js | 0 .../node_modules/polyfill/package.json | 0 .../resource-within-scheme/webpack.config.js | 0 .../source-map/auxiliary-files/index.js | 0 .../auxiliary-files/webpack.config.js | 0 .../configCases/source-map/basic/index.js | 0 .../source-map/basic/webpack.config.js | 0 .../source-map/cheap-module/index.js | 0 .../source-map/cheap-module/index.scss | 0 .../source-map/cheap-module/webpack.config.js | 0 .../configCases/source-map/cheap/index.js | 0 .../configCases/source-map/cheap/index.scss | 0 .../source-map/cheap/webpack.config.js | 0 .../configCases/source-map/eval-only/index.js | 0 .../source-map/eval-only/index.scss | 0 .../source-map/eval-only/test.config.js | 0 .../configCases/source-map/eval-only/test.js | 0 .../source-map/eval-only/webpack.config.js | 0 .../source-map/eval-source-map/index.js | 0 .../eval-source-map/webpack.config.js | 0 .../configCases/source-map/hidden/index.js | 0 .../source-map/hidden/webpack.config.js | 0 .../configCases/source-map/inline/index.js | 0 .../source-map/inline/webpack.config.js | 0 .../relative-source-map-path/index.js | 0 .../relative-source-map-path/test.js | 0 .../webpack.config.js | 0 .../relative-source-maps-by-loader/index.js | 0 .../loader-no-source-root.js | 0 .../loader-pre-relative.js | 0 .../loader-source-root-2-slash.js | 0 .../loader-source-root-slash.js | 0 .../loader-source-root-source-slash.js | 0 .../loader-source-root.js | 0 .../webpack.config.js | 0 .../source-map/resource-path/index.js | 0 .../source-map/resource-path/test.js | 0 .../resource-path/webpack.config.js | 0 .../source-map/source-map-loader/a.js | 0 .../source-map/source-map-loader/a.js.map | 0 .../source-map/source-map-loader/index.js | 0 .../source-map-loader/webpack.config.js | 0 .../configCases/source-map/source-map/App.jsx | 0 .../source-map/source-map/index.js | 0 .../source-map/source-map/webpack.config.js | 0 .../source-map/verify-bundle-css-minify/a.css | 0 .../verify-bundle-css-minify/b-dir/b.css | 0 .../b-dir/c-dir/c.css | 0 .../verify-bundle-css-minify/entry.css | 0 .../verify-bundle-css-minify/index.js | 2 +- .../webpack.config.js | 0 .../source-map/verify-bundle-css/a.css | 0 .../source-map/verify-bundle-css/b-dir/b.css | 0 .../verify-bundle-css/b-dir/c-dir/c.css | 0 .../source-map/verify-bundle-css/entry.css | 0 .../source-map/verify-bundle-css/index.js | 2 +- .../verify-bundle-css/webpack.config.js | 0 .../source-map/verify-css-js-mix/a.css | 0 .../source-map/verify-css-js-mix/a.js | 0 .../source-map/verify-css-js-mix/index.js | 4 +- .../verify-css-js-mix/webpack.config.js | 0 .../source-map/verify-es6-minify/a.js | 0 .../source-map/verify-es6-minify/b-dir/b.js | 0 .../verify-es6-minify/b-dir/c-dir/c.js | 0 .../source-map/verify-es6-minify/index.js | 4 +- .../verify-es6-minify/webpack.config.js | 0 .../configCases/source-map/verify-es6/a.js | 0 .../source-map/verify-es6/b-dir/b.js | 0 .../source-map/verify-es6/b-dir/c-dir/c.js | 0 .../source-map/verify-es6/index.js | 4 +- .../source-map/verify-es6/webpack.config.js | 0 .../split-chunks-common/_hot-multi/common.js | 0 .../split-chunks-common/_hot-multi/first.js | 0 .../split-chunks-common/_hot-multi/second.js | 0 .../split-chunks-common/_hot-multi/shared.js | 0 .../_hot-multi/test.config.js | 0 .../_hot-multi/webpack.config.js | 2 +- .../split-chunks-common/_hot/index.js | 0 .../split-chunks-common/_hot/test.config.js | 0 .../split-chunks-common/_hot/vendor.js | 0 .../_hot/webpack.config.js | 2 +- .../split-chunks-common/_library/a.js | 0 .../split-chunks-common/_library/index.js | 0 .../_library/test.config.js | 0 .../_library/webpack.config.js | 0 .../split-chunks-common/default/index.js | 0 .../default/test.config.js | 0 .../default/webpack.config.js | 0 .../split-chunks-common/disable/index.js | 0 .../disable/test.config.js | 0 .../disable/webpack.config.js | 0 .../enforce-minsize/async.js | 0 .../enforce-minsize/foo.js | 0 .../enforce-minsize/index.js | 0 .../enforce-minsize/test.config.js | 0 .../enforce-minsize/webpack.config.js | 0 .../rspack-issue-4376/index.js | 0 .../rspack-issue-4376/node_modules/a.js | 0 .../rspack-issue-4376/node_modules/b.js | 0 .../rspack-issue-4376/node_modules/c.js | 0 .../rspack-issue-4376/node_modules/d.js | 0 .../rspack-issue-4376/test.config.js | 0 .../rspack-issue-4376/webpack.config.js | 0 .../split-chunks-combinations/a.js | 0 .../split-chunks-combinations/b.js | 0 .../split-chunks-combinations/c.js | 0 .../split-chunks-combinations/d.js | 0 .../split-chunks-combinations/e.js | 0 .../split-chunks-combinations/f.js | 0 .../split-chunks-combinations/g.js | 0 .../split-chunks-combinations/index.js | 0 .../webpack.config.js | 0 .../split-chunks-combinations/x.js | 0 .../split-chunks-combinations/y.js | 0 .../_issue-12307/a-only-module.js | 0 .../split-chunks/_issue-12307/a.js | 0 .../split-chunks/_issue-12307/b.js | 0 .../split-chunks/_issue-12307/index.js | 0 .../_issue-12307/shared-module.js | 0 .../_issue-12307/webpack.config.js | 0 .../configCases/split-chunks/_simple/a.js | 0 .../configCases/split-chunks/_simple/index.js | 0 .../split-chunks/_simple/test.config.js | 0 .../split-chunks/_simple/webpack.config.js | 0 .../errors.js | 0 .../index.js | 0 .../webpack.config.js | 0 .../chunk-filename-delimiter-overall/a.js | 0 .../chunk-filename-delimiter-overall/b.js | 0 .../chunk-filename-delimiter-overall/c.js | 0 .../commons.js | 0 .../chunk-filename-delimiter-overall/index.js | 0 .../test.config.js | 0 .../webpack.config.js | 0 .../split-chunks/chunks-function/index.js | 0 .../split-chunks/chunks-function/lib1.js | 0 .../split-chunks/chunks-function/lib2.js | 0 .../split-chunks/chunks-function/shared.js | 0 .../chunks-function/test.config.js | 0 .../chunks-function/webpack.config.js | 0 .../split-chunks/css-simple/foo.css | 0 .../split-chunks/css-simple/foo.js | 0 .../split-chunks/css-simple/index.css | 0 .../split-chunks/css-simple/index.js | 0 .../split-chunks/css-simple/test.config.js | 0 .../split-chunks/css-simple/webpack.config.js | 0 .../a.js | 0 .../b.js | 0 .../common/0.js | 0 .../common/1.js | 0 .../other/0.js | 0 .../other/1.js | 0 .../shared/0.js | 0 .../shared/1.js | 0 .../shared/10.js | 0 .../shared/11.js | 0 .../shared/12.js | 0 .../shared/13.js | 0 .../shared/14.js | 0 .../shared/15.js | 0 .../shared/16.js | 0 .../shared/17.js | 0 .../shared/18.js | 0 .../shared/19.js | 0 .../shared/2.js | 0 .../shared/3.js | 0 .../shared/4.js | 0 .../shared/5.js | 0 .../shared/6.js | 0 .../shared/7.js | 0 .../shared/8.js | 0 .../shared/9.js | 0 .../test.config.js | 0 .../webpack.config.js | 0 .../a.js | 0 .../b.js | 0 .../common/0.js | 0 .../common/1.js | 0 .../other/0.js | 0 .../other/1.js | 0 .../shared/0.js | 0 .../shared/1.js | 0 .../shared/10.js | 0 .../shared/11.js | 0 .../shared/12.js | 0 .../shared/13.js | 0 .../shared/14.js | 0 .../shared/15.js | 0 .../shared/16.js | 0 .../shared/17.js | 0 .../shared/18.js | 0 .../shared/19.js | 0 .../shared/2.js | 0 .../shared/3.js | 0 .../shared/4.js | 0 .../shared/5.js | 0 .../shared/6.js | 0 .../shared/7.js | 0 .../shared/8.js | 0 .../shared/9.js | 0 .../test.config.js | 0 .../webpack.config.js | 0 .../a.js | 0 .../b.js | 0 .../common/0.js | 0 .../common/1.js | 0 .../other/0.js | 0 .../other/1.js | 0 .../shared/0.js | 0 .../shared/1.js | 0 .../shared/10.js | 0 .../shared/11.js | 0 .../shared/12.js | 0 .../shared/13.js | 0 .../shared/14.js | 0 .../shared/15.js | 0 .../shared/16.js | 0 .../shared/17.js | 0 .../shared/18.js | 0 .../shared/19.js | 0 .../shared/2.js | 0 .../shared/3.js | 0 .../shared/4.js | 0 .../shared/5.js | 0 .../shared/6.js | 0 .../shared/7.js | 0 .../shared/8.js | 0 .../shared/9.js | 0 .../test.config.js | 0 .../webpack.config.js | 0 .../a.js | 0 .../b.js | 0 .../common/0.js | 0 .../common/1.js | 0 .../other/0.js | 0 .../other/1.js | 0 .../shared/0.js | 0 .../shared/1.js | 0 .../shared/10.js | 0 .../shared/11.js | 0 .../shared/12.js | 0 .../shared/13.js | 0 .../shared/14.js | 0 .../shared/15.js | 0 .../shared/16.js | 0 .../shared/17.js | 0 .../shared/18.js | 0 .../shared/19.js | 0 .../shared/2.js | 0 .../shared/3.js | 0 .../shared/4.js | 0 .../shared/5.js | 0 .../shared/6.js | 0 .../shared/7.js | 0 .../shared/8.js | 0 .../shared/9.js | 0 .../test.config.js | 0 .../webpack.config.js | 0 .../custom-filename-no-reuse-chunk/a.js | 0 .../custom-filename-no-reuse-chunk/b.js | 0 .../custom-filename-no-reuse-chunk/common1.js | 0 .../custom-filename-no-reuse-chunk/common2.js | 0 .../custom-filename-no-reuse-chunk/common3.js | 0 .../custom-filename-no-reuse-chunk/shared1.js | 0 .../custom-filename-no-reuse-chunk/shared2.js | 0 .../test.config.js | 0 .../webpack.config.js | 0 .../split-chunks/custom-filename/a.js | 0 .../split-chunks/custom-filename/b.js | 0 .../split-chunks/custom-filename/common1.js | 0 .../split-chunks/custom-filename/common2.js | 0 .../split-chunks/custom-filename/common3.js | 0 .../split-chunks/custom-filename/shared1.js | 0 .../split-chunks/custom-filename/shared2.js | 0 .../custom-filename/test.config.js | 0 .../custom-filename/webpack.config.js | 0 .../split-chunks/default-priority/a.js | 0 .../split-chunks/default-priority/b.js | 0 .../split-chunks/default-priority/c.js | 0 .../split-chunks/default-priority/index.js | 0 .../default-priority/test.config.js | 0 .../default-priority/webpack.config.js | 0 .../foo-2.js | 0 .../foo.js | 0 .../index.js | 0 .../test.config.js | 0 .../webpack.config.js | 0 .../extract-css-to-single-chunk/foo.css | 0 .../extract-css-to-single-chunk/foo.js | 0 .../extract-css-to-single-chunk/index.css | 0 .../extract-css-to-single-chunk/index.js | 0 .../test.config.js | 0 .../webpack.config.js | 0 .../reuse-existing-chunk-simple/foo-2.js | 0 .../reuse-existing-chunk-simple/foo.js | 0 .../reuse-existing-chunk-simple/index.js | 0 .../test.config.js | 0 .../webpack.config.js | 0 .../split-chunks/rspack-issue-17332/bar.js | 0 .../split-chunks/rspack-issue-17332/foo.js | 0 .../split-chunks/rspack-issue-17332/index.js | 0 .../rspack-issue-17332/test.config.js | 0 .../rspack-issue-17332/webpack.config.js | 0 .../rspack-issue-3646/src/another.js | 0 .../rspack-issue-3646/src/index.js | 0 .../rspack-issue-3646/src/shared.js | 0 .../rspack-issue-3646/test.config.js | 0 .../rspack-issue-3646/webpack.config.js | 0 .../split-chunks/rspack-issue-5267/chunk.js | 0 .../split-chunks/rspack-issue-5267/file-A2.js | 0 .../split-chunks/rspack-issue-5267/file-B2.js | 0 .../split-chunks/rspack-issue-5267/file-a1.js | 0 .../split-chunks/rspack-issue-5267/file-b1.js | 0 .../split-chunks/rspack-issue-5267/index.js | 0 .../rspack-issue-5267/test.config.js | 0 .../rspack-issue-5267/webpack.config.js | 0 .../rspack-issue-5485/src/index.js | 0 .../rspack-issue-5485/src/lib/a.js | 0 .../rspack-issue-5485/test.config.js | 0 .../rspack-issue-5485/webpack.config.js | 0 .../rspack-issue-5657/src/index.js | 0 .../rspack-issue-5657/src/lib/a.css | 0 .../rspack-issue-5657/src/lib/b.css | 0 .../rspack-issue-5657/src/lib/c.css | 0 .../rspack-issue-5657/src/lib/mod.js | 0 .../rspack-issue-5657/webpack.config.js | 0 .../foo-2.js | 0 .../foo.js | 0 .../index.js | 0 .../test.config.js | 0 .../webpack.config.js | 0 .../split-chunks-dot-name/foo-2.js | 0 .../split-chunks/split-chunks-dot-name/foo.js | 0 .../split-chunks-dot-name/index.js | 0 .../split-chunks-dot-name/test.config.js | 0 .../split-chunks-dot-name/webpack.config.js | 0 .../svg/different-module-by-loaders/index.css | 0 .../svg/different-module-by-loaders/index.js | 0 .../svg/different-module-by-loaders/star.svg | 0 .../webpack.config.js | 0 .../asset-is-dep-of-css-source/a.svg | 0 .../asset-is-dep-of-css-source/index.css | 0 .../asset-is-dep-of-css-source/index.js | 0 .../asset-is-dep-of-css-source/package.json | 0 .../webpack.config.js | 0 .../configCases/tree-shaking/assets1/index.js | 0 .../tree-shaking/assets1/package/a.js | 0 .../tree-shaking/assets1/package/a.svg | 0 .../tree-shaking/assets1/package/b.js | 0 .../tree-shaking/assets1/package/b.svg | 0 .../tree-shaking/assets1/package/index.js | 0 .../tree-shaking/assets1/package/package.json | 0 .../tree-shaking/assets1/webpack.config.js | 0 .../commonjs-reexport-interop/a.js | 0 .../commonjs-reexport-interop/index.js | 0 .../commonjs-reexport-interop/lib.js | 0 .../commonjs-reexport-interop/package.json | 0 .../webpack.config.js | 0 .../tree-shaking/export-default-alias/a.js | 0 .../export-default-alias/answer.js | 0 .../tree-shaking/export-default-alias/app.js | 0 .../export-default-alias/index.js | 0 .../tree-shaking/export-default-alias/lib.js | 0 .../export-default-alias/package.json | 0 .../export-default-alias/webpack.config.js | 0 .../export-star-of-external-module/index.js | 0 .../export-star-of-external-module/lib.js | 0 .../webpack.config.js | 0 .../import-by-name-json/data/c.json | 0 .../import-by-name-json/data/d.json | 0 .../import-by-name-json/data/e.json | 0 .../import-by-name-json/data/f.json | 0 .../import-by-name-json/data/g.json | 0 .../tree-shaking/import-by-name-json/index.js | 0 .../import-by-name-json/webpack.config.js | 0 .../inner-graph-static-block/a.js | 0 .../inner-graph-static-block/index.js | 0 .../inner-graph-static-block/lib.js | 0 .../webpack.config.js | 0 .../tree-shaking/issue-5782/index.js | 0 .../tree-shaking/issue-5782/package/index.js | 0 .../tree-shaking/issue-5782/webpack.config.js | 0 .../tree-shaking/json-empty-array/arr.json | 0 .../tree-shaking/json-empty-array/index.js | 0 .../json-empty-array/webpack.config.js | 0 .../member-expr-computed-prop/index.js | 0 .../member-expr-computed-prop/lib.js | 0 .../member-expr-computed-prop/package.json | 0 .../webpack.config.js | 0 .../multiple-same-export-side-effect/index.js | 0 .../multiple-same-export-side-effect/lib.js | 0 .../reexport.js | 0 .../webpack.config.js | 0 .../multiple-same-import-side-effect/index.js | 0 .../multiple-same-import-side-effect/lib.js | 0 .../webpack.config.js | 0 .../configCases/tree-shaking/new-url/a.js | 0 .../configCases/tree-shaking/new-url/a.wasm | 0 .../configCases/tree-shaking/new-url/b.js | 0 .../tree-shaking/new-url/b.worker.js | 0 .../configCases/tree-shaking/new-url/index.js | 0 .../tree-shaking/new-url/webpack.config.js | 0 .../side-effects-disabled-active/index.js | 0 .../side-effect.js | 0 .../side-effects-disabled-active/tracker.js | 0 .../webpack.config.js | 0 .../tree-shaking/side-effects-rule/index.js | 0 .../side-effects-rule/package/a.js | 0 .../side-effects-rule/package/b.js | 0 .../side-effects-rule/package/index.js | 0 .../side-effects-rule/package/package.json | 0 .../side-effects-rule/webpack.config.js | 0 .../trusted-types/custom-policy-name/empty.js | 0 .../trusted-types/custom-policy-name/index.js | 0 .../custom-policy-name/webpack.config.js | 0 .../default-policy-name/empty.js | 0 .../default-policy-name/index.js | 0 .../default-policy-name/webpack.config.js | 0 .../trusted-types/no-policy-name/empty.js | 0 .../trusted-types/no-policy-name/index.js | 0 .../no-policy-name/webpack.config.js | 0 .../trusted-types/no-trusted-types/empty.js | 0 .../trusted-types/no-trusted-types/index.js | 0 .../no-trusted-types/webpack.config.js | 0 .../used-exports/used-exports-global/index.js | 0 .../used-exports/used-exports-global/lib.js | 0 .../used-exports/used-exports-global/sub.js | 0 .../used-exports-global/test.config.js | 0 .../used-exports-global/webpack.config.js | 0 .../used-exports/used-exports-true/index.js | 0 .../used-exports/used-exports-true/lib.js | 0 .../used-exports/used-exports-true/sub.js | 0 .../used-exports-true/test.config.js | 0 .../used-exports-true/webpack.config.js | 0 .../tests/configCases/version/all/index.js | 0 .../configCases/version/all/webpack.config.js | 0 .../tests/configCases/version/array/index.js | 0 .../version/array/webpack.config.js | 0 .../tests/configCases/version/auto/index.js | 0 .../version/auto/webpack.config.js | 0 .../worker/worker-webpack-chunk-name/a.js | 0 .../worker/worker-webpack-chunk-name/index.js | 0 .../webpack.config.js | 0 .../rspack/tests/ConfigTestCases.basictest.js | 5 - .../rspack/tests/ConfigTestCases.template.js | 766 ------------------ .../configCases/target/async-node/index.js | 12 - .../target/async-node/webpack.config.js | 3 - .../configCases/target/mix-cjs-esm/cjs.js | 8 - .../configCases/target/mix-cjs-esm/esm.js | 8 - .../configCases/target/mix-cjs-esm/index.js | 7 - .../configCases/target/mix-cjs-esm/lib/cjs.js | 3 - .../configCases/target/mix-cjs-esm/lib/esm.js | 3 - .../target/mix-cjs-esm/webpack.config.js | 3 - .../tests/configCases/target/node/index.js | 12 - .../configCases/target/node/webpack.config.js | 3 - pnpm-lock.yaml | 3 + .../0-container-full/webpack.config.js | 2 +- 1998 files changed, 841 insertions(+), 870 deletions(-) create mode 100644 packages/rspack-test-tools/src/helper/legacy/fakeSystem.js create mode 100644 packages/rspack-test-tools/src/helper/util/checkSourceMap.js create mode 100644 packages/rspack-test-tools/src/helper/util/filterUtil.js create mode 100644 packages/rspack-test-tools/src/helper/util/identifier.js create mode 100644 packages/rspack-test-tools/src/helper/util/replaceMitteDiagnostic.js rename packages/{rspack => rspack-test-tools}/tests/__snapshots__/ConfigTestCases.basictest.js.snap (100%) create mode 100644 packages/rspack-test-tools/tests/cases/resolve/axios-0.27.2/node_modules/axios-demo/index.js create mode 100644 packages/rspack-test-tools/tests/cases/resolve/axios-0.27.2/node_modules/axios-demo/lib/adapters/http.js create mode 100644 packages/rspack-test-tools/tests/cases/resolve/axios-0.27.2/node_modules/axios-demo/lib/adapters/xhr.js create mode 100644 packages/rspack-test-tools/tests/cases/resolve/axios-0.27.2/node_modules/axios-demo/lib/axios.js create mode 100644 packages/rspack-test-tools/tests/cases/resolve/axios-0.27.2/node_modules/axios-demo/lib/defaults/index.js create mode 100644 packages/rspack-test-tools/tests/cases/resolve/axios-0.27.2/node_modules/axios-demo/package.json create mode 100644 packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/ignoring-module/file.js create mode 100644 packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/ignoring-module/index.js create mode 100644 packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/ignoring-module/package.json create mode 100644 packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/new-module/index.js create mode 100644 packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/new-module/inner.js create mode 100644 packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/recursive-file/a.js create mode 100644 packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/recursive-file/b.js create mode 100644 packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/recursive-file/c.js create mode 100644 packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/recursive-file/d.js create mode 100644 packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/recursive-file/package.json create mode 100644 packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/recursive-module/index.js create mode 100644 packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/recursive-module/package.json create mode 100644 packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-file1/file.js create mode 100644 packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-file1/index.js create mode 100644 packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-file1/new-file.js create mode 100644 packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-file1/package.json create mode 100644 packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-file2/file.js create mode 100644 packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-file2/index.js create mode 100644 packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-file2/package.json create mode 100644 packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-file3/file.js create mode 100644 packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-file3/index.js create mode 100644 packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-file3/package.json create mode 100644 packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-file4/dir/file.js create mode 100644 packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-file4/dir/index.js create mode 100644 packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-file4/dir/new-file.js create mode 100644 packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-file4/index.js create mode 100644 packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-file4/package.json create mode 100644 packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-module1/index.js create mode 100644 packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-module1/package.json create mode 100644 packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-module2/index.js create mode 100644 packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-module2/package.json create mode 100644 packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-module3/index.js create mode 100644 packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-module3/package.json create mode 100644 packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-module4/index.js create mode 100644 packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-module4/module.js create mode 100644 packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-module4/package.json create mode 100644 packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/wrong-module.js rename packages/{rspack => rspack-test-tools}/tests/configCases/asset-url/relative-rewrite/index.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/asset-url/relative-rewrite/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/asset-url/relative-rewrite/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/asset/_images/file.jpg (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/asset/_images/file.png (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/asset/auto/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/asset/auto/large.png (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/asset/auto/logo.svg (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/asset/auto/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/asset/data-url-condition/img.png (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/asset/data-url-condition/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/asset/data-url-condition/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/asset/disable-emit-by-rule/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/asset/disable-emit-by-rule/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/asset/disable-emit-for-asset/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/asset/disable-emit-for-asset/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/asset/disable-emit-for-resource/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/asset/disable-emit-for-resource/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/asset/inline/img.png (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/asset/inline/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/asset/inline/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/asset/issue-3307/a.png (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/asset/issue-3307/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/asset/issue-3307/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/asset/rename-asset/chunk.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/asset/rename-asset/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/asset/rename-asset/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/asset/resource/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/asset/resource/logo.svg (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/asset/resource/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/asset/rspack-issue-2283/img.png (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/asset/rspack-issue-2283/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/asset/rspack-issue-2283/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/asset/source/data.txt (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/asset/source/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/asset/source/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/babel-loader/plugin-import/.gitignore (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/babel-loader/plugin-import/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/babel-loader/plugin-import/node_modules/antd/lib/good.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/babel-loader/plugin-import/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/basic/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/basic/lib.ts (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/basic/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/chain/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/chain/lib.ts (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/chain/loader.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/chain/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/inline-pitching/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/inline-pitching/lib.ts (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/inline-pitching/pitching-loader.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/inline-pitching/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/issue-4597/diy.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/issue-4597/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/issue-4597/node_modules/aaaaa/es/button/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/issue-4597/node_modules/aaaaa/es/button/style/css.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/issue-4597/node_modules/aaaaa/es/button/style/index.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/issue-4597/node_modules/aaaaa/es/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/issue-4597/node_modules/aaaaa/package.json (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/issue-4597/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/issue-5329/errors.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/issue-5329/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/issue-5329/lib-entry.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/issue-5329/lib.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/issue-5329/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/plugin-import/custom-name-tpl.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/plugin-import/custom-style-name.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/plugin-import/ignore-es-component.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/plugin-import/ignore-style-component.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/plugin-import/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/plugin-import/legacy-babel-plugin-import.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/plugin-import/no-default.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/plugin-import/src/custom-name-tpl-camel/fooBar/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/plugin-import/src/custom-name-tpl-kebab/foo-bar/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/plugin-import/src/custom-name-tpl-lower/foobar/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/plugin-import/src/custom-name-tpl-nopanic/fooBar/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/plugin-import/src/custom-name-tpl-snake/foo_bar/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/plugin-import/src/custom-name-tpl-upper/FOOBAR/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/plugin-import/src/custom-style-name/lib/foo-bar/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/plugin-import/src/custom-style-name/lib/foo-bar/style/index.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/plugin-import/src/ignore-es-component/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/plugin-import/src/ignore-es-component/lib/button/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/plugin-import/src/ignore-es-component/lib/button/style/index.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/plugin-import/src/ignore-style-component/lib/button/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/plugin-import/src/ignore-style-component/lib/button/style.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/plugin-import/src/ignore-style-component/lib/foo-bar/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/plugin-import/src/legacy-babel-plugin-import/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/plugin-import/src/legacy-babel-plugin-import/lib/x-i-p-object/x_i_p_object.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/plugin-import/src/no-default/lib/foo-bar/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/plugin-import/src/style-css/lib/foo-bar/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/plugin-import/src/style-css/lib/foo-bar/style/css/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/plugin-import/src/style-library/css/foo-bar/index.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/plugin-import/src/style-library/lib/foo-bar/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/plugin-import/src/style-tpl/lib/foo-bar.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/plugin-import/src/style-tpl/lib/foo-bar/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/plugin-import/src/style-true/lib/foo-bar/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/plugin-import/src/style-true/lib/foo-bar/style/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/plugin-import/src/style-true/lib/with-number3d/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/plugin-import/src/style-true/lib/with-number3d/style/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/plugin-import/style-css.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/plugin-import/style-library.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/plugin-import/style-tpl.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/plugin-import/style-true.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/plugin-import/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/react-refresh-false/index.jsx (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/react-refresh-false/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/react-runtime-automic/index.jsx (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/react-runtime-automic/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/react-runtime-classic/index.jsx (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/react-runtime-classic/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/relay-config-custom/custom/MyComponent.graphql.ts (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/relay-config-custom/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/relay-config-custom/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/relay-config-js/custom/MyComponent.graphql.ts (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/relay-config-js/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/relay-config-js/relay.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/relay-config-js/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/relay-config-json/custom/MyComponent.graphql.ts (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/relay-config-json/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/relay-config-json/relay.config.json (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/relay-config-json/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/relay-default/__generated__/MyComponent.graphql.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/relay-default/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/relay-default/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/relay-json/__generated__/MyComponent.graphql.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/relay-json/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/relay-json/package.json (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/relay-json/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/relay-webpack-require/custom/MyComponent.graphql.ts (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/relay-webpack-require/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/relay-webpack-require/mock.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/relay-webpack-require/relay.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/relay-webpack-require/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/source-map/a.ts (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/source-map/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/source-map/source.txt (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/source-map/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/styled-components/Button/index.jsx (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/styled-components/Button2/index.jsx (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/styled-components/index.jsx (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/styled-components/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/swc-plugin/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtin-swc-loader/swc-plugin/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/banner/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/banner/b.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/banner/empty.png (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/banner/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/banner/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/banner/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/code-generation-keep-comments/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/code-generation-keep-comments/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/css-auto/index.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/css-auto/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/css-auto/index.module.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/css-auto/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/css-modules-composes-preprocessers/index.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/css-modules-composes-preprocessers/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/css-modules-composes-preprocessers/less-file.less (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/css-modules-composes-preprocessers/scss-file.scss (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/css-modules-composes-preprocessers/values.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/css-modules-composes-preprocessers/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/css-modules-composes-sass/foo.scss (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/css-modules-composes-sass/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/css-modules-composes-sass/index.scss (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/css-modules-composes-sass/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/css-modules-composes/imported-simple.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/css-modules-composes/index.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/css-modules-composes/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/css-modules-composes/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/css-modules-dedupe/buttons/button.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/css-modules-dedupe/buttons/primary-button.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/css-modules-dedupe/buttons/secondary-button.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/css-modules-dedupe/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/css-modules-dedupe/source.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/css-modules-dedupe/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/css-modules-exports-only/imported-simple.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/css-modules-exports-only/index.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/css-modules-exports-only/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/css-modules-exports-only/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/css-modules-local-ident-name-hash/index.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/css-modules-local-ident-name-hash/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/css-modules-local-ident-name-hash/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/css-modules-local-ident-name-path/src/index.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/css-modules-local-ident-name-path/src/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/css-modules-local-ident-name-path/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/css-modules-locals-convention-camelCase/index.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/css-modules-locals-convention-camelCase/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/css-modules-locals-convention-camelCase/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/css-modules-locals-convention-camelCaseOnly/index.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/css-modules-locals-convention-camelCaseOnly/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/css-modules-locals-convention-camelCaseOnly/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/css-modules-locals-convention-dashes/index.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/css-modules-locals-convention-dashes/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/css-modules-locals-convention-dashes/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/css-modules-pseudo/index.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/css-modules-pseudo/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/css-modules-pseudo/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/css-modules-simple/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/css-modules-simple/index.module.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/css-modules-simple/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/define/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/define/lib.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/define/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/html-entry-order/index.html (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/html-entry-order/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/html-entry-order/polyfill.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/html-entry-order/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/html-entry-order/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/html-favicon-absolute-publicpath/favicon.ico (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/html-favicon-absolute-publicpath/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/html-favicon-absolute-publicpath/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/html-favicon-absolute-subdir-publicpath/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/html-favicon-absolute-subdir-publicpath/static/favicon.ico (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/html-favicon-absolute-subdir-publicpath/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/html-favicon-absolute-subdir/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/html-favicon-absolute-subdir/static/favicon.ico (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/html-favicon-absolute-subdir/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/html-favicon-absolute/favicon.ico (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/html-favicon-absolute/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/html-favicon-absolute/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/html-favicon-relative-publicpath/favicon.ico (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/html-favicon-relative-publicpath/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/html-favicon-relative-publicpath/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/html-favicon-relative-subdir-publicpath/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/html-favicon-relative-subdir-publicpath/static/favicon.ico (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/html-favicon-relative-subdir-publicpath/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/html-favicon-relative-subdir/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/html-favicon-relative-subdir/static/favicon.ico (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/html-favicon-relative-subdir/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/html-favicon-relative/favicon.ico (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/html-favicon-relative/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/html-favicon-relative/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/html-inject/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/html-inject/webpack.config.js (91%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/html-meta/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/html-meta/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/html-minify/index.html (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/html-minify/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/html-minify/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/html-public-path-auto/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/html-public-path-auto/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/html-template-content/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/html-template-content/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/html-with-output-public-path/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/html-with-output-public-path/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/ignore-plugin/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/ignore-plugin/test-ignore/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/ignore-plugin/test-ignore/b.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/ignore-plugin/test-ignore/c.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/ignore-plugin/test-ignore/d.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/ignore-plugin/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/minify-ascii-only/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/minify-ascii-only/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/minify-ascii-only/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/minify-ascii-only/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/minify-comment-all/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/minify-comment-all/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/minify-comment-all/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/minify-comment-all/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/minify-comment-default-false/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/minify-comment-default-false/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/minify-comment-default-false/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/minify-comment-default-false/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/minify-comment-some/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/minify-comment-some/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/minify-comment-some/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/minify-comment-some/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/minify-drop-console/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/minify-drop-console/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/minify-exclude/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/minify-exclude/b.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/minify-exclude/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/minify-exclude/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/minify-exclude/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/minify-extract-comments/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/minify-extract-comments/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/minify-include/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/minify-include/b.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/minify-include/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/minify-include/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/minify-include/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/minify-keep-classnames/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/minify-keep-classnames/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/minify-keep-fn-names/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/minify-keep-fn-names/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/minify-pure-funcs/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/minify-pure-funcs/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/minify-test/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/minify-test/a2.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/minify-test/b.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/minify-test/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/minify-test/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/minify-test/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/minify-with-boolean/index.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/minify-with-boolean/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/minify-with-boolean/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/minify-with-query/index.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/minify-with-query/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/minify-with-query/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/minify/index.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/minify/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/minify/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/node-externals/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/node-externals/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/provide/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/provide/aaa.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/provide/b.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/provide/bbbccc.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/provide/ddd.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/provide/env.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/provide/esm.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/provide/foo.mjs (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/provide/harmony.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/provide/harmony2.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/provide/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/provide/process.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/provide/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/should_not_warn_export_destructring/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/should_not_warn_export_destructring/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/should_not_warn_export_destructring/warning.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/should_not_warn_export_destructring/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/should_not_warn_when_commjs_not_export/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/should_not_warn_when_commjs_not_export/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/should_not_warn_when_commjs_not_export/warning.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/should_not_warn_when_commjs_not_export/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/should_not_warn_when_src_format_is_umd/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/should_not_warn_when_src_format_is_umd/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/should_not_warn_when_src_format_is_umd/warning.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/builtins/should_not_warn_when_src_format_is_umd/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/cache/issuse-3254/a/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/cache/issuse-3254/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/cache/issuse-3254/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/chunk-index/available-modules-order-index/A.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/chunk-index/available-modules-order-index/B-2.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/chunk-index/available-modules-order-index/B.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/chunk-index/available-modules-order-index/m.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/chunk-index/available-modules-order-index/main.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/chunk-index/available-modules-order-index/n.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/chunk-index/available-modules-order-index/shared.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/chunk-index/available-modules-order-index/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/chunk-index/available-modules-order-index/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/chunk-loading/chunk-name/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/chunk-loading/chunk-name/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/chunk-loading/chunk-name/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/chunk-loading/chunk-name/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/chunk-loading/false/dynamic.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/chunk-loading/false/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/chunk-loading/false/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/chunk-loading/issue-3896/file/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/chunk-loading/issue-3896/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/chunk-loading/issue-3896/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/chunk-loading/issue-4754/child-entry.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/chunk-loading/issue-4754/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/chunk-loading/issue-4754/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/chunk-loading/issue-4754/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/chunk-loading/issue-4800/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/chunk-loading/issue-4800/logo1.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/chunk-loading/issue-4800/logo2.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/chunk-loading/issue-4800/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/chunk-loading/startup-async-node-1/async.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/chunk-loading/startup-async-node-1/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/chunk-loading/startup-async-node-1/lib-1.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/chunk-loading/startup-async-node-1/other.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/chunk-loading/startup-async-node-1/shared.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/chunk-loading/startup-async-node-1/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/chunk-loading/startup-async-node-1/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/chunk-loading/startup-async-node-2/async.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/chunk-loading/startup-async-node-2/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/chunk-loading/startup-async-node-2/lib-1.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/chunk-loading/startup-async-node-2/lib-2.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/chunk-loading/startup-async-node-2/other.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/chunk-loading/startup-async-node-2/shared.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/chunk-loading/startup-async-node-2/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/chunk-loading/startup-async-node-2/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/chunk-loading/startup-async-node-3/async.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/chunk-loading/startup-async-node-3/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/chunk-loading/startup-async-node-3/lib-1.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/chunk-loading/startup-async-node-3/lib-2.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/chunk-loading/startup-async-node-3/lib-3.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/chunk-loading/startup-async-node-3/other.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/chunk-loading/startup-async-node-3/shared.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/chunk-loading/startup-async-node-3/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/chunk-loading/startup-async-node-3/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/chunk-loading/startup-require/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/chunk-loading/startup-require/lib-1.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/chunk-loading/startup-require/lib-2.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/chunk-loading/startup-require/lib-3.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/chunk-loading/startup-require/other.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/chunk-loading/startup-require/shared.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/chunk-loading/startup-require/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/chunk-loading/startup-require/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/cjs-tree-shaking/export-require-unused/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/cjs-tree-shaking/export-require-unused/react.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/cjs-tree-shaking/export-require-unused/reexport.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/cjs-tree-shaking/export-require-unused/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/cjs-tree-shaking/rspack-issue-5282/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/cjs-tree-shaking/rspack-issue-5282/b.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/cjs-tree-shaking/rspack-issue-5282/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/cjs-tree-shaking/rspack-issue-5282/reexport.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/cjs-tree-shaking/rspack-issue-5282/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/code-generation/path-ends-with-star/entry.mjs (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/code-generation/path-ends-with-star/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/compilation/rebuild-module/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/compilation/rebuild-module/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/compilation/rebuild-module/loader.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/compilation/rebuild-module/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/concatenate-modules/with-css/foo.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/concatenate-modules/with-css/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/concatenate-modules/with-css/lib.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/concatenate-modules/with-css/package.json (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/concatenate-modules/with-css/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-0/multi-container-same-runtime/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-0/multi-container-same-runtime/b.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-0/multi-container-same-runtime/bootstrap.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-0/multi-container-same-runtime/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-0/multi-container-same-runtime/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-0/multi-container-same-runtime/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/0-container-full/App.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/0-container-full/ComponentA.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/0-container-full/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/0-container-full/node_modules/react.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/0-container-full/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/0-container-full/upgrade-react.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/0-container-full/webpack.config.js (94%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/0-transitive-overriding/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/0-transitive-overriding/b.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/0-transitive-overriding/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/0-transitive-overriding/modules.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/0-transitive-overriding/shared.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/0-transitive-overriding/webpack.config.js (89%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/1-container-full/App.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/1-container-full/ComponentB.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/1-container-full/ComponentC.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/1-container-full/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/1-container-full/node_modules/package.json (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/1-container-full/node_modules/react.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/1-container-full/package.json (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/1-container-full/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/1-container-full/upgrade-react.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/1-container-full/webpack.config.js (95%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/1-transitive-overriding/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/1-transitive-overriding/b.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/1-transitive-overriding/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/1-transitive-overriding/modules-from-remote.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/1-transitive-overriding/modules.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/1-transitive-overriding/shared.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/1-transitive-overriding/webpack.config.js (90%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/2-container-full/App.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/2-container-full/Self.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/2-container-full/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/2-container-full/node_modules/package.json (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/2-container-full/node_modules/react.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/2-container-full/package.json (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/2-container-full/upgrade-react.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/2-container-full/webpack.config.js (92%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/2-transitive-overriding/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/2-transitive-overriding/shared.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/2-transitive-overriding/webpack.config.js (89%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/3-container-full/App.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/3-container-full/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/3-container-full/node_modules/react.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/3-container-full/package.json (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/3-container-full/upgrade-react.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/3-container-full/warnings.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/3-container-full/webpack.config.js (83%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/assign-depth-for-add-include/a/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/assign-depth-for-add-include/a/util.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/assign-depth-for-add-include/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/assign-depth-for-add-include/reexport.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/assign-depth-for-add-include/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/circular/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/circular/b.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/circular/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/circular/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/circular/webpack.config.js (90%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/container-entry-overridables/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/container-entry-overridables/test.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/container-entry-overridables/value.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/container-entry-overridables/webpack.config.js (84%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/container-entry/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/container-entry/init-module.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/container-entry/main.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/container-entry/state.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/container-entry/test.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/container-entry/test2.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/container-entry/webpack.config.js (84%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/container-reference-override/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/container-reference-override/module.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/container-reference-override/new-test.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/container-reference-override/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/container-reference-override/webpack.config.js (81%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/container-reference/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/container-reference/module.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/container-reference/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/container-reference/webpack.config.js (76%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/error-handling/evaluation-error-cjs.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/error-handling/evaluation-error-tl-await.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/error-handling/evaluation-error.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/error-handling/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/error-handling/invalid-module-cjs.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/error-handling/invalid-module-tl-await.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/error-handling/invalid-module.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/error-handling/loading-error-cjs.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/error-handling/loading-error-tl-await.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/error-handling/loading-error.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/error-handling/module.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/error-handling/webpack.config.js (88%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/exposed-overridables/App.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/exposed-overridables/Button.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/exposed-overridables/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/exposed-overridables/node_modules/package.json (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/exposed-overridables/node_modules/react.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/exposed-overridables/package.json (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/exposed-overridables/webpack.config.js (84%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/fallback-context/src/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/fallback-context/src/shared.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/fallback-context/webpack.config.js (74%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/federation-instance-in-runtime-plugin/bootstrap.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/federation-instance-in-runtime-plugin/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/federation-instance-in-runtime-plugin/plugin.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/federation-instance-in-runtime-plugin/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/module-federation-with-shareScope/App.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/module-federation-with-shareScope/ComponentB.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/module-federation-with-shareScope/ComponentC.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/module-federation-with-shareScope/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/module-federation-with-shareScope/node_modules/package.json (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/module-federation-with-shareScope/node_modules/react.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/module-federation-with-shareScope/package.json (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/module-federation-with-shareScope/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/module-federation-with-shareScope/upgrade-react.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/module-federation-with-shareScope/webpack.config.js (95%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/module-federation/dep.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/module-federation/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/module-federation/module.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/module-federation/other.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/module-federation/self.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/module-federation/test.config.js (89%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/module-federation/webpack.config.js (91%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/no-shared/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/no-shared/module.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/container-1-5/no-shared/webpack.config.js (79%) rename packages/{rspack => rspack-test-tools}/tests/configCases/css-loader/css-modules-classname/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/css-loader/css-modules-classname/index.module.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/css-loader/css-modules-classname/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/css/at-import-in-the-top/a.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/css/at-import-in-the-top/b.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/css/at-import-in-the-top/c.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/css/at-import-in-the-top/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/css/at-import-in-the-top/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/css/css-cross-origin-loading-use-credentials/chunk.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/css/css-cross-origin-loading-use-credentials/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/css/css-cross-origin-loading-use-credentials/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/css/css-cross-origin-loading/chunk.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/css/css-cross-origin-loading/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/css/css-cross-origin-loading/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/css/experiments-css-off/errors.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/css/experiments-css-off/index.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/css/experiments-css-off/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/css/experiments-css-off/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/css/export-selector/imported.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/css/export-selector/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/css/export-selector/reexported.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/css/export-selector/style.module.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/css/export-selector/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/css/rewrite-url-auto-public-path/index.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/css/rewrite-url-auto-public-path/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/css/rewrite-url-auto-public-path/logo.png (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/css/rewrite-url-auto-public-path/warnings.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/css/rewrite-url-auto-public-path/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/css/rewrite-url-css-variables/index.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/css/rewrite-url-css-variables/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/css/rewrite-url-css-variables/logo.png (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/css/rewrite-url-css-variables/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/css/rewrite-url-rule-public-path/index.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/css/rewrite-url-rule-public-path/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/css/rewrite-url-rule-public-path/logo.png (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/css/rewrite-url-rule-public-path/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/css/rewrite-url-with-css-filename/index.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/css/rewrite-url-with-css-filename/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/css/rewrite-url-with-css-filename/logo.png (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/css/rewrite-url-with-css-filename/warnings.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/css/rewrite-url-with-css-filename/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/css/rewrite-url-with-data-url/index.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/css/rewrite-url-with-data-url/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/css/rewrite-url-with-data-url/logo.png (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/css/rewrite-url-with-data-url/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/css/rewrite-url/index.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/css/rewrite-url/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/css/rewrite-url/logo.png (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/css/rewrite-url/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/css/rspack-issue-4258/index.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/css/rspack-issue-4258/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/css/rspack-issue-4258/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/css/rspack-issue-4844/a.module.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/css/rspack-issue-4844/css.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/css/rspack-issue-4844/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/css/rspack-issue-4844/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/css/rspack-issue-4844/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/css/urls/img'() img.png (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/css/urls/img.png (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/css/urls/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/css/urls/urls.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/css/urls/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/entry/chunk-loading/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/entry/chunk-loading/async.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/entry/chunk-loading/b.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/entry/chunk-loading/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/entry/chunk-loading/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/entry/evaluation-order/before.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/entry/evaluation-order/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/entry/evaluation-order/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/entry/filename/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/entry/filename/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/entry/filename/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/entry/runtime-false/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/entry/runtime-false/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/entry/runtime-false/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/entry/runtime/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/entry/runtime/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/entry/runtime/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/errors/bail/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/errors/bail/b.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/errors/bail/c.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/errors/bail/d.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/errors/bail/e.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/errors/bail/errors.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/errors/bail/f.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/errors/bail/g.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/errors/bail/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/errors/bail/loader.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/errors/bail/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/errors/rspack-issue-4504/errors.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/errors/rspack-issue-4504/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/errors/rspack-issue-4504/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/externals/array-externals/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/externals/array-externals/inject.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/externals/array-externals/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/externals/custom-url/index.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/externals/custom-url/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/externals/custom-url/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/externals/external-module-in-main-chunk-amd/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/externals/external-module-in-main-chunk-amd/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/externals/item-value-object/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/externals/item-value-object/lodash.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/externals/item-value-object/webpack.config.js (81%) rename packages/{rspack => rspack-test-tools}/tests/configCases/externals/module/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/externals/module/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/externals/module/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/externals/node-module/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/externals/node-module/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/externals/node-module/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/externals/non-amd-externals-amd/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/externals/non-amd-externals-amd/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/externals/non-amd-externals-amd/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/after-process-assets/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/after-process-assets/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/after-resolve-resource/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/after-resolve-resource/b.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/after-resolve-resource/c.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/after-resolve-resource/duplicate.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/after-resolve-resource/request.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/after-resolve-resource/resource.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/after-resolve-resource/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/after-resolve-resource/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/after-seal/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/after-seal/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/asset-emitted-buffer/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/asset-emitted-buffer/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/asset-emitted/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/asset-emitted/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/before-resolve/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/before-resolve/text.txt (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/before-resolve/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/build-module/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/build-module/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/build-module/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/check-asset/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/check-asset/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/check-asset/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/compat-path-data-chunk-contenthash/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/compat-path-data-chunk-contenthash/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/compat-path-data-chunk-contenthash/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/compilation-hooks/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/compilation-hooks/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/compilation-hooks/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/compitable-errors-object/errors.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/compitable-errors-object/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/compitable-errors-object/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/context-module-after-resolve/dir/foo.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/context-module-after-resolve/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/context-module-after-resolve/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/create-module/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/create-module/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/create-module/node_modules/foo-loader/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/create-module/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/entryOption/src/answer.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/entryOption/src/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/entryOption/src/index2.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/entryOption/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/entryOption/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/interceptor/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/interceptor/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/processAssetsStageAdditions/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/processAssetsStageAdditions/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/rspack-issue-4395/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/rspack-issue-4395/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/rspack-issue-5571/index.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/rspack-issue-5571/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/rspack-issue-5571/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/runtime-module/chunk.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/runtime-module/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/runtime-module/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/runtime-module/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/should-emit-1/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/should-emit-1/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/should-emit-2/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/should-emit-2/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/stage-compilation/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/stage-compilation/plugin.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/stage-compilation/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/stage-make/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/stage-make/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/stage-process-assets/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/stage-process-assets/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/stillValidModule/plugins/MyStillValidModulePlugin.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/stillValidModule/src/answer.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/stillValidModule/src/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/stillValidModule/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/succeedModule/plugins/MySucceedModulePlugin.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/succeedModule/src/answer.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/succeedModule/src/child/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/succeedModule/src/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/succeedModule/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/update-asset/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/update-asset/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/hooks/update-asset/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/ignore/with-source-map/ignored-module.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/ignore/with-source-map/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/ignore/with-source-map/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/less-loader/additional-data-async-fn/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/less-loader/additional-data-async-fn/index.less (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/less-loader/additional-data-async-fn/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/less-loader/additional-data-fn/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/less-loader/additional-data-fn/index.less (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/less-loader/additional-data-fn/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/less-loader/additional-data-string/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/less-loader/additional-data-string/index.less (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/less-loader/additional-data-string/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/less-loader/basic/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/less-loader/basic/index.less (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/less-loader/basic/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/less-loader/resolve/.gitignore (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/less-loader/resolve/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/less-loader/resolve/index.less (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/less-loader/resolve/node_modules/universal-design/base.less (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/less-loader/resolve/node_modules/universal-design/common.less (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/less-loader/resolve/node_modules/universal-design/package.json (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/less-loader/resolve/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/less-loader/with-source-map/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/less-loader/with-source-map/index.less (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/less-loader/with-source-map/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/library/_0-create-library/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/library/_0-create-library/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/library/_0-create-library/nested.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/library/_0-create-library/non-external.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/library/_0-create-library/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/library/_0-create-library/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/library/_1-use-library/default-test.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/library/_1-use-library/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/library/_1-use-library/node_modules/external.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/library/_1-use-library/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/library/_1-use-library/this-test.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/library/_1-use-library/var-test.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/library/_1-use-library/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/library/_amd-require/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/library/_amd-require/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/library/amd-named/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/library/amd-named/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/library/amd-unnamed/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/library/amd-unnamed/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/library/array-this/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/library/array-this/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/library/commonjs/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/library/commonjs/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/library/duplicate-module-library/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/library/duplicate-module-library/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/library/duplicate-module-library/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/library/esm-external/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/library/esm-external/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/library/esmodule/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/library/esmodule/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/library/umd-external/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/library/umd-external/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/library/umd-named-define-runtime-chunk/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/library/umd-named-define-runtime-chunk/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/library/umd-named-define-runtime-chunk/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/library/umd-named-define/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/library/umd-named-define/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/library/var/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/library/var/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader-import-module/codegen-cache/app-proxy.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader-import-module/codegen-cache/app.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader-import-module/codegen-cache/foo.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader-import-module/codegen-cache/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader-import-module/codegen-cache/loader.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader-import-module/codegen-cache/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader-import-module/css/colors.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader-import-module/css/file.jpg (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader-import-module/css/file.png (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader-import-module/css/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader-import-module/css/loader.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader-import-module/css/other-stylesheet.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader-import-module/css/stylesheet.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader-import-module/css/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader-import-module/recursive-import-module/bar.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader-import-module/recursive-import-module/bar.js.macro (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader-import-module/recursive-import-module/entry.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader-import-module/recursive-import-module/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader-import-module/recursive-import-module/index.js.macro (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader-import-module/recursive-import-module/loader.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader-import-module/recursive-import-module/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/additional-data/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/additional-data/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/additional-data/loader-1.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/additional-data/loader-2.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/additional-data/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/async/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/async/asyncloader.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/async/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/async/syncloader.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/async/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/binary-with-source-map/empty-loader.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/binary-with-source-map/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/binary-with-source-map/logo.png (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/binary-with-source-map/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/builtin-loader-ident/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/builtin-loader-ident/lib.ts (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/builtin-loader-ident/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/context-fragment/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/context-fragment/b.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/context-fragment/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/context-fragment/my-loader.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/context-fragment/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/context-path/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/context-path/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/context-path/my-loader.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/context-path/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/context-query/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/context-query/b.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/context-query/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/context-query/my-loader.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/context-query/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/context-resource/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/context-resource/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/context-resource/my-loader.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/context-resource/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/context/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/context/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/context/replace-loader.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/context/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/file-loader/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/file-loader/logo.png (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/file-loader/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/hot/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/hot/loader.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/hot/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/issue-webpack-9053/b.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/issue-webpack-9053/c.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/issue-webpack-9053/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/issue-webpack-9053/node_modules/loader1.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/issue-webpack-9053/node_modules/loader2.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/issue-webpack-9053/node_modules/loader3.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/issue-webpack-9053/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/loader-builtin-swc/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/loader-builtin-swc/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/loader-error-async/async.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/loader-error-async/callback.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/loader-error-async/errors.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/loader-error-async/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/loader-error-async/lib.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/loader-error-async/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/loader-raw-string/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/loader-raw-string/lib.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/loader-raw-string/loader-util.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/loader-raw-string/raw.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/loader-raw-string/string.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/loader-raw-string/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/loader-raw/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/loader-raw/loader.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/loader-raw/logo.png (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/loader-raw/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/loader-string/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/loader-string/lib.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/loader-string/my-loader.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/loader-string/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/match-module-type/foo.custom (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/match-module-type/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/match-module-type/loader-test.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/match-module-type/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/module-build-error/errors.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/module-build-error/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/module-build-error/index.scss (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/module-build-error/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/options/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/options/b.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/options/c.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/options/d.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/options/e.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/options/error1.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/options/error2.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/options/f.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/options/g.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/options/h.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/options/i.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/options/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/options/infrastructure-log.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/options/loader-1.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/options/loader-1.options.json (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/options/loader-2.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/options/loader-2.options.json (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/options/loader.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/options/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/pitching/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/pitching/lib.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/pitching/pitching-loader.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/pitching/simple-async-loader.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/pitching/simple-loader.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/pitching/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/pre-post-loader/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/pre-post-loader/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/pre-post-loader/loader1.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/pre-post-loader/loader2.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/pre-post-loader/loader3.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/pre-post-loader/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/rspack-issue-3418/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/rspack-issue-3418/lib.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/rspack-issue-3418/loader.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/rspack-issue-3418/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/rspack-issue-4297/fragmentloader.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/rspack-issue-4297/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/rspack-issue-4297/lib.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/rspack-issue-4297/queryloader.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/rspack-issue-4297/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/rspack-issue-4630/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/rspack-issue-4630/webpack.config.js (100%) rename "packages/rspack/tests/configCases/loader/rspack-issue-4630/\343\201\223\343\202\223\343\201\253\343\201\241\343\201\257\344\270\226\347\225\214.js" => "packages/rspack-test-tools/tests/configCases/loader/rspack-issue-4630/\343\201\223\343\202\223\343\201\253\343\201\241\343\201\257\344\270\226\347\225\214.js" (100%) rename "packages/rspack/tests/configCases/loader/rspack-issue-4630/\344\275\240\345\245\275\344\270\226\347\225\214.js" => "packages/rspack-test-tools/tests/configCases/loader/rspack-issue-4630/\344\275\240\345\245\275\344\270\226\347\225\214.js" (100%) rename "packages/rspack/tests/configCases/loader/rspack-issue-4630/\353\260\230\352\260\221\352\265\254\353\202\230\354\204\270\354\203\201\354\225\204.js" => "packages/rspack-test-tools/tests/configCases/loader/rspack-issue-4630/\353\260\230\352\260\221\352\265\254\353\202\230\354\204\270\354\203\201\354\225\204.js" (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/rspack-issue-4838/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/rspack-issue-4838/b.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/rspack-issue-4838/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/rspack-issue-4838/node_modules/loader1.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/rspack-issue-4838/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/rspack-issue-5600/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/rspack-issue-5600/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/rspack-issue-5600/loader-a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/rspack-issue-5600/loader-b.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/rspack-issue-5600/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/rspack-issue-6068/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/rspack-issue-6068/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/rspack-issue-6068/loader1.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/rspack-issue-6068/loader2.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/rspack-issue-6068/loader3.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/rspack-issue-6068/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/source-map/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/source-map/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/source-map/loader-1.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/source-map/loader-2.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/source-map/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/sync/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/sync/asyncloader.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/sync/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/sync/syncloader.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/loader/sync/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/mangle-exports/skipping-mangle-css-modules/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/mangle-exports/skipping-mangle-css-modules/index.module.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/mangle-exports/skipping-mangle-css-modules/lib.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/mangle-exports/skipping-mangle-css-modules/package.json (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/mangle-exports/skipping-mangle-css-modules/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module-variables/dirname-mock/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module-variables/dirname-mock/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module-variables/dirname-true/child/child.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module-variables/dirname-true/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module-variables/dirname-true/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module-variables/dirname-web-default/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module-variables/dirname-web-default/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module-variables/global-false/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module-variables/global-false/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module-variables/global-true/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module-variables/global-true/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module-variables/global-warn/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module-variables/global-warn/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module-variables/resource-query/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module-variables/resource-query/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module-variables/webpack-hash/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module-variables/webpack-hash/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module-variables/webpack-modules/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module-variables/webpack-modules/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module-variables/webpack-public-path/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module-variables/webpack-public-path/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module-variables/webpack_chunk_load/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module-variables/webpack_chunk_load/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/exclude/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/exclude/lib.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/exclude/loader.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/exclude/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/function-use/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/function-use/index.less (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/function-use/loader.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/function-use/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/generator/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/generator/logo.png (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/generator/logo.svg (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/generator/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/include/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/include/lib.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/include/loader-1.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/include/loader-2.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/include/loader-3.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/include/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/issuer/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/issuer/lib0.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/issuer/lib1.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/issuer/lib2.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/issuer/lib3.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/issuer/loader0.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/issuer/loader1.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/issuer/loader2.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/issuer/loader3.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/issuer/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/keep-order/file.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/keep-order/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/keep-order/test-loader.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/keep-order/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/match-all/img.svg (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/match-all/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/match-all/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/match-module-type/img.png (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/match-module-type/img.svg (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/match-module-type/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/match-module-type/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/merge-global-generator/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/merge-global-generator/index.module.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/merge-global-generator/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/no-parse/foo.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/no-parse/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/no-parse/not-parsed-a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/no-parse/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/one-of-nested/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/one-of-nested/lib.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/one-of-nested/loader.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/one-of-nested/loader1.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/one-of-nested/loader2.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/one-of-nested/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/one-of/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/one-of/lib.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/one-of/loader.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/one-of/loader1.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/one-of/loader2.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/one-of/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/order-nested/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/order-nested/lib.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/order-nested/loader.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/order-nested/loader1.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/order-nested/loader2.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/order-nested/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/order-under-import/file.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/order-under-import/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/order-under-import/test-loader.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/order-under-import/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/parser/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/parser/logo.png (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/parser/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/resolve/images/logo.png (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/resolve/index.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/resolve/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/resolve/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/resource/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/resource/lib.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/resource/loader-1.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/resource/loader-2.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/resource/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/rspack-issue-1652/dynamic.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/rspack-issue-1652/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/rspack-issue-1652/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/rspack-issue-2791/answer.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/rspack-issue-2791/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/rspack-issue-2791/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/rspack-issue-4224/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/rspack-issue-4224/index.scss (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/rspack-issue-4224/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/rspack-issue-4777/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/rspack-issue-4777/loader.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/rspack-issue-4777/sub/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/rspack-issue-4777/sub/b.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/rspack-issue-4777/sub/c.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/rspack-issue-4777/sub/d.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/rspack-issue-4777/sub/e.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/rspack-issue-4777/sub/f.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/rspack-issue-4777/sub/g.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/rspack-issue-4777/sub/h.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/rspack-issue-4777/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/rspack-issue-5548/dynamic.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/rspack-issue-5548/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/rspack-issue-5548/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/test/a.SVG (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/test/a.less (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/test/a.module.less (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/test/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/test/lib.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/test/loader-1.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/test/loader-2.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/module/test/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/nonce/not-set-nonce/empty.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/nonce/not-set-nonce/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/nonce/not-set-nonce/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/nonce/set-nonce/empty.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/nonce/set-nonce/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/nonce/set-nonce/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/output-hot-config/hot-update-global/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/output-hot-config/hot-update-global/b.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/output-hot-config/hot-update-global/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/output-hot-config/hot-update-global/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/output-hot-config/hot-update-global/webpack.config.js (85%) rename packages/{rspack => rspack-test-tools}/tests/configCases/output-module/only-non-webpack-require/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/output-module/only-non-webpack-require/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/output-module/rspack-issue-4784/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/output-module/rspack-issue-4784/m.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/output-module/rspack-issue-4784/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/output-module/rspack-issue-4784/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/output-module/single-runtime/chunk.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/output-module/single-runtime/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/output-module/single-runtime/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/output-module/single-runtime/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/output/chunk-filename/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/output/chunk-filename/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/output/chunk-filename/two.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/output/chunk-filename/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/output/rspack-issue-4338/a/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/output/rspack-issue-4338/a/local/one.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/output/rspack-issue-4338/a/local/two.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/output/rspack-issue-4338/b/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/output/rspack-issue-4338/b/local/one.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/output/rspack-issue-4338/b/local/two.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/output/rspack-issue-4338/c/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/output/rspack-issue-4338/c/local/one.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/output/rspack-issue-4338/c/local/two.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/output/rspack-issue-4338/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/output/rspack-issue-4338/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/output/script-type/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/output/script-type/b.png (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/output/script-type/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/output/script-type/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/output/script-type/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/output/source-map-filename/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/output/source-map-filename/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/output/source-map-filename/two.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/output/source-map-filename/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/parsing/class-method-parameters/foo.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/parsing/class-method-parameters/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/parsing/class-method-parameters/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/parsing/eval-null-in-none-mode/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/parsing/eval-null-in-none-mode/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/parsing/eval-null-in-none-mode/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/parsing/eval-undefined-in-none-mode/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/parsing/eval-undefined-in-none-mode/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/parsing/eval-undefined-in-none-mode/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/parsing/getter-import-specifier/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/parsing/getter-import-specifier/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/parsing/getter-import-specifier/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/parsing/import-eager/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/parsing/import-eager/two.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/parsing/import-eager/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/parsing/rspack-issue-5120-binding/errors.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/parsing/rspack-issue-5120-binding/fail.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/parsing/rspack-issue-5120-binding/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/parsing/rspack-issue-5120-binding/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/parsing/rspack-issue-5120-strict-block/errors.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/parsing/rspack-issue-5120-strict-block/fail.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/parsing/rspack-issue-5120-strict-block/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/parsing/rspack-issue-5120-strict-block/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/parsing/rspack-issue-5120-strict/errors.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/parsing/rspack-issue-5120-strict/fail.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/parsing/rspack-issue-5120-strict/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/parsing/rspack-issue-5120-strict/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/parsing/rspack-issue-5120-var/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/parsing/rspack-issue-5120-var/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/parsing/rspack-issue-5197/a.mjs (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/parsing/rspack-issue-5197/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/parsing/rspack-issue-5197/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/parsring/eval-null-in-none-mode/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/parsring/eval-null-in-none-mode/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/parsring/eval-null-in-none-mode/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/chunk-modules/async.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/chunk-modules/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/chunk-modules/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/copy-webpack-plugin-v5/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/copy-webpack-plugin-v5/stuff.txt (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/copy-webpack-plugin-v5/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/get-runtime-chunk/entry1.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/get-runtime-chunk/entry2.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/get-runtime-chunk/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/get-runtime-chunk/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/html-define/document.ejs (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/html-define/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/html-define/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/html-webpack-plugin/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/html-webpack-plugin/template.html (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/html-webpack-plugin/template.pug (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/html-webpack-plugin/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/internal-entrypoints/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/internal-entrypoints/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/internal-processAssets-param-assets/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/internal-processAssets-param-assets/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/internal-processAssets/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/internal-processAssets/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/minify-ascii-only/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/minify-ascii-only/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/minify-ascii-only/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/minify-ascii-only/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/minify-comment-all/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/minify-comment-all/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/minify-comment-all/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/minify-comment-all/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/minify-comment-some/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/minify-comment-some/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/minify-comment-some/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/minify-comment-some/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/minify-disable-mangle-compress/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/minify-disable-mangle-compress/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/minify-disable-mangle-compress/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/minify-disable-mangle-compress/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/minify-disabled-on-empty-array/index.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/minify-disabled-on-empty-array/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/minify-disabled-on-empty-array/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/minify-drop-console/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/minify-drop-console/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/minify-esbuild/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/minify-esbuild/lib.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/minify-esbuild/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/minify-exclude/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/minify-exclude/b.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/minify-exclude/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/minify-exclude/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/minify-exclude/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/minify-extract-comments/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/minify-extract-comments/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/minify-keep-classnames/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/minify-keep-classnames/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/minify-keep-fn-names/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/minify-keep-fn-names/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/minify-module/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/minify-module/module-entry.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/minify-module/module.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/minify-module/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/minify-module/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/minify-pure-funcs/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/minify-pure-funcs/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/minify-terser/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/minify-terser/lib.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/minify-terser/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/minify-test/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/minify-test/a2.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/minify-test/b.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/minify-test/c.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/minify-test/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/minify-test/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/minify-test/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/minify-with-devtool-false/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/minify-with-devtool-false/lib.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/minify-with-devtool-false/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/normal-module-replacement-plugin/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/normal-module-replacement-plugin/request.v1.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/normal-module-replacement-plugin/request.v2.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/normal-module-replacement-plugin/resource.bar.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/normal-module-replacement-plugin/resource.foo.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/normal-module-replacement-plugin/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/plugins-falsy/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/plugins-falsy/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/plugins-falsy/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/provide-plugin-issue-5994/default.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/provide-plugin-issue-5994/harmony.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/provide-plugin-issue-5994/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/provide-plugin-issue-5994/mod.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/provide-plugin-issue-5994/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/rspack-issue-4757/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/rspack-issue-4757/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/rspack-issue-4797/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/rspack-issue-4797/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/rspack-issue-4982/child.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/rspack-issue-4982/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/rspack-issue-4982/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/rspack-issue-5068-1/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/rspack-issue-5068-1/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/rspack-issue-5068-2/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/rspack-issue-5068-2/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/source-map-dev-tool-plugin-source-root/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/source-map-dev-tool-plugin-source-root/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/source-map-dev-tool-plugin-source-root/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/swc-js-minifier/extract.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/swc-js-minifier/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/swc-js-minifier/no-extract.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/swc-js-minifier/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/plugins/swc-js-minifier/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/postcss-loader/pxtorem/index.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/postcss-loader/pxtorem/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/postcss-loader/pxtorem/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/postcss-loader/with-previous-source-map/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/postcss-loader/with-previous-source-map/index.scss (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/postcss-loader/with-previous-source-map/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/postcss-loader/with-source-map/index.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/postcss-loader/with-source-map/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/postcss-loader/with-source-map/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/resolve/alias-order/b.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/resolve/alias-order/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/resolve/alias-order/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/resolve/alias/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/resolve/alias/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/resolve/alias/node_modules/alias/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/resolve/alias/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/resolve/by-dependency/baz.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/resolve/by-dependency/foo.bar (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/resolve/by-dependency/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/resolve/by-dependency/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/resolve/condition-exports/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/resolve/condition-exports/node_modules/exports-conditional-2/lib.cjs (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/resolve/condition-exports/node_modules/exports-conditional-2/lib.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/resolve/condition-exports/node_modules/exports-conditional-2/package.json (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/resolve/condition-exports/node_modules/exports-conditional/lib.cjs (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/resolve/condition-exports/node_modules/exports-conditional/lib.mjs (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/resolve/condition-exports/node_modules/exports-conditional/package.json (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/resolve/condition-exports/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/resolve/conditions/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/resolve/conditions/node_modules/exports-field/lib/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/resolve/conditions/node_modules/exports-field/lib/lib2/main.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/resolve/conditions/node_modules/exports-field/lib/main.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/resolve/conditions/node_modules/exports-field/package.json (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/resolve/conditions/node_modules/exports-field/x.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/resolve/conditions/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/resolve/exports-fields/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/resolve/exports-fields/node_modules/exports-field/b.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/resolve/exports-fields/node_modules/exports-field/package.json (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/resolve/exports-fields/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/resolve/extension-alias/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/resolve/extension-alias/src/index.mts (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/resolve/extension-alias/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/resolve/modules/a/foo/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/resolve/modules/a/foo/package.json (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/resolve/modules/b/foo/b.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/resolve/modules/b/foo/package.json (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/resolve/modules/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/resolve/modules/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/resolve/nested-by-dependency/bar.mjs (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/resolve/nested-by-dependency/baz.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/resolve/nested-by-dependency/foo.bar (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/resolve/nested-by-dependency/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/resolve/nested-by-dependency/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/resolve/rspack-issue-4432/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/resolve/rspack-issue-4432/package/custom.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/resolve/rspack-issue-4432/package/package.json (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/resolve/rspack-issue-4432/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/resolve/tsconfig-paths-map/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/resolve/tsconfig-paths-map/real.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/resolve/tsconfig-paths-map/src/file.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/resolve/tsconfig-paths-map/tsconfig.json (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/resolve/tsconfig-paths-map/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/resolve/tsconfig-project-references-auto/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/resolve/tsconfig-project-references-auto/project_a/conf.json (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/resolve/tsconfig-project-references-auto/project_a/src/aliased/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/resolve/tsconfig-project-references-auto/project_a/src/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/resolve/tsconfig-project-references-auto/project_b/src/aliased/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/resolve/tsconfig-project-references-auto/project_b/src/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/resolve/tsconfig-project-references-auto/project_b/tsconfig.json (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/resolve/tsconfig-project-references-auto/project_c/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/resolve/tsconfig-project-references-auto/project_c/src/aliased/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/resolve/tsconfig-project-references-auto/project_c/tsconfig.json (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/resolve/tsconfig-project-references-auto/tsconfig.json (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/resolve/tsconfig-project-references-auto/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/resolve/tsconfig-project-references-manual/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/resolve/tsconfig-project-references-manual/project_a/conf.json (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/resolve/tsconfig-project-references-manual/project_a/src/aliased/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/resolve/tsconfig-project-references-manual/project_a/src/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/resolve/tsconfig-project-references-manual/project_b/src/aliased/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/resolve/tsconfig-project-references-manual/project_b/src/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/resolve/tsconfig-project-references-manual/project_b/tsconfig.json (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/resolve/tsconfig-project-references-manual/project_c/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/resolve/tsconfig-project-references-manual/project_c/src/aliased/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/resolve/tsconfig-project-references-manual/project_c/tsconfig.json (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/resolve/tsconfig-project-references-manual/tsconfig.json (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/resolve/tsconfig-project-references-manual/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/runtime/dynamic-chunk-with-hash/dynamic.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/runtime/dynamic-chunk-with-hash/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/runtime/dynamic-chunk-with-hash/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/runtime/dynamic-chunk/dynamic.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/runtime/dynamic-chunk/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/runtime/dynamic-chunk/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/runtime/dynamic-css-chunk-with-content-hash/dynamic.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/runtime/dynamic-css-chunk-with-content-hash/dynamic.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/runtime/dynamic-css-chunk-with-content-hash/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/runtime/dynamic-css-chunk-with-content-hash/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/runtime/dynamic-css-chunk-with-hash/common.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/runtime/dynamic-css-chunk-with-hash/dynamic.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/runtime/dynamic-css-chunk-with-hash/dynamic.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/runtime/dynamic-css-chunk-with-hash/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/runtime/dynamic-css-chunk-with-hash/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/runtime/dynamic-css-chunk-with-umd/dynamic.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/runtime/dynamic-css-chunk-with-umd/dynamic.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/runtime/dynamic-css-chunk-with-umd/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/runtime/dynamic-css-chunk-with-umd/lib.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/runtime/dynamic-css-chunk-with-umd/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/runtime/dynamic-css-chunk-with-umd/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/runtime/dynamic-css-chunk/common.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/runtime/dynamic-css-chunk/dynamic.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/runtime/dynamic-css-chunk/dynamic.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/runtime/dynamic-css-chunk/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/runtime/dynamic-css-chunk/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/runtime/entry-runtime/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/runtime/entry-runtime/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/runtime/entry-runtime/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/runtime/issue-4019/dynamic.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/runtime/issue-4019/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/runtime/issue-4019/index2.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/runtime/issue-4019/shared.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/runtime/issue-4019/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/runtime/issue-4019/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/runtime/namespace-cache/index.mjs (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/runtime/namespace-cache/proxy.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/runtime/namespace-cache/utils.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/runtime/namespace-cache/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/runtime/split-css-chunk-async/common.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/runtime/split-css-chunk-async/common.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/runtime/split-css-chunk-async/index1.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/runtime/split-css-chunk-async/index2.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/runtime/split-css-chunk-async/index3.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/runtime/split-css-chunk-async/share.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/runtime/split-css-chunk-async/share.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/runtime/split-css-chunk-async/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/runtime/split-css-chunk-async/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/runtime/split-css-chunk/common.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/runtime/split-css-chunk/common.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/runtime/split-css-chunk/index1.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/runtime/split-css-chunk/index2.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/runtime/split-css-chunk/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/runtime/split-css-chunk/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/runtime/split-dynamic-import-common-chunk/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/runtime/split-dynamic-import-common-chunk/b.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/runtime/split-dynamic-import-common-chunk/common.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/runtime/split-dynamic-import-common-chunk/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/runtime/split-dynamic-import-common-chunk/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/sass/additional-data/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/sass/additional-data/index.scss (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/sass/additional-data/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/sass/basic/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/sass/basic/index.scss (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/sass/basic/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/sass/import-alias/a/alias.scss (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/sass/import-alias/b/dir-with-underscore-index/_index.scss (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/sass/import-alias/b/directory-6/_index.scss (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/sass/import-alias/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/sass/import-alias/index.scss (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/sass/import-alias/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/sass/import-from-npm-org-pkg/.gitignore (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/sass/import-from-npm-org-pkg/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/sass/import-from-npm-org-pkg/index.scss (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/sass/import-from-npm-org-pkg/node_modules/@org/bar/_foo.scss (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/sass/import-from-npm-org-pkg/node_modules/@org/pkg/index.scss (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/sass/import-from-npm-org-pkg/node_modules/@org/pkg/package.json (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/sass/import-from-npm-org-pkg/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/sass/use-alias/a/alias.scss (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/sass/use-alias/b/dir-with-underscore-index/_index.scss (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/sass/use-alias/b/directory-6/_index.scss (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/sass/use-alias/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/sass/use-alias/index.scss (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/sass/use-alias/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/sass/with-source-map/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/sass/with-source-map/index.scss (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/sass/with-source-map/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/schemes/data-imports/a.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/schemes/data-imports/bad-base64.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/schemes/data-imports/index.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/schemes/data-imports/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/schemes/data-imports/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/schemes/file-url/.gitignore (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/schemes/file-url/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/schemes/file-url/src with spaces/module.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/schemes/file-url/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/schemes/resource-within-scheme/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/schemes/resource-within-scheme/node_modules/polyfill/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/schemes/resource-within-scheme/node_modules/polyfill/package.json (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/schemes/resource-within-scheme/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/source-map/auxiliary-files/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/source-map/auxiliary-files/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/source-map/basic/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/source-map/basic/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/source-map/cheap-module/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/source-map/cheap-module/index.scss (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/source-map/cheap-module/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/source-map/cheap/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/source-map/cheap/index.scss (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/source-map/cheap/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/source-map/eval-only/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/source-map/eval-only/index.scss (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/source-map/eval-only/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/source-map/eval-only/test.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/source-map/eval-only/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/source-map/eval-source-map/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/source-map/eval-source-map/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/source-map/hidden/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/source-map/hidden/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/source-map/inline/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/source-map/inline/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/source-map/relative-source-map-path/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/source-map/relative-source-map-path/test.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/source-map/relative-source-map-path/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/source-map/relative-source-maps-by-loader/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/source-map/relative-source-maps-by-loader/loader-no-source-root.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/source-map/relative-source-maps-by-loader/loader-pre-relative.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/source-map/relative-source-maps-by-loader/loader-source-root-2-slash.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/source-map/relative-source-maps-by-loader/loader-source-root-slash.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/source-map/relative-source-maps-by-loader/loader-source-root-source-slash.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/source-map/relative-source-maps-by-loader/loader-source-root.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/source-map/relative-source-maps-by-loader/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/source-map/resource-path/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/source-map/resource-path/test.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/source-map/resource-path/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/source-map/source-map-loader/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/source-map/source-map-loader/a.js.map (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/source-map/source-map-loader/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/source-map/source-map-loader/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/source-map/source-map/App.jsx (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/source-map/source-map/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/source-map/source-map/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/source-map/verify-bundle-css-minify/a.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/source-map/verify-bundle-css-minify/b-dir/b.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/source-map/verify-bundle-css-minify/b-dir/c-dir/c.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/source-map/verify-bundle-css-minify/entry.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/source-map/verify-bundle-css-minify/index.js (91%) rename packages/{rspack => rspack-test-tools}/tests/configCases/source-map/verify-bundle-css-minify/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/source-map/verify-bundle-css/a.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/source-map/verify-bundle-css/b-dir/b.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/source-map/verify-bundle-css/b-dir/c-dir/c.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/source-map/verify-bundle-css/entry.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/source-map/verify-bundle-css/index.js (93%) rename packages/{rspack => rspack-test-tools}/tests/configCases/source-map/verify-bundle-css/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/source-map/verify-css-js-mix/a.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/source-map/verify-css-js-mix/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/source-map/verify-css-js-mix/index.js (90%) rename packages/{rspack => rspack-test-tools}/tests/configCases/source-map/verify-css-js-mix/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/source-map/verify-es6-minify/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/source-map/verify-es6-minify/b-dir/b.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/source-map/verify-es6-minify/b-dir/c-dir/c.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/source-map/verify-es6-minify/index.js (86%) rename packages/{rspack => rspack-test-tools}/tests/configCases/source-map/verify-es6-minify/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/source-map/verify-es6/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/source-map/verify-es6/b-dir/b.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/source-map/verify-es6/b-dir/c-dir/c.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/source-map/verify-es6/index.js (87%) rename packages/{rspack => rspack-test-tools}/tests/configCases/source-map/verify-es6/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks-common/_hot-multi/common.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks-common/_hot-multi/first.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks-common/_hot-multi/second.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks-common/_hot-multi/shared.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks-common/_hot-multi/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks-common/_hot-multi/webpack.config.js (89%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks-common/_hot/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks-common/_hot/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks-common/_hot/vendor.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks-common/_hot/webpack.config.js (88%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks-common/_library/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks-common/_library/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks-common/_library/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks-common/_library/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks-common/default/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks-common/default/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks-common/default/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks-common/disable/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks-common/disable/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks-common/disable/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks-common/enforce-minsize/async.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks-common/enforce-minsize/foo.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks-common/enforce-minsize/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks-common/enforce-minsize/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks-common/enforce-minsize/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks-common/rspack-issue-4376/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks-common/rspack-issue-4376/node_modules/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks-common/rspack-issue-4376/node_modules/b.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks-common/rspack-issue-4376/node_modules/c.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks-common/rspack-issue-4376/node_modules/d.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks-common/rspack-issue-4376/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks-common/rspack-issue-4376/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks-common/split-chunks-combinations/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks-common/split-chunks-combinations/b.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks-common/split-chunks-combinations/c.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks-common/split-chunks-combinations/d.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks-common/split-chunks-combinations/e.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks-common/split-chunks-combinations/f.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks-common/split-chunks-combinations/g.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks-common/split-chunks-combinations/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks-common/split-chunks-combinations/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks-common/split-chunks-combinations/x.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks-common/split-chunks-combinations/y.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/_issue-12307/a-only-module.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/_issue-12307/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/_issue-12307/b.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/_issue-12307/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/_issue-12307/shared-module.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/_issue-12307/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/_simple/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/_simple/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/_simple/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/_simple/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/cache-group-name-function-with-error/errors.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/cache-group-name-function-with-error/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/cache-group-name-function-with-error/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/chunk-filename-delimiter-overall/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/chunk-filename-delimiter-overall/b.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/chunk-filename-delimiter-overall/c.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/chunk-filename-delimiter-overall/commons.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/chunk-filename-delimiter-overall/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/chunk-filename-delimiter-overall/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/chunk-filename-delimiter-overall/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/chunks-function/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/chunks-function/lib1.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/chunks-function/lib2.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/chunks-function/shared.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/chunks-function/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/chunks-function/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/css-simple/foo.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/css-simple/foo.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/css-simple/index.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/css-simple/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/css-simple/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/css-simple/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/b.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/common/0.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/common/1.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/other/0.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/other/1.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/0.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/1.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/10.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/11.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/12.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/13.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/14.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/15.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/16.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/17.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/18.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/19.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/2.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/3.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/4.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/5.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/6.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/7.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/8.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/9.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/b.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/common/0.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/common/1.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/other/0.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/other/1.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/0.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/1.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/10.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/11.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/12.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/13.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/14.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/15.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/16.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/17.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/18.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/19.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/2.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/3.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/4.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/5.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/6.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/7.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/8.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/9.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/b.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/common/0.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/common/1.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/other/0.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/other/1.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/0.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/1.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/10.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/11.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/12.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/13.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/14.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/15.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/16.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/17.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/18.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/19.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/2.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/3.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/4.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/5.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/6.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/7.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/8.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/9.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/b.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/common/0.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/common/1.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/other/0.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/other/1.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/0.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/1.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/10.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/11.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/12.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/13.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/14.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/15.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/16.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/17.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/18.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/19.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/2.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/3.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/4.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/5.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/6.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/7.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/8.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/9.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-no-reuse-chunk/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-no-reuse-chunk/b.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-no-reuse-chunk/common1.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-no-reuse-chunk/common2.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-no-reuse-chunk/common3.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-no-reuse-chunk/shared1.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-no-reuse-chunk/shared2.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-no-reuse-chunk/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename-no-reuse-chunk/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename/b.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename/common1.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename/common2.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename/common3.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename/shared1.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename/shared2.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/custom-filename/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/default-priority/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/default-priority/b.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/default-priority/c.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/default-priority/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/default-priority/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/default-priority/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/disable-reuse-existing-chunk-simple/foo-2.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/disable-reuse-existing-chunk-simple/foo.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/disable-reuse-existing-chunk-simple/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/disable-reuse-existing-chunk-simple/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/disable-reuse-existing-chunk-simple/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/extract-css-to-single-chunk/foo.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/extract-css-to-single-chunk/foo.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/extract-css-to-single-chunk/index.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/extract-css-to-single-chunk/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/extract-css-to-single-chunk/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/extract-css-to-single-chunk/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/reuse-existing-chunk-simple/foo-2.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/reuse-existing-chunk-simple/foo.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/reuse-existing-chunk-simple/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/reuse-existing-chunk-simple/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/reuse-existing-chunk-simple/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/rspack-issue-17332/bar.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/rspack-issue-17332/foo.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/rspack-issue-17332/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/rspack-issue-17332/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/rspack-issue-17332/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/rspack-issue-3646/src/another.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/rspack-issue-3646/src/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/rspack-issue-3646/src/shared.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/rspack-issue-3646/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/rspack-issue-3646/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/rspack-issue-5267/chunk.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/rspack-issue-5267/file-A2.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/rspack-issue-5267/file-B2.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/rspack-issue-5267/file-a1.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/rspack-issue-5267/file-b1.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/rspack-issue-5267/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/rspack-issue-5267/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/rspack-issue-5267/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/rspack-issue-5485/src/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/rspack-issue-5485/src/lib/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/rspack-issue-5485/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/rspack-issue-5485/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/rspack-issue-5657/src/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/rspack-issue-5657/src/lib/a.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/rspack-issue-5657/src/lib/b.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/rspack-issue-5657/src/lib/c.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/rspack-issue-5657/src/lib/mod.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/rspack-issue-5657/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/should-not-reuse-existing-chunk-simple-if-cache-group-name-specified/foo-2.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/should-not-reuse-existing-chunk-simple-if-cache-group-name-specified/foo.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/should-not-reuse-existing-chunk-simple-if-cache-group-name-specified/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/should-not-reuse-existing-chunk-simple-if-cache-group-name-specified/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/should-not-reuse-existing-chunk-simple-if-cache-group-name-specified/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/split-chunks-dot-name/foo-2.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/split-chunks-dot-name/foo.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/split-chunks-dot-name/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/split-chunks-dot-name/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/split-chunks/split-chunks-dot-name/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/svg/different-module-by-loaders/index.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/svg/different-module-by-loaders/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/svg/different-module-by-loaders/star.svg (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/svg/different-module-by-loaders/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/tree-shaking/asset-is-dep-of-css-source/a.svg (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/tree-shaking/asset-is-dep-of-css-source/index.css (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/tree-shaking/asset-is-dep-of-css-source/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/tree-shaking/asset-is-dep-of-css-source/package.json (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/tree-shaking/asset-is-dep-of-css-source/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/tree-shaking/assets1/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/tree-shaking/assets1/package/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/tree-shaking/assets1/package/a.svg (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/tree-shaking/assets1/package/b.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/tree-shaking/assets1/package/b.svg (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/tree-shaking/assets1/package/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/tree-shaking/assets1/package/package.json (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/tree-shaking/assets1/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/tree-shaking/commonjs-reexport-interop/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/tree-shaking/commonjs-reexport-interop/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/tree-shaking/commonjs-reexport-interop/lib.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/tree-shaking/commonjs-reexport-interop/package.json (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/tree-shaking/commonjs-reexport-interop/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/tree-shaking/export-default-alias/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/tree-shaking/export-default-alias/answer.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/tree-shaking/export-default-alias/app.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/tree-shaking/export-default-alias/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/tree-shaking/export-default-alias/lib.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/tree-shaking/export-default-alias/package.json (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/tree-shaking/export-default-alias/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/tree-shaking/export-star-of-external-module/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/tree-shaking/export-star-of-external-module/lib.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/tree-shaking/export-star-of-external-module/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/tree-shaking/import-by-name-json/data/c.json (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/tree-shaking/import-by-name-json/data/d.json (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/tree-shaking/import-by-name-json/data/e.json (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/tree-shaking/import-by-name-json/data/f.json (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/tree-shaking/import-by-name-json/data/g.json (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/tree-shaking/import-by-name-json/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/tree-shaking/import-by-name-json/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/tree-shaking/inner-graph-static-block/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/tree-shaking/inner-graph-static-block/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/tree-shaking/inner-graph-static-block/lib.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/tree-shaking/inner-graph-static-block/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/tree-shaking/issue-5782/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/tree-shaking/issue-5782/package/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/tree-shaking/issue-5782/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/tree-shaking/json-empty-array/arr.json (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/tree-shaking/json-empty-array/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/tree-shaking/json-empty-array/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/tree-shaking/member-expr-computed-prop/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/tree-shaking/member-expr-computed-prop/lib.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/tree-shaking/member-expr-computed-prop/package.json (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/tree-shaking/member-expr-computed-prop/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/tree-shaking/multiple-same-export-side-effect/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/tree-shaking/multiple-same-export-side-effect/lib.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/tree-shaking/multiple-same-export-side-effect/reexport.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/tree-shaking/multiple-same-export-side-effect/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/tree-shaking/multiple-same-import-side-effect/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/tree-shaking/multiple-same-import-side-effect/lib.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/tree-shaking/multiple-same-import-side-effect/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/tree-shaking/new-url/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/tree-shaking/new-url/a.wasm (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/tree-shaking/new-url/b.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/tree-shaking/new-url/b.worker.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/tree-shaking/new-url/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/tree-shaking/new-url/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/tree-shaking/side-effects-disabled-active/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/tree-shaking/side-effects-disabled-active/side-effect.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/tree-shaking/side-effects-disabled-active/tracker.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/tree-shaking/side-effects-disabled-active/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/tree-shaking/side-effects-rule/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/tree-shaking/side-effects-rule/package/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/tree-shaking/side-effects-rule/package/b.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/tree-shaking/side-effects-rule/package/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/tree-shaking/side-effects-rule/package/package.json (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/tree-shaking/side-effects-rule/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/trusted-types/custom-policy-name/empty.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/trusted-types/custom-policy-name/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/trusted-types/custom-policy-name/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/trusted-types/default-policy-name/empty.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/trusted-types/default-policy-name/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/trusted-types/default-policy-name/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/trusted-types/no-policy-name/empty.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/trusted-types/no-policy-name/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/trusted-types/no-policy-name/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/trusted-types/no-trusted-types/empty.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/trusted-types/no-trusted-types/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/trusted-types/no-trusted-types/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/used-exports/used-exports-global/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/used-exports/used-exports-global/lib.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/used-exports/used-exports-global/sub.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/used-exports/used-exports-global/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/used-exports/used-exports-global/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/used-exports/used-exports-true/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/used-exports/used-exports-true/lib.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/used-exports/used-exports-true/sub.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/used-exports/used-exports-true/test.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/used-exports/used-exports-true/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/version/all/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/version/all/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/version/array/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/version/array/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/version/auto/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/version/auto/webpack.config.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/worker/worker-webpack-chunk-name/a.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/worker/worker-webpack-chunk-name/index.js (100%) rename packages/{rspack => rspack-test-tools}/tests/configCases/worker/worker-webpack-chunk-name/webpack.config.js (100%) delete mode 100644 packages/rspack/tests/ConfigTestCases.basictest.js delete mode 100644 packages/rspack/tests/ConfigTestCases.template.js delete mode 100644 packages/rspack/tests/configCases/target/async-node/index.js delete mode 100644 packages/rspack/tests/configCases/target/async-node/webpack.config.js delete mode 100644 packages/rspack/tests/configCases/target/mix-cjs-esm/cjs.js delete mode 100644 packages/rspack/tests/configCases/target/mix-cjs-esm/esm.js delete mode 100644 packages/rspack/tests/configCases/target/mix-cjs-esm/index.js delete mode 100644 packages/rspack/tests/configCases/target/mix-cjs-esm/lib/cjs.js delete mode 100644 packages/rspack/tests/configCases/target/mix-cjs-esm/lib/esm.js delete mode 100644 packages/rspack/tests/configCases/target/mix-cjs-esm/webpack.config.js delete mode 100644 packages/rspack/tests/configCases/target/node/index.js delete mode 100644 packages/rspack/tests/configCases/target/node/webpack.config.js diff --git a/.gitignore b/.gitignore index 9a0129e42d9..df9f04207ca 100644 --- a/.gitignore +++ b/.gitignore @@ -62,7 +62,7 @@ node_modules/ !webpack-test/*/**/node_modules !packages/rspack-cli/tests/**/node_modules !packages/rspack/tests/**/node_modules -!packages/rspack/tests/configCases/less/resolve/node_modules +!packages/rspack-test-tools/tests/**/node_modules jspm_packages/ # Snowpack dependency directory (https://snowpack.dev/) diff --git a/.prettierignore b/.prettierignore index befafe67361..a0a9bf45496 100644 --- a/.prettierignore +++ b/.prettierignore @@ -19,6 +19,11 @@ packages/rspack/tests/diagnostics/**/* packages/rspack/tests/js/**/* packages/rspack/tests/copyPlugin/build/**/* packages/rspack-test-tools/template/**/* +packages/rspack-test-tools/tests/statsCases/**/* +packages/rspack-test-tools/tests/cases/**/* +packages/rspack-test-tools/tests/configCases/**/* +packages/rspack-test-tools/tests/hotCases/**/* +packages/rspack-test-tools/tests/diagnostics/**/* packages/rspack-test-tools/tests/js/**/* packages/rspack/tests/cases/parsing/issue-5120-binding/fail.js packages/rspack/tests/diagnostics/module-parse-failed/lexically_name_error/index.js diff --git a/packages/rspack-test-tools/jest.config.compat.js b/packages/rspack-test-tools/jest.config.compat.js index 48936f06502..04bc56953dd 100644 --- a/packages/rspack-test-tools/jest.config.compat.js +++ b/packages/rspack-test-tools/jest.config.compat.js @@ -8,6 +8,7 @@ module.exports = { "/tests/Builtin.test.js", "/tests/Defaults.unittest.js", "/tests/Stats.unittest.js", - "/tests/TreeShaking.test.js" + "/tests/TreeShaking.test.js", + "/tests/ConfigTestCases.basictest.js" ] }; diff --git a/packages/rspack-test-tools/jest.config.legacy.js b/packages/rspack-test-tools/jest.config.legacy.js index ab88381a99f..9de604533de 100644 --- a/packages/rspack-test-tools/jest.config.legacy.js +++ b/packages/rspack-test-tools/jest.config.legacy.js @@ -11,6 +11,7 @@ module.exports = { "TreeShaking.test.js", "Builtin.test.js", "HotTestStepWeb.test.js", + "ConfigTestCases.basictest.js", ".difftest.js" ] }; diff --git a/packages/rspack-test-tools/package.json b/packages/rspack-test-tools/package.json index 73e635ec0a9..4047fbe8492 100644 --- a/packages/rspack-test-tools/package.json +++ b/packages/rspack-test-tools/package.json @@ -62,6 +62,7 @@ "@arco-design/web-react": "^2.56.1", "@monaco-editor/react": "^4.6.0", "@rspack/cli": "workspace:*", + "@rspack/plugin-minify": "workspace:*", "@swc/jest": "^0.2.29", "@types/prettier": "^2.7.2", "@types/react": "^18.2.48", diff --git a/packages/rspack-test-tools/src/helper/legacy/fakeSystem.js b/packages/rspack-test-tools/src/helper/legacy/fakeSystem.js new file mode 100644 index 00000000000..c7a036ff429 --- /dev/null +++ b/packages/rspack-test-tools/src/helper/legacy/fakeSystem.js @@ -0,0 +1,122 @@ +// @ts-nocheck +const System = { + register: (name, deps, fn) => { + if (!System.registry) { + throw new Error("System is no initialized"); + } + if (typeof name !== "string") { + fn = deps; + deps = name; + name = System._nextName; + } + if (!Array.isArray(deps)) { + fn = deps; + deps = []; + } + const dynamicExport = result => { + if (System.registry[name] !== entry) { + throw new Error(`Module ${name} calls dynamicExport too late`); + } + entry.exports = result; + for (const mod of Object.keys(System.registry)) { + const m = System.registry[mod]; + if (!m.deps) continue; + for (let i = 0; i < m.deps.length; i++) { + const dep = m.deps[i]; + if (dep !== name) continue; + const setters = m.mod.setters[i]; + setters(result); + } + } + }; + const systemContext = { + meta: { + url: `/${name}.js` + }, + import() { + return Promise.resolve(); + } + }; + if (name in System.registry) { + throw new Error(`Module ${name} is already registered`); + } + const mod = fn(dynamicExport, systemContext); + if (deps.length > 0) { + if (!Array.isArray(mod.setters)) { + throw new Error( + `Module ${name} must have setters, because it has dependencies` + ); + } + if (mod.setters.length !== deps.length) { + throw new Error( + `Module ${name} has incorrect number of setters for the dependencies` + ); + } + } + const entry = { + name, + deps, + fn, + mod, + executed: false, + exports: undefined + }; + System.registry[name] = entry; + }, + set: (name, exports) => { + System.registry[name] = { + name, + executed: true, + exports + }; + }, + registry: undefined, + _require: undefined, + _nextName: "(anonym)", + setRequire: req => { + System._require = req; + }, + init: modules => { + System.registry = {}; + if (modules) { + for (const name of Object.keys(modules)) { + System.registry[name] = { + executed: true, + exports: modules[name] + }; + } + } + }, + execute: name => { + const m = System.registry[name]; + if (!m) throw new Error(`Module ${name} not registered`); + if (m.executed) throw new Error(`Module ${name} was already executed`); + return System.ensureExecuted(name); + }, + ensureExecuted: name => { + let m = System.registry[name]; + if (!m && System._require) { + const oldName = System._nextName; + System._nextName = name; + System._require(name); + System._nextName = oldName; + m = System.registry[name]; + } + if (!m) { + throw new Error(`Module ${name} not registered`); + } + if (!m.executed) { + m.executed = true; + for (let i = 0; i < m.deps.length; i++) { + const dep = m.deps[i]; + const setters = m.mod.setters[i]; + System.ensureExecuted(dep); + const { exports } = System.registry[dep]; + if (exports !== undefined) setters(exports); + } + m.mod.execute(); + } + return m.exports; + } +}; +module.exports = System; diff --git a/packages/rspack-test-tools/src/helper/util/checkSourceMap.js b/packages/rspack-test-tools/src/helper/util/checkSourceMap.js new file mode 100644 index 00000000000..251490f7a76 --- /dev/null +++ b/packages/rspack-test-tools/src/helper/util/checkSourceMap.js @@ -0,0 +1,98 @@ +// @ts-nocheck +// Check the mapping of various key locations back to the original source +export default async function checkSourceMap(out, outCodeMap, toSearch) { + let failed = false; + const recordCheck = (success, message) => { + if (!success) { + failed = true; + console.error(`❌ ${message}`); + } + }; + + const sourceMap = require("source-map"); + const path = require("path"); + + const sources = JSON.parse(outCodeMap).sources; + for (let source of sources) { + if (sources.filter(s => s === source).length > 1) { + throw new Error( + `Duplicate source ${JSON.stringify(source)} found in source map` + ); + } + } + const map = await new sourceMap.SourceMapConsumer(outCodeMap); + for (const id in toSearch) { + const outIndex = out.indexOf(id); + if (outIndex < 0) + throw new Error(`Failed to find "${id}" in output ${out}`); + const outLines = out.slice(0, outIndex).split("\n"); + const outLine = outLines.length; + const outLastLine = outLines[outLines.length - 1]; + let outColumn = outLastLine.length; + const { source, line, column } = map.originalPositionFor({ + line: outLine, + column: outColumn + }); + + const inSource = toSearch[id]; + recordCheck( + source === inSource, + `expected source: ${inSource}, observed source: ${source}@${line}:${column}, {out_source}@${outLine}:${outColumn}.` + ); + + const inCode = map.sourceContentFor(source); + let inIndex = inCode.indexOf(id); + if (inIndex < 0) inIndex = inCode.indexOf(`'${id}'`); + if (inIndex < 0) + throw new Error(`Failed to find "${id}" in input ${inCode}`); + const inLines = inCode.slice(0, inIndex).split("\n"); + const inLine = inLines.length; + const inLastLine = inLines[inLines.length - 1]; + let inColumn = inLastLine.length; + + if (path.extname(source) === "css") { + const outMatch = /\s*content:\s*$/.exec(outLastLine); + const inMatch = /\bcontent:\s*$/.exec(inLastLine); + if (outMatch) outColumn -= outMatch[0].length; + if (inMatch) inColumn -= inMatch[0].length; + } + + const expected = JSON.stringify({ source, line: inLine, column: inColumn }); + const observed = JSON.stringify({ source, line, column }); + recordCheck( + expected === observed, + `expected original position: ${expected}, observed original position: ${observed}, out: ${ + outLine + "," + outColumn + "," + outIndex + ":" + id + }` + ); + + // Also check the reverse mapping + const positions = map.allGeneratedPositionsFor({ + source, + line: inLine, + column: inColumn + }); + recordCheck( + positions.length > 0, + `expected generated positions: 1, observed generated positions: ${positions.length}` + ); + let found = false; + for (const { line, column } of positions) { + if (line === outLine && column === outColumn) { + found = true; + break; + } + } + const expectedPosition = JSON.stringify({ + line: outLine, + column: outColumn + }); + const observedPositions = JSON.stringify(positions); + recordCheck( + found, + `expected generated position: ${expectedPosition}, observed generated positions: ${observedPositions}` + ); + } + + return !failed; +} diff --git a/packages/rspack-test-tools/src/helper/util/filterUtil.js b/packages/rspack-test-tools/src/helper/util/filterUtil.js new file mode 100644 index 00000000000..662a6366902 --- /dev/null +++ b/packages/rspack-test-tools/src/helper/util/filterUtil.js @@ -0,0 +1,55 @@ +// @ts-nocheck +const FilteredStatus = { + TODO: "TODO", + PARTIAL_PASS: "PARTIAL_PASS", + FAILED: "FAILED", + NO_PLAN: "NO_PLAN" +}; + +function validateFilteredStatus(status) { + return Object.values(FilteredStatus).includes(status); +} + +function normalizeFilterFlag(flag, testName) { + if (flag === false) { + return { status: FilteredStatus.TODO, reason: "TODO" }; + } + if (flag === -1) { + return { status: FilteredStatus.NO_PLAN, reason: "No plan" }; + } + if (typeof flag === "string") { + return { status: FilteredStatus.FAILED, reason: flag }; + } + if (Array.isArray(flag)) { + const [status, reason = "empty"] = flag; + if (validateFilteredStatus(status)) { + return { status, reason }; + } + } + throw new Error(`Unvalidate filter flag "${flag}" for "${testName}"`); +} + +function encodeFilteredTest(status, reason) { + return `{{ status = ${status}, reason = ${reason} }}`; +} + +function decodeFilteredTest(encoded) { + const regex = /(.*) {{ status = (.*), reason = (.*) }}$/; + const result = encoded.match(regex); + if (result === null) { + return result; + } + const [, fullName, status, reason] = result; + return { fullName, status, reason }; +} + +function normalizeFilteredTestName(flag, testName) { + const { status, reason } = normalizeFilterFlag(flag, testName); + return encodeFilteredTest(status, reason); +} + +module.exports = { + FilteredStatus, + decodeFilteredTest, + normalizeFilteredTestName +}; diff --git a/packages/rspack-test-tools/src/helper/util/identifier.js b/packages/rspack-test-tools/src/helper/util/identifier.js new file mode 100644 index 00000000000..9c0c5c498f8 --- /dev/null +++ b/packages/rspack-test-tools/src/helper/util/identifier.js @@ -0,0 +1,378 @@ +// @ts-nocheck +/* + MIT License http://www.opensource.org/licenses/mit-license.php +*/ + +"use strict"; + +const path = require("path"); + +const WINDOWS_ABS_PATH_REGEXP = /^[a-zA-Z]:[\\/]/; +const SEGMENTS_SPLIT_REGEXP = /([|!])/; +const WINDOWS_PATH_SEPARATOR_REGEXP = /\\/g; + +/** + * @typedef {Object} MakeRelativePathsCache + * @property {Map>=} relativePaths + */ + +const relativePathToRequest = relativePath => { + if (relativePath === "") return "./."; + if (relativePath === "..") return "../."; + if (relativePath.startsWith("../")) return relativePath; + return `./${relativePath}`; +}; + +/** + * @param {string} context context for relative path + * @param {string} maybeAbsolutePath path to make relative + * @returns {string} relative path in request style + */ +const absoluteToRequest = (context, maybeAbsolutePath) => { + if (maybeAbsolutePath[0] === "/") { + if ( + maybeAbsolutePath.length > 1 && + maybeAbsolutePath[maybeAbsolutePath.length - 1] === "/" + ) { + // this 'path' is actually a regexp generated by dynamic requires. + // Don't treat it as an absolute path. + return maybeAbsolutePath; + } + + const querySplitPos = maybeAbsolutePath.indexOf("?"); + let resource = + querySplitPos === -1 + ? maybeAbsolutePath + : maybeAbsolutePath.slice(0, querySplitPos); + resource = relativePathToRequest(path.posix.relative(context, resource)); + return querySplitPos === -1 + ? resource + : resource + maybeAbsolutePath.slice(querySplitPos); + } + + if (WINDOWS_ABS_PATH_REGEXP.test(maybeAbsolutePath)) { + const querySplitPos = maybeAbsolutePath.indexOf("?"); + let resource = + querySplitPos === -1 + ? maybeAbsolutePath + : maybeAbsolutePath.slice(0, querySplitPos); + resource = path.win32.relative(context, resource); + if (!WINDOWS_ABS_PATH_REGEXP.test(resource)) { + resource = relativePathToRequest( + resource.replace(WINDOWS_PATH_SEPARATOR_REGEXP, "/") + ); + } + return querySplitPos === -1 + ? resource + : resource + maybeAbsolutePath.slice(querySplitPos); + } + + // not an absolute path + return maybeAbsolutePath; +}; + +/** + * @param {string} context context for relative path + * @param {string} relativePath path + * @returns {string} absolute path + */ +const requestToAbsolute = (context, relativePath) => { + if (relativePath.startsWith("./") || relativePath.startsWith("../")) + return path.join(context, relativePath); + return relativePath; +}; + +const makeCacheable = realFn => { + /** @type {WeakMap>} */ + const cache = new WeakMap(); + + const getCache = associatedObjectForCache => { + const entry = cache.get(associatedObjectForCache); + if (entry !== undefined) return entry; + /** @type {Map} */ + const map = new Map(); + cache.set(associatedObjectForCache, map); + return map; + }; + + /** + * @param {string} str the path with query and fragment + * @param {Object=} associatedObjectForCache an object to which the cache will be attached + * @returns {ParsedResource} parsed parts + */ + const fn = (str, associatedObjectForCache) => { + if (!associatedObjectForCache) return realFn(str); + const cache = getCache(associatedObjectForCache); + const entry = cache.get(str); + if (entry !== undefined) return entry; + const result = realFn(str); + cache.set(str, result); + return result; + }; + + fn.bindCache = associatedObjectForCache => { + const cache = getCache(associatedObjectForCache); + return str => { + const entry = cache.get(str); + if (entry !== undefined) return entry; + const result = realFn(str); + cache.set(str, result); + return result; + }; + }; + + return fn; +}; + +const makeCacheableWithContext = fn => { + /** @type {WeakMap>>} */ + const cache = new WeakMap(); + + /** + * @param {string} context context used to create relative path + * @param {string} identifier identifier used to create relative path + * @param {Object=} associatedObjectForCache an object to which the cache will be attached + * @returns {string} the returned relative path + */ + const cachedFn = (context, identifier, associatedObjectForCache) => { + if (!associatedObjectForCache) return fn(context, identifier); + + let innerCache = cache.get(associatedObjectForCache); + if (innerCache === undefined) { + innerCache = new Map(); + cache.set(associatedObjectForCache, innerCache); + } + + let cachedResult; + let innerSubCache = innerCache.get(context); + if (innerSubCache === undefined) { + innerCache.set(context, (innerSubCache = new Map())); + } else { + cachedResult = innerSubCache.get(identifier); + } + + if (cachedResult !== undefined) { + return cachedResult; + } else { + const result = fn(context, identifier); + innerSubCache.set(identifier, result); + return result; + } + }; + + /** + * @param {Object=} associatedObjectForCache an object to which the cache will be attached + * @returns {function(string, string): string} cached function + */ + cachedFn.bindCache = associatedObjectForCache => { + let innerCache; + if (associatedObjectForCache) { + innerCache = cache.get(associatedObjectForCache); + if (innerCache === undefined) { + innerCache = new Map(); + cache.set(associatedObjectForCache, innerCache); + } + } else { + innerCache = new Map(); + } + + /** + * @param {string} context context used to create relative path + * @param {string} identifier identifier used to create relative path + * @returns {string} the returned relative path + */ + const boundFn = (context, identifier) => { + let cachedResult; + let innerSubCache = innerCache.get(context); + if (innerSubCache === undefined) { + innerCache.set(context, (innerSubCache = new Map())); + } else { + cachedResult = innerSubCache.get(identifier); + } + + if (cachedResult !== undefined) { + return cachedResult; + } else { + const result = fn(context, identifier); + innerSubCache.set(identifier, result); + return result; + } + }; + + return boundFn; + }; + + /** + * @param {string} context context used to create relative path + * @param {Object=} associatedObjectForCache an object to which the cache will be attached + * @returns {function(string): string} cached function + */ + cachedFn.bindContextCache = (context, associatedObjectForCache) => { + let innerSubCache; + if (associatedObjectForCache) { + let innerCache = cache.get(associatedObjectForCache); + if (innerCache === undefined) { + innerCache = new Map(); + cache.set(associatedObjectForCache, innerCache); + } + + innerSubCache = innerCache.get(context); + if (innerSubCache === undefined) { + innerCache.set(context, (innerSubCache = new Map())); + } + } else { + innerSubCache = new Map(); + } + + /** + * @param {string} identifier identifier used to create relative path + * @returns {string} the returned relative path + */ + const boundFn = identifier => { + const cachedResult = innerSubCache.get(identifier); + if (cachedResult !== undefined) { + return cachedResult; + } else { + const result = fn(context, identifier); + innerSubCache.set(identifier, result); + return result; + } + }; + + return boundFn; + }; + + return cachedFn; +}; + +/** + * + * @param {string} context context for relative path + * @param {string} identifier identifier for path + * @returns {string} a converted relative path + */ +const _makePathsRelative = (context, identifier) => { + return identifier + .split(SEGMENTS_SPLIT_REGEXP) + .map(str => absoluteToRequest(context, str)) + .join(""); +}; + +exports.makePathsRelative = makeCacheableWithContext(_makePathsRelative); + +/** + * + * @param {string} context context for relative path + * @param {string} identifier identifier for path + * @returns {string} a converted relative path + */ +const _makePathsAbsolute = (context, identifier) => { + return identifier + .split(SEGMENTS_SPLIT_REGEXP) + .map(str => requestToAbsolute(context, str)) + .join(""); +}; + +exports.makePathsAbsolute = makeCacheableWithContext(_makePathsAbsolute); + +/** + * @param {string} context absolute context path + * @param {string} request any request string may containing absolute paths, query string, etc. + * @returns {string} a new request string avoiding absolute paths when possible + */ +const _contextify = (context, request) => { + return request + .split("!") + .map(r => absoluteToRequest(context, r)) + .join("!"); +}; + +const contextify = makeCacheableWithContext(_contextify); +exports.contextify = contextify; + +/** + * @param {string} context absolute context path + * @param {string} request any request string + * @returns {string} a new request string using absolute paths when possible + */ +const _absolutify = (context, request) => { + return request + .split("!") + .map(r => requestToAbsolute(context, r)) + .join("!"); +}; + +const absolutify = makeCacheableWithContext(_absolutify); +exports.absolutify = absolutify; + +const PATH_QUERY_FRAGMENT_REGEXP = + /^((?:\0.|[^?#\0])*)(\?(?:\0.|[^#\0])*)?(#.*)?$/; +const PATH_QUERY_REGEXP = /^((?:\0.|[^?\0])*)(\?.*)?$/; + +/** @typedef {{ resource: string, path: string, query: string, fragment: string }} ParsedResource */ +/** @typedef {{ resource: string, path: string, query: string }} ParsedResourceWithoutFragment */ + +/** + * @param {string} str the path with query and fragment + * @returns {ParsedResource} parsed parts + */ +const _parseResource = str => { + const match = PATH_QUERY_FRAGMENT_REGEXP.exec(str); + return { + resource: str, + path: match[1].replace(/\0(.)/g, "$1"), + query: match[2] ? match[2].replace(/\0(.)/g, "$1") : "", + fragment: match[3] || "" + }; +}; +exports.parseResource = makeCacheable(_parseResource); + +/** + * Parse resource, skips fragment part + * @param {string} str the path with query and fragment + * @returns {ParsedResourceWithoutFragment} parsed parts + */ +const _parseResourceWithoutFragment = str => { + const match = PATH_QUERY_REGEXP.exec(str); + return { + resource: str, + path: match[1].replace(/\0(.)/g, "$1"), + query: match[2] ? match[2].replace(/\0(.)/g, "$1") : "" + }; +}; +exports.parseResourceWithoutFragment = makeCacheable( + _parseResourceWithoutFragment +); + +/** + * @param {string} filename the filename which should be undone + * @param {string} outputPath the output path that is restored (only relevant when filename contains "..") + * @param {boolean} enforceRelative true returns ./ for empty paths + * @returns {string} repeated ../ to leave the directory of the provided filename to be back on output dir + */ +exports.getUndoPath = (filename, outputPath, enforceRelative) => { + let depth = -1; + let append = ""; + outputPath = outputPath.replace(/[\\/]$/, ""); + for (const part of filename.split(/[/\\]+/)) { + if (part === "..") { + if (depth > -1) { + depth--; + } else { + const i = outputPath.lastIndexOf("/"); + const j = outputPath.lastIndexOf("\\"); + const pos = i < 0 ? j : j < 0 ? i : Math.max(i, j); + if (pos < 0) return outputPath + "/"; + append = outputPath.slice(pos + 1) + "/" + append; + outputPath = outputPath.slice(0, pos); + } + } else if (part !== ".") { + depth++; + } + } + return depth > 0 + ? `${"../".repeat(depth)}${append}` + : enforceRelative + ? `./${append}` + : append; +}; diff --git a/packages/rspack-test-tools/src/helper/util/replaceMitteDiagnostic.js b/packages/rspack-test-tools/src/helper/util/replaceMitteDiagnostic.js new file mode 100644 index 00000000000..6f683bc320e --- /dev/null +++ b/packages/rspack-test-tools/src/helper/util/replaceMitteDiagnostic.js @@ -0,0 +1,18 @@ +// @ts-nocheck +// Remove the "|" padding from miette, +// used to ensure no line breaks with padding being returned, +// miette generates diagnostics lines with respect to terminal size +// and this might varies among different `process.cwd()` being used, +// which breaks local and CI checks. +const replace = s => s.replace(/\r?\n[ ]+│ /g, ""); + +// HOW THIS WORKS: +// 1. Remove potential line break and "|" +// 2. Save the JS stack for each line +// 3. If the current line was splitted because of terminal size, merge them together +const replaceStack = s => s.replace(/(?:\s|│)*(at.*)(\s|│)*/g, "\n$1"); + +module.exports = { + replace, + replaceStack +}; diff --git a/packages/rspack-test-tools/tests/ConfigTestCases.basictest.js b/packages/rspack-test-tools/tests/ConfigTestCases.basictest.js index a9263b1d6dd..42b89cb647c 100644 --- a/packages/rspack-test-tools/tests/ConfigTestCases.basictest.js +++ b/packages/rspack-test-tools/tests/ConfigTestCases.basictest.js @@ -2,8 +2,8 @@ const path = require("path"); const { describeByWalk, createConfigCase } = require("../dist"); const NAME = "ConfigTestCases"; -const caseDir = path.resolve(__dirname, "../../rspack/tests/configCases"); -const distDir = path.resolve(__dirname, `../../rspack/tests/js/${NAME}`); +const caseDir = path.resolve(__dirname, "./configCases"); +const distDir = path.resolve(__dirname, `./js/${NAME}`); describeByWalk(NAME, caseDir, distDir, (name, src, dist) => { createConfigCase(name, src, dist); diff --git a/packages/rspack/tests/__snapshots__/ConfigTestCases.basictest.js.snap b/packages/rspack-test-tools/tests/__snapshots__/ConfigTestCases.basictest.js.snap similarity index 100% rename from packages/rspack/tests/__snapshots__/ConfigTestCases.basictest.js.snap rename to packages/rspack-test-tools/tests/__snapshots__/ConfigTestCases.basictest.js.snap diff --git a/packages/rspack-test-tools/tests/cases/resolve/axios-0.27.2/node_modules/axios-demo/index.js b/packages/rspack-test-tools/tests/cases/resolve/axios-0.27.2/node_modules/axios-demo/index.js new file mode 100644 index 00000000000..79dfd09dd57 --- /dev/null +++ b/packages/rspack-test-tools/tests/cases/resolve/axios-0.27.2/node_modules/axios-demo/index.js @@ -0,0 +1 @@ +module.exports = require('./lib/axios'); \ No newline at end of file diff --git a/packages/rspack-test-tools/tests/cases/resolve/axios-0.27.2/node_modules/axios-demo/lib/adapters/http.js b/packages/rspack-test-tools/tests/cases/resolve/axios-0.27.2/node_modules/axios-demo/lib/adapters/http.js new file mode 100644 index 00000000000..0f279f0615e --- /dev/null +++ b/packages/rspack-test-tools/tests/cases/resolve/axios-0.27.2/node_modules/axios-demo/lib/adapters/http.js @@ -0,0 +1,3 @@ +const inexists = require('./in-exists'); +module.exports = inexists; +throw Error("should not resolve this file when enabled browser_field") diff --git a/packages/rspack-test-tools/tests/cases/resolve/axios-0.27.2/node_modules/axios-demo/lib/adapters/xhr.js b/packages/rspack-test-tools/tests/cases/resolve/axios-0.27.2/node_modules/axios-demo/lib/adapters/xhr.js new file mode 100644 index 00000000000..24bd4922fd1 --- /dev/null +++ b/packages/rspack-test-tools/tests/cases/resolve/axios-0.27.2/node_modules/axios-demo/lib/adapters/xhr.js @@ -0,0 +1 @@ +module.exports = 'xhr'; \ No newline at end of file diff --git a/packages/rspack-test-tools/tests/cases/resolve/axios-0.27.2/node_modules/axios-demo/lib/axios.js b/packages/rspack-test-tools/tests/cases/resolve/axios-0.27.2/node_modules/axios-demo/lib/axios.js new file mode 100644 index 00000000000..7ae5bcf7a10 --- /dev/null +++ b/packages/rspack-test-tools/tests/cases/resolve/axios-0.27.2/node_modules/axios-demo/lib/axios.js @@ -0,0 +1,4 @@ +var defaults = require('./defaults'); +var axios = defaults; +module.exports = axios; +module.exports.default = axios; diff --git a/packages/rspack-test-tools/tests/cases/resolve/axios-0.27.2/node_modules/axios-demo/lib/defaults/index.js b/packages/rspack-test-tools/tests/cases/resolve/axios-0.27.2/node_modules/axios-demo/lib/defaults/index.js new file mode 100644 index 00000000000..842746ca742 --- /dev/null +++ b/packages/rspack-test-tools/tests/cases/resolve/axios-0.27.2/node_modules/axios-demo/lib/defaults/index.js @@ -0,0 +1,17 @@ +function getDefaultAdapter() { + var adapter; + if (typeof XMLHttpRequest !== 'undefined') { + // For browsers use XHR adapter + adapter = require('../adapters/xhr'); + } else if (typeof process !== 'undefined' && Object.prototype.toString.call(process) === '[object process]') { + // For node use HTTP adapter + adapter = require('../adapters/http'); + } + return adapter; +} + +var defaults = { + adapter: getDefaultAdapter(), +} + +module.exports = defaults; diff --git a/packages/rspack-test-tools/tests/cases/resolve/axios-0.27.2/node_modules/axios-demo/package.json b/packages/rspack-test-tools/tests/cases/resolve/axios-0.27.2/node_modules/axios-demo/package.json new file mode 100644 index 00000000000..02f3c4df381 --- /dev/null +++ b/packages/rspack-test-tools/tests/cases/resolve/axios-0.27.2/node_modules/axios-demo/package.json @@ -0,0 +1,10 @@ +{ + "name": "axios-demo", + "version": "0.27.2", + "description": "Promise based HTTP client for the browser and node.js", + "main": "index.js", + "browser": { + "./lib/adapters/http.js": "./lib/adapters/xhr.js", + "./lib/defaults/env/FormData.js": "./lib/helpers/null.js" + } +} \ No newline at end of file diff --git a/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/ignoring-module/file.js b/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/ignoring-module/file.js new file mode 100644 index 00000000000..3d566b49076 --- /dev/null +++ b/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/ignoring-module/file.js @@ -0,0 +1 @@ +throw new Error("Fail"); \ No newline at end of file diff --git a/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/ignoring-module/index.js b/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/ignoring-module/index.js new file mode 100644 index 00000000000..5fdf0a731ce --- /dev/null +++ b/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/ignoring-module/index.js @@ -0,0 +1,2 @@ +exports.module = require("wrong-module"); +exports.file = require("ignoring-module/file"); \ No newline at end of file diff --git a/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/ignoring-module/package.json b/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/ignoring-module/package.json new file mode 100644 index 00000000000..8d49b9a68bb --- /dev/null +++ b/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/ignoring-module/package.json @@ -0,0 +1,6 @@ +{ + "browser": { + "wrong-module": false, + "./file.js": false + } +} \ No newline at end of file diff --git a/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/new-module/index.js b/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/new-module/index.js new file mode 100644 index 00000000000..a6c8c8dfc54 --- /dev/null +++ b/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/new-module/index.js @@ -0,0 +1 @@ +module.exports = "new-module"; \ No newline at end of file diff --git a/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/new-module/inner.js b/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/new-module/inner.js new file mode 100644 index 00000000000..899e86f9d9c --- /dev/null +++ b/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/new-module/inner.js @@ -0,0 +1 @@ +module.exports = "new-module/inner"; \ No newline at end of file diff --git a/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/recursive-file/a.js b/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/recursive-file/a.js new file mode 100644 index 00000000000..01cd3e7139e --- /dev/null +++ b/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/recursive-file/a.js @@ -0,0 +1 @@ +module.exports = "a"; \ No newline at end of file diff --git a/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/recursive-file/b.js b/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/recursive-file/b.js new file mode 100644 index 00000000000..fba3204fe66 --- /dev/null +++ b/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/recursive-file/b.js @@ -0,0 +1 @@ +module.exports = "b"; \ No newline at end of file diff --git a/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/recursive-file/c.js b/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/recursive-file/c.js new file mode 100644 index 00000000000..ebaf7584d34 --- /dev/null +++ b/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/recursive-file/c.js @@ -0,0 +1 @@ +module.exports = "c"; \ No newline at end of file diff --git a/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/recursive-file/d.js b/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/recursive-file/d.js new file mode 100644 index 00000000000..76e86216bc4 --- /dev/null +++ b/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/recursive-file/d.js @@ -0,0 +1 @@ +module.exports = "d"; \ No newline at end of file diff --git a/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/recursive-file/package.json b/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/recursive-file/package.json new file mode 100644 index 00000000000..8330ebaf92c --- /dev/null +++ b/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/recursive-file/package.json @@ -0,0 +1,8 @@ +{ + "browser": { + "a.js": "./a", + "./b.js": "./b", + "c.js": "./d.js", + "./d.js": "./c.js" + } +} \ No newline at end of file diff --git a/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/recursive-module/index.js b/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/recursive-module/index.js new file mode 100644 index 00000000000..51226ed76fa --- /dev/null +++ b/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/recursive-module/index.js @@ -0,0 +1 @@ +module.exports = require("new-module"); \ No newline at end of file diff --git a/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/recursive-module/package.json b/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/recursive-module/package.json new file mode 100644 index 00000000000..57eac1506f1 --- /dev/null +++ b/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/recursive-module/package.json @@ -0,0 +1,5 @@ +{ + "browser": { + "new-module": "new-module" + } +} \ No newline at end of file diff --git a/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-file1/file.js b/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-file1/file.js new file mode 100644 index 00000000000..764d9cb9e4f --- /dev/null +++ b/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-file1/file.js @@ -0,0 +1 @@ +module.exports = "file"; \ No newline at end of file diff --git a/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-file1/index.js b/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-file1/index.js new file mode 100644 index 00000000000..dd8c24508fb --- /dev/null +++ b/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-file1/index.js @@ -0,0 +1 @@ +module.exports = require("replacing-file1/file"); \ No newline at end of file diff --git a/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-file1/new-file.js b/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-file1/new-file.js new file mode 100644 index 00000000000..abdc855fa81 --- /dev/null +++ b/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-file1/new-file.js @@ -0,0 +1 @@ +module.exports = "new-file"; \ No newline at end of file diff --git a/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-file1/package.json b/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-file1/package.json new file mode 100644 index 00000000000..c71d836ff68 --- /dev/null +++ b/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-file1/package.json @@ -0,0 +1,5 @@ +{ + "browser": { + "./file.js": "./new-file.js" + } +} \ No newline at end of file diff --git a/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-file2/file.js b/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-file2/file.js new file mode 100644 index 00000000000..764d9cb9e4f --- /dev/null +++ b/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-file2/file.js @@ -0,0 +1 @@ +module.exports = "file"; \ No newline at end of file diff --git a/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-file2/index.js b/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-file2/index.js new file mode 100644 index 00000000000..d1e170620b8 --- /dev/null +++ b/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-file2/index.js @@ -0,0 +1 @@ +module.exports = require("replacing-file2/file"); \ No newline at end of file diff --git a/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-file2/package.json b/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-file2/package.json new file mode 100644 index 00000000000..1e99b7d80e4 --- /dev/null +++ b/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-file2/package.json @@ -0,0 +1,5 @@ +{ + "browser": { + "./file.js": "new-module" + } +} \ No newline at end of file diff --git a/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-file3/file.js b/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-file3/file.js new file mode 100644 index 00000000000..764d9cb9e4f --- /dev/null +++ b/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-file3/file.js @@ -0,0 +1 @@ +module.exports = "file"; \ No newline at end of file diff --git a/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-file3/index.js b/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-file3/index.js new file mode 100644 index 00000000000..f546aa4afcd --- /dev/null +++ b/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-file3/index.js @@ -0,0 +1 @@ +module.exports = require("replacing-file3/file"); \ No newline at end of file diff --git a/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-file3/package.json b/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-file3/package.json new file mode 100644 index 00000000000..a6aedbc9e97 --- /dev/null +++ b/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-file3/package.json @@ -0,0 +1,5 @@ +{ + "browser": { + "./file.js": "new-module/inner" + } +} \ No newline at end of file diff --git a/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-file4/dir/file.js b/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-file4/dir/file.js new file mode 100644 index 00000000000..764d9cb9e4f --- /dev/null +++ b/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-file4/dir/file.js @@ -0,0 +1 @@ +module.exports = "file"; \ No newline at end of file diff --git a/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-file4/dir/index.js b/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-file4/dir/index.js new file mode 100644 index 00000000000..648007d544e --- /dev/null +++ b/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-file4/dir/index.js @@ -0,0 +1 @@ +module.exports = require("replacing-file4/dir/file"); \ No newline at end of file diff --git a/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-file4/dir/new-file.js b/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-file4/dir/new-file.js new file mode 100644 index 00000000000..abdc855fa81 --- /dev/null +++ b/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-file4/dir/new-file.js @@ -0,0 +1 @@ +module.exports = "new-file"; \ No newline at end of file diff --git a/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-file4/index.js b/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-file4/index.js new file mode 100644 index 00000000000..9c6d3b77791 --- /dev/null +++ b/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-file4/index.js @@ -0,0 +1 @@ +module.exports = require("replacing-file4/dir"); \ No newline at end of file diff --git a/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-file4/package.json b/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-file4/package.json new file mode 100644 index 00000000000..d7009d07381 --- /dev/null +++ b/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-file4/package.json @@ -0,0 +1,5 @@ +{ + "browser": { + "./dir/file.js": "./dir/new-file" + } +} \ No newline at end of file diff --git a/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-module1/index.js b/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-module1/index.js new file mode 100644 index 00000000000..1ec389e8b62 --- /dev/null +++ b/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-module1/index.js @@ -0,0 +1 @@ +module.exports = require("wrong-module"); \ No newline at end of file diff --git a/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-module1/package.json b/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-module1/package.json new file mode 100644 index 00000000000..221f3e271b9 --- /dev/null +++ b/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-module1/package.json @@ -0,0 +1,5 @@ +{ + "browser": { + "wrong-module": "new-module" + } +} \ No newline at end of file diff --git a/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-module2/index.js b/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-module2/index.js new file mode 100644 index 00000000000..1ec389e8b62 --- /dev/null +++ b/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-module2/index.js @@ -0,0 +1 @@ +module.exports = require("wrong-module"); \ No newline at end of file diff --git a/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-module2/package.json b/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-module2/package.json new file mode 100644 index 00000000000..e5d73548a29 --- /dev/null +++ b/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-module2/package.json @@ -0,0 +1,5 @@ +{ + "browser": { + "wrong-module": "new-module/inner" + } +} \ No newline at end of file diff --git a/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-module3/index.js b/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-module3/index.js new file mode 100644 index 00000000000..51226ed76fa --- /dev/null +++ b/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-module3/index.js @@ -0,0 +1 @@ +module.exports = require("new-module"); \ No newline at end of file diff --git a/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-module3/package.json b/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-module3/package.json new file mode 100644 index 00000000000..29eb170b416 --- /dev/null +++ b/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-module3/package.json @@ -0,0 +1,5 @@ +{ + "browser": { + "new-module": "new-module/inner" + } +} \ No newline at end of file diff --git a/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-module4/index.js b/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-module4/index.js new file mode 100644 index 00000000000..1ec389e8b62 --- /dev/null +++ b/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-module4/index.js @@ -0,0 +1 @@ +module.exports = require("wrong-module"); \ No newline at end of file diff --git a/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-module4/module.js b/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-module4/module.js new file mode 100644 index 00000000000..5563af446d1 --- /dev/null +++ b/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-module4/module.js @@ -0,0 +1 @@ +module.exports = "replacing-module4/module"; \ No newline at end of file diff --git a/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-module4/package.json b/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-module4/package.json new file mode 100644 index 00000000000..b65fb7188ce --- /dev/null +++ b/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/replacing-module4/package.json @@ -0,0 +1,5 @@ +{ + "browser": { + "wrong-module": "./module.js" + } +} \ No newline at end of file diff --git a/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/wrong-module.js b/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/wrong-module.js new file mode 100644 index 00000000000..6c124671312 --- /dev/null +++ b/packages/rspack-test-tools/tests/cases/resolve/browser-field/node_modules/wrong-module.js @@ -0,0 +1 @@ +module.exports = "wrong-module"; \ No newline at end of file diff --git a/packages/rspack/tests/configCases/asset-url/relative-rewrite/index.css b/packages/rspack-test-tools/tests/configCases/asset-url/relative-rewrite/index.css similarity index 100% rename from packages/rspack/tests/configCases/asset-url/relative-rewrite/index.css rename to packages/rspack-test-tools/tests/configCases/asset-url/relative-rewrite/index.css diff --git a/packages/rspack/tests/configCases/asset-url/relative-rewrite/index.js b/packages/rspack-test-tools/tests/configCases/asset-url/relative-rewrite/index.js similarity index 100% rename from packages/rspack/tests/configCases/asset-url/relative-rewrite/index.js rename to packages/rspack-test-tools/tests/configCases/asset-url/relative-rewrite/index.js diff --git a/packages/rspack/tests/configCases/asset-url/relative-rewrite/webpack.config.js b/packages/rspack-test-tools/tests/configCases/asset-url/relative-rewrite/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/asset-url/relative-rewrite/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/asset-url/relative-rewrite/webpack.config.js diff --git a/packages/rspack/tests/configCases/asset/_images/file.jpg b/packages/rspack-test-tools/tests/configCases/asset/_images/file.jpg similarity index 100% rename from packages/rspack/tests/configCases/asset/_images/file.jpg rename to packages/rspack-test-tools/tests/configCases/asset/_images/file.jpg diff --git a/packages/rspack/tests/configCases/asset/_images/file.png b/packages/rspack-test-tools/tests/configCases/asset/_images/file.png similarity index 100% rename from packages/rspack/tests/configCases/asset/_images/file.png rename to packages/rspack-test-tools/tests/configCases/asset/_images/file.png diff --git a/packages/rspack/tests/configCases/asset/auto/index.js b/packages/rspack-test-tools/tests/configCases/asset/auto/index.js similarity index 100% rename from packages/rspack/tests/configCases/asset/auto/index.js rename to packages/rspack-test-tools/tests/configCases/asset/auto/index.js diff --git a/packages/rspack/tests/configCases/asset/auto/large.png b/packages/rspack-test-tools/tests/configCases/asset/auto/large.png similarity index 100% rename from packages/rspack/tests/configCases/asset/auto/large.png rename to packages/rspack-test-tools/tests/configCases/asset/auto/large.png diff --git a/packages/rspack/tests/configCases/asset/auto/logo.svg b/packages/rspack-test-tools/tests/configCases/asset/auto/logo.svg similarity index 100% rename from packages/rspack/tests/configCases/asset/auto/logo.svg rename to packages/rspack-test-tools/tests/configCases/asset/auto/logo.svg diff --git a/packages/rspack/tests/configCases/asset/auto/webpack.config.js b/packages/rspack-test-tools/tests/configCases/asset/auto/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/asset/auto/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/asset/auto/webpack.config.js diff --git a/packages/rspack/tests/configCases/asset/data-url-condition/img.png b/packages/rspack-test-tools/tests/configCases/asset/data-url-condition/img.png similarity index 100% rename from packages/rspack/tests/configCases/asset/data-url-condition/img.png rename to packages/rspack-test-tools/tests/configCases/asset/data-url-condition/img.png diff --git a/packages/rspack/tests/configCases/asset/data-url-condition/index.js b/packages/rspack-test-tools/tests/configCases/asset/data-url-condition/index.js similarity index 100% rename from packages/rspack/tests/configCases/asset/data-url-condition/index.js rename to packages/rspack-test-tools/tests/configCases/asset/data-url-condition/index.js diff --git a/packages/rspack/tests/configCases/asset/data-url-condition/webpack.config.js b/packages/rspack-test-tools/tests/configCases/asset/data-url-condition/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/asset/data-url-condition/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/asset/data-url-condition/webpack.config.js diff --git a/packages/rspack/tests/configCases/asset/disable-emit-by-rule/index.js b/packages/rspack-test-tools/tests/configCases/asset/disable-emit-by-rule/index.js similarity index 100% rename from packages/rspack/tests/configCases/asset/disable-emit-by-rule/index.js rename to packages/rspack-test-tools/tests/configCases/asset/disable-emit-by-rule/index.js diff --git a/packages/rspack/tests/configCases/asset/disable-emit-by-rule/webpack.config.js b/packages/rspack-test-tools/tests/configCases/asset/disable-emit-by-rule/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/asset/disable-emit-by-rule/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/asset/disable-emit-by-rule/webpack.config.js diff --git a/packages/rspack/tests/configCases/asset/disable-emit-for-asset/index.js b/packages/rspack-test-tools/tests/configCases/asset/disable-emit-for-asset/index.js similarity index 100% rename from packages/rspack/tests/configCases/asset/disable-emit-for-asset/index.js rename to packages/rspack-test-tools/tests/configCases/asset/disable-emit-for-asset/index.js diff --git a/packages/rspack/tests/configCases/asset/disable-emit-for-asset/webpack.config.js b/packages/rspack-test-tools/tests/configCases/asset/disable-emit-for-asset/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/asset/disable-emit-for-asset/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/asset/disable-emit-for-asset/webpack.config.js diff --git a/packages/rspack/tests/configCases/asset/disable-emit-for-resource/index.js b/packages/rspack-test-tools/tests/configCases/asset/disable-emit-for-resource/index.js similarity index 100% rename from packages/rspack/tests/configCases/asset/disable-emit-for-resource/index.js rename to packages/rspack-test-tools/tests/configCases/asset/disable-emit-for-resource/index.js diff --git a/packages/rspack/tests/configCases/asset/disable-emit-for-resource/webpack.config.js b/packages/rspack-test-tools/tests/configCases/asset/disable-emit-for-resource/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/asset/disable-emit-for-resource/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/asset/disable-emit-for-resource/webpack.config.js diff --git a/packages/rspack/tests/configCases/asset/inline/img.png b/packages/rspack-test-tools/tests/configCases/asset/inline/img.png similarity index 100% rename from packages/rspack/tests/configCases/asset/inline/img.png rename to packages/rspack-test-tools/tests/configCases/asset/inline/img.png diff --git a/packages/rspack/tests/configCases/asset/inline/index.js b/packages/rspack-test-tools/tests/configCases/asset/inline/index.js similarity index 100% rename from packages/rspack/tests/configCases/asset/inline/index.js rename to packages/rspack-test-tools/tests/configCases/asset/inline/index.js diff --git a/packages/rspack/tests/configCases/asset/inline/webpack.config.js b/packages/rspack-test-tools/tests/configCases/asset/inline/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/asset/inline/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/asset/inline/webpack.config.js diff --git a/packages/rspack/tests/configCases/asset/issue-3307/a.png b/packages/rspack-test-tools/tests/configCases/asset/issue-3307/a.png similarity index 100% rename from packages/rspack/tests/configCases/asset/issue-3307/a.png rename to packages/rspack-test-tools/tests/configCases/asset/issue-3307/a.png diff --git a/packages/rspack/tests/configCases/asset/issue-3307/index.js b/packages/rspack-test-tools/tests/configCases/asset/issue-3307/index.js similarity index 100% rename from packages/rspack/tests/configCases/asset/issue-3307/index.js rename to packages/rspack-test-tools/tests/configCases/asset/issue-3307/index.js diff --git a/packages/rspack/tests/configCases/asset/issue-3307/webpack.config.js b/packages/rspack-test-tools/tests/configCases/asset/issue-3307/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/asset/issue-3307/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/asset/issue-3307/webpack.config.js diff --git a/packages/rspack/tests/configCases/asset/rename-asset/chunk.js b/packages/rspack-test-tools/tests/configCases/asset/rename-asset/chunk.js similarity index 100% rename from packages/rspack/tests/configCases/asset/rename-asset/chunk.js rename to packages/rspack-test-tools/tests/configCases/asset/rename-asset/chunk.js diff --git a/packages/rspack/tests/configCases/asset/rename-asset/index.js b/packages/rspack-test-tools/tests/configCases/asset/rename-asset/index.js similarity index 100% rename from packages/rspack/tests/configCases/asset/rename-asset/index.js rename to packages/rspack-test-tools/tests/configCases/asset/rename-asset/index.js diff --git a/packages/rspack/tests/configCases/asset/rename-asset/webpack.config.js b/packages/rspack-test-tools/tests/configCases/asset/rename-asset/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/asset/rename-asset/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/asset/rename-asset/webpack.config.js diff --git a/packages/rspack/tests/configCases/asset/resource/index.js b/packages/rspack-test-tools/tests/configCases/asset/resource/index.js similarity index 100% rename from packages/rspack/tests/configCases/asset/resource/index.js rename to packages/rspack-test-tools/tests/configCases/asset/resource/index.js diff --git a/packages/rspack/tests/configCases/asset/resource/logo.svg b/packages/rspack-test-tools/tests/configCases/asset/resource/logo.svg similarity index 100% rename from packages/rspack/tests/configCases/asset/resource/logo.svg rename to packages/rspack-test-tools/tests/configCases/asset/resource/logo.svg diff --git a/packages/rspack/tests/configCases/asset/resource/webpack.config.js b/packages/rspack-test-tools/tests/configCases/asset/resource/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/asset/resource/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/asset/resource/webpack.config.js diff --git a/packages/rspack/tests/configCases/asset/rspack-issue-2283/img.png b/packages/rspack-test-tools/tests/configCases/asset/rspack-issue-2283/img.png similarity index 100% rename from packages/rspack/tests/configCases/asset/rspack-issue-2283/img.png rename to packages/rspack-test-tools/tests/configCases/asset/rspack-issue-2283/img.png diff --git a/packages/rspack/tests/configCases/asset/rspack-issue-2283/index.js b/packages/rspack-test-tools/tests/configCases/asset/rspack-issue-2283/index.js similarity index 100% rename from packages/rspack/tests/configCases/asset/rspack-issue-2283/index.js rename to packages/rspack-test-tools/tests/configCases/asset/rspack-issue-2283/index.js diff --git a/packages/rspack/tests/configCases/asset/rspack-issue-2283/webpack.config.js b/packages/rspack-test-tools/tests/configCases/asset/rspack-issue-2283/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/asset/rspack-issue-2283/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/asset/rspack-issue-2283/webpack.config.js diff --git a/packages/rspack/tests/configCases/asset/source/data.txt b/packages/rspack-test-tools/tests/configCases/asset/source/data.txt similarity index 100% rename from packages/rspack/tests/configCases/asset/source/data.txt rename to packages/rspack-test-tools/tests/configCases/asset/source/data.txt diff --git a/packages/rspack/tests/configCases/asset/source/index.js b/packages/rspack-test-tools/tests/configCases/asset/source/index.js similarity index 100% rename from packages/rspack/tests/configCases/asset/source/index.js rename to packages/rspack-test-tools/tests/configCases/asset/source/index.js diff --git a/packages/rspack/tests/configCases/asset/source/webpack.config.js b/packages/rspack-test-tools/tests/configCases/asset/source/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/asset/source/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/asset/source/webpack.config.js diff --git a/packages/rspack/tests/configCases/babel-loader/plugin-import/.gitignore b/packages/rspack-test-tools/tests/configCases/babel-loader/plugin-import/.gitignore similarity index 100% rename from packages/rspack/tests/configCases/babel-loader/plugin-import/.gitignore rename to packages/rspack-test-tools/tests/configCases/babel-loader/plugin-import/.gitignore diff --git a/packages/rspack/tests/configCases/babel-loader/plugin-import/index.js b/packages/rspack-test-tools/tests/configCases/babel-loader/plugin-import/index.js similarity index 100% rename from packages/rspack/tests/configCases/babel-loader/plugin-import/index.js rename to packages/rspack-test-tools/tests/configCases/babel-loader/plugin-import/index.js diff --git a/packages/rspack/tests/configCases/babel-loader/plugin-import/node_modules/antd/lib/good.js b/packages/rspack-test-tools/tests/configCases/babel-loader/plugin-import/node_modules/antd/lib/good.js similarity index 100% rename from packages/rspack/tests/configCases/babel-loader/plugin-import/node_modules/antd/lib/good.js rename to packages/rspack-test-tools/tests/configCases/babel-loader/plugin-import/node_modules/antd/lib/good.js diff --git a/packages/rspack/tests/configCases/babel-loader/plugin-import/webpack.config.js b/packages/rspack-test-tools/tests/configCases/babel-loader/plugin-import/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/babel-loader/plugin-import/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/babel-loader/plugin-import/webpack.config.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/basic/index.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/basic/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/basic/index.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/basic/index.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/basic/lib.ts b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/basic/lib.ts similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/basic/lib.ts rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/basic/lib.ts diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/basic/webpack.config.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/basic/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/basic/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/basic/webpack.config.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/chain/index.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/chain/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/chain/index.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/chain/index.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/chain/lib.ts b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/chain/lib.ts similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/chain/lib.ts rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/chain/lib.ts diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/chain/loader.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/chain/loader.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/chain/loader.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/chain/loader.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/chain/webpack.config.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/chain/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/chain/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/chain/webpack.config.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/inline-pitching/index.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/inline-pitching/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/inline-pitching/index.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/inline-pitching/index.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/inline-pitching/lib.ts b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/inline-pitching/lib.ts similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/inline-pitching/lib.ts rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/inline-pitching/lib.ts diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/inline-pitching/pitching-loader.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/inline-pitching/pitching-loader.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/inline-pitching/pitching-loader.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/inline-pitching/pitching-loader.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/inline-pitching/webpack.config.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/inline-pitching/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/inline-pitching/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/inline-pitching/webpack.config.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/issue-4597/diy.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/issue-4597/diy.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/issue-4597/diy.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/issue-4597/diy.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/issue-4597/index.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/issue-4597/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/issue-4597/index.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/issue-4597/index.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/issue-4597/node_modules/aaaaa/es/button/index.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/issue-4597/node_modules/aaaaa/es/button/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/issue-4597/node_modules/aaaaa/es/button/index.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/issue-4597/node_modules/aaaaa/es/button/index.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/issue-4597/node_modules/aaaaa/es/button/style/css.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/issue-4597/node_modules/aaaaa/es/button/style/css.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/issue-4597/node_modules/aaaaa/es/button/style/css.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/issue-4597/node_modules/aaaaa/es/button/style/css.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/issue-4597/node_modules/aaaaa/es/button/style/index.css b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/issue-4597/node_modules/aaaaa/es/button/style/index.css similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/issue-4597/node_modules/aaaaa/es/button/style/index.css rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/issue-4597/node_modules/aaaaa/es/button/style/index.css diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/issue-4597/node_modules/aaaaa/es/index.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/issue-4597/node_modules/aaaaa/es/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/issue-4597/node_modules/aaaaa/es/index.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/issue-4597/node_modules/aaaaa/es/index.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/issue-4597/node_modules/aaaaa/package.json b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/issue-4597/node_modules/aaaaa/package.json similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/issue-4597/node_modules/aaaaa/package.json rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/issue-4597/node_modules/aaaaa/package.json diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/issue-4597/webpack.config.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/issue-4597/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/issue-4597/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/issue-4597/webpack.config.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/issue-5329/errors.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/issue-5329/errors.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/issue-5329/errors.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/issue-5329/errors.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/issue-5329/index.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/issue-5329/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/issue-5329/index.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/issue-5329/index.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/issue-5329/lib-entry.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/issue-5329/lib-entry.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/issue-5329/lib-entry.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/issue-5329/lib-entry.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/issue-5329/lib.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/issue-5329/lib.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/issue-5329/lib.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/issue-5329/lib.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/issue-5329/webpack.config.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/issue-5329/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/issue-5329/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/issue-5329/webpack.config.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/plugin-import/custom-name-tpl.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/plugin-import/custom-name-tpl.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/plugin-import/custom-name-tpl.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/plugin-import/custom-name-tpl.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/plugin-import/custom-style-name.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/plugin-import/custom-style-name.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/plugin-import/custom-style-name.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/plugin-import/custom-style-name.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/plugin-import/ignore-es-component.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/plugin-import/ignore-es-component.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/plugin-import/ignore-es-component.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/plugin-import/ignore-es-component.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/plugin-import/ignore-style-component.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/plugin-import/ignore-style-component.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/plugin-import/ignore-style-component.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/plugin-import/ignore-style-component.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/plugin-import/index.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/plugin-import/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/plugin-import/index.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/plugin-import/index.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/plugin-import/legacy-babel-plugin-import.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/plugin-import/legacy-babel-plugin-import.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/plugin-import/legacy-babel-plugin-import.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/plugin-import/legacy-babel-plugin-import.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/plugin-import/no-default.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/plugin-import/no-default.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/plugin-import/no-default.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/plugin-import/no-default.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/plugin-import/src/custom-name-tpl-camel/fooBar/index.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/plugin-import/src/custom-name-tpl-camel/fooBar/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/plugin-import/src/custom-name-tpl-camel/fooBar/index.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/plugin-import/src/custom-name-tpl-camel/fooBar/index.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/plugin-import/src/custom-name-tpl-kebab/foo-bar/index.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/plugin-import/src/custom-name-tpl-kebab/foo-bar/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/plugin-import/src/custom-name-tpl-kebab/foo-bar/index.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/plugin-import/src/custom-name-tpl-kebab/foo-bar/index.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/plugin-import/src/custom-name-tpl-lower/foobar/index.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/plugin-import/src/custom-name-tpl-lower/foobar/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/plugin-import/src/custom-name-tpl-lower/foobar/index.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/plugin-import/src/custom-name-tpl-lower/foobar/index.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/plugin-import/src/custom-name-tpl-nopanic/fooBar/index.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/plugin-import/src/custom-name-tpl-nopanic/fooBar/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/plugin-import/src/custom-name-tpl-nopanic/fooBar/index.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/plugin-import/src/custom-name-tpl-nopanic/fooBar/index.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/plugin-import/src/custom-name-tpl-snake/foo_bar/index.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/plugin-import/src/custom-name-tpl-snake/foo_bar/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/plugin-import/src/custom-name-tpl-snake/foo_bar/index.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/plugin-import/src/custom-name-tpl-snake/foo_bar/index.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/plugin-import/src/custom-name-tpl-upper/FOOBAR/index.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/plugin-import/src/custom-name-tpl-upper/FOOBAR/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/plugin-import/src/custom-name-tpl-upper/FOOBAR/index.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/plugin-import/src/custom-name-tpl-upper/FOOBAR/index.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/plugin-import/src/custom-style-name/lib/foo-bar/index.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/plugin-import/src/custom-style-name/lib/foo-bar/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/plugin-import/src/custom-style-name/lib/foo-bar/index.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/plugin-import/src/custom-style-name/lib/foo-bar/index.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/plugin-import/src/custom-style-name/lib/foo-bar/style/index.css b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/plugin-import/src/custom-style-name/lib/foo-bar/style/index.css similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/plugin-import/src/custom-style-name/lib/foo-bar/style/index.css rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/plugin-import/src/custom-style-name/lib/foo-bar/style/index.css diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/plugin-import/src/ignore-es-component/index.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/plugin-import/src/ignore-es-component/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/plugin-import/src/ignore-es-component/index.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/plugin-import/src/ignore-es-component/index.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/plugin-import/src/ignore-es-component/lib/button/index.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/plugin-import/src/ignore-es-component/lib/button/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/plugin-import/src/ignore-es-component/lib/button/index.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/plugin-import/src/ignore-es-component/lib/button/index.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/plugin-import/src/ignore-es-component/lib/button/style/index.css b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/plugin-import/src/ignore-es-component/lib/button/style/index.css similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/plugin-import/src/ignore-es-component/lib/button/style/index.css rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/plugin-import/src/ignore-es-component/lib/button/style/index.css diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/plugin-import/src/ignore-style-component/lib/button/index.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/plugin-import/src/ignore-style-component/lib/button/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/plugin-import/src/ignore-style-component/lib/button/index.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/plugin-import/src/ignore-style-component/lib/button/index.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/plugin-import/src/ignore-style-component/lib/button/style.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/plugin-import/src/ignore-style-component/lib/button/style.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/plugin-import/src/ignore-style-component/lib/button/style.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/plugin-import/src/ignore-style-component/lib/button/style.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/plugin-import/src/ignore-style-component/lib/foo-bar/index.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/plugin-import/src/ignore-style-component/lib/foo-bar/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/plugin-import/src/ignore-style-component/lib/foo-bar/index.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/plugin-import/src/ignore-style-component/lib/foo-bar/index.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/plugin-import/src/legacy-babel-plugin-import/index.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/plugin-import/src/legacy-babel-plugin-import/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/plugin-import/src/legacy-babel-plugin-import/index.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/plugin-import/src/legacy-babel-plugin-import/index.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/plugin-import/src/legacy-babel-plugin-import/lib/x-i-p-object/x_i_p_object.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/plugin-import/src/legacy-babel-plugin-import/lib/x-i-p-object/x_i_p_object.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/plugin-import/src/legacy-babel-plugin-import/lib/x-i-p-object/x_i_p_object.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/plugin-import/src/legacy-babel-plugin-import/lib/x-i-p-object/x_i_p_object.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/plugin-import/src/no-default/lib/foo-bar/index.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/plugin-import/src/no-default/lib/foo-bar/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/plugin-import/src/no-default/lib/foo-bar/index.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/plugin-import/src/no-default/lib/foo-bar/index.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/plugin-import/src/style-css/lib/foo-bar/index.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/plugin-import/src/style-css/lib/foo-bar/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/plugin-import/src/style-css/lib/foo-bar/index.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/plugin-import/src/style-css/lib/foo-bar/index.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/plugin-import/src/style-css/lib/foo-bar/style/css/index.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/plugin-import/src/style-css/lib/foo-bar/style/css/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/plugin-import/src/style-css/lib/foo-bar/style/css/index.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/plugin-import/src/style-css/lib/foo-bar/style/css/index.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/plugin-import/src/style-library/css/foo-bar/index.css b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/plugin-import/src/style-library/css/foo-bar/index.css similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/plugin-import/src/style-library/css/foo-bar/index.css rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/plugin-import/src/style-library/css/foo-bar/index.css diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/plugin-import/src/style-library/lib/foo-bar/index.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/plugin-import/src/style-library/lib/foo-bar/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/plugin-import/src/style-library/lib/foo-bar/index.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/plugin-import/src/style-library/lib/foo-bar/index.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/plugin-import/src/style-tpl/lib/foo-bar.css b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/plugin-import/src/style-tpl/lib/foo-bar.css similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/plugin-import/src/style-tpl/lib/foo-bar.css rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/plugin-import/src/style-tpl/lib/foo-bar.css diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/plugin-import/src/style-tpl/lib/foo-bar/index.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/plugin-import/src/style-tpl/lib/foo-bar/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/plugin-import/src/style-tpl/lib/foo-bar/index.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/plugin-import/src/style-tpl/lib/foo-bar/index.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/plugin-import/src/style-true/lib/foo-bar/index.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/plugin-import/src/style-true/lib/foo-bar/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/plugin-import/src/style-true/lib/foo-bar/index.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/plugin-import/src/style-true/lib/foo-bar/index.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/plugin-import/src/style-true/lib/foo-bar/style/index.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/plugin-import/src/style-true/lib/foo-bar/style/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/plugin-import/src/style-true/lib/foo-bar/style/index.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/plugin-import/src/style-true/lib/foo-bar/style/index.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/plugin-import/src/style-true/lib/with-number3d/index.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/plugin-import/src/style-true/lib/with-number3d/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/plugin-import/src/style-true/lib/with-number3d/index.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/plugin-import/src/style-true/lib/with-number3d/index.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/plugin-import/src/style-true/lib/with-number3d/style/index.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/plugin-import/src/style-true/lib/with-number3d/style/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/plugin-import/src/style-true/lib/with-number3d/style/index.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/plugin-import/src/style-true/lib/with-number3d/style/index.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/plugin-import/style-css.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/plugin-import/style-css.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/plugin-import/style-css.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/plugin-import/style-css.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/plugin-import/style-library.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/plugin-import/style-library.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/plugin-import/style-library.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/plugin-import/style-library.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/plugin-import/style-tpl.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/plugin-import/style-tpl.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/plugin-import/style-tpl.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/plugin-import/style-tpl.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/plugin-import/style-true.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/plugin-import/style-true.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/plugin-import/style-true.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/plugin-import/style-true.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/plugin-import/webpack.config.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/plugin-import/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/plugin-import/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/plugin-import/webpack.config.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/react-refresh-false/index.jsx b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/react-refresh-false/index.jsx similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/react-refresh-false/index.jsx rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/react-refresh-false/index.jsx diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/react-refresh-false/webpack.config.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/react-refresh-false/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/react-refresh-false/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/react-refresh-false/webpack.config.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/react-runtime-automic/index.jsx b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/react-runtime-automic/index.jsx similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/react-runtime-automic/index.jsx rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/react-runtime-automic/index.jsx diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/react-runtime-automic/webpack.config.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/react-runtime-automic/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/react-runtime-automic/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/react-runtime-automic/webpack.config.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/react-runtime-classic/index.jsx b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/react-runtime-classic/index.jsx similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/react-runtime-classic/index.jsx rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/react-runtime-classic/index.jsx diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/react-runtime-classic/webpack.config.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/react-runtime-classic/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/react-runtime-classic/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/react-runtime-classic/webpack.config.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/relay-config-custom/custom/MyComponent.graphql.ts b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/relay-config-custom/custom/MyComponent.graphql.ts similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/relay-config-custom/custom/MyComponent.graphql.ts rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/relay-config-custom/custom/MyComponent.graphql.ts diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/relay-config-custom/index.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/relay-config-custom/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/relay-config-custom/index.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/relay-config-custom/index.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/relay-config-custom/webpack.config.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/relay-config-custom/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/relay-config-custom/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/relay-config-custom/webpack.config.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/relay-config-js/custom/MyComponent.graphql.ts b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/relay-config-js/custom/MyComponent.graphql.ts similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/relay-config-js/custom/MyComponent.graphql.ts rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/relay-config-js/custom/MyComponent.graphql.ts diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/relay-config-js/index.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/relay-config-js/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/relay-config-js/index.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/relay-config-js/index.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/relay-config-js/relay.config.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/relay-config-js/relay.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/relay-config-js/relay.config.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/relay-config-js/relay.config.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/relay-config-js/webpack.config.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/relay-config-js/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/relay-config-js/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/relay-config-js/webpack.config.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/relay-config-json/custom/MyComponent.graphql.ts b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/relay-config-json/custom/MyComponent.graphql.ts similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/relay-config-json/custom/MyComponent.graphql.ts rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/relay-config-json/custom/MyComponent.graphql.ts diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/relay-config-json/index.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/relay-config-json/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/relay-config-json/index.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/relay-config-json/index.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/relay-config-json/relay.config.json b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/relay-config-json/relay.config.json similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/relay-config-json/relay.config.json rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/relay-config-json/relay.config.json diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/relay-config-json/webpack.config.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/relay-config-json/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/relay-config-json/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/relay-config-json/webpack.config.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/relay-default/__generated__/MyComponent.graphql.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/relay-default/__generated__/MyComponent.graphql.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/relay-default/__generated__/MyComponent.graphql.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/relay-default/__generated__/MyComponent.graphql.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/relay-default/index.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/relay-default/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/relay-default/index.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/relay-default/index.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/relay-default/webpack.config.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/relay-default/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/relay-default/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/relay-default/webpack.config.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/relay-json/__generated__/MyComponent.graphql.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/relay-json/__generated__/MyComponent.graphql.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/relay-json/__generated__/MyComponent.graphql.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/relay-json/__generated__/MyComponent.graphql.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/relay-json/index.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/relay-json/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/relay-json/index.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/relay-json/index.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/relay-json/package.json b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/relay-json/package.json similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/relay-json/package.json rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/relay-json/package.json diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/relay-json/webpack.config.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/relay-json/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/relay-json/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/relay-json/webpack.config.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/relay-webpack-require/custom/MyComponent.graphql.ts b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/relay-webpack-require/custom/MyComponent.graphql.ts similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/relay-webpack-require/custom/MyComponent.graphql.ts rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/relay-webpack-require/custom/MyComponent.graphql.ts diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/relay-webpack-require/index.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/relay-webpack-require/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/relay-webpack-require/index.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/relay-webpack-require/index.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/relay-webpack-require/mock.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/relay-webpack-require/mock.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/relay-webpack-require/mock.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/relay-webpack-require/mock.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/relay-webpack-require/relay.config.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/relay-webpack-require/relay.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/relay-webpack-require/relay.config.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/relay-webpack-require/relay.config.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/relay-webpack-require/webpack.config.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/relay-webpack-require/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/relay-webpack-require/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/relay-webpack-require/webpack.config.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/source-map/a.ts b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/source-map/a.ts similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/source-map/a.ts rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/source-map/a.ts diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/source-map/index.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/source-map/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/source-map/index.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/source-map/index.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/source-map/source.txt b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/source-map/source.txt similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/source-map/source.txt rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/source-map/source.txt diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/source-map/webpack.config.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/source-map/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/source-map/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/source-map/webpack.config.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/styled-components/Button/index.jsx b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/styled-components/Button/index.jsx similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/styled-components/Button/index.jsx rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/styled-components/Button/index.jsx diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/styled-components/Button2/index.jsx b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/styled-components/Button2/index.jsx similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/styled-components/Button2/index.jsx rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/styled-components/Button2/index.jsx diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/styled-components/index.jsx b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/styled-components/index.jsx similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/styled-components/index.jsx rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/styled-components/index.jsx diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/styled-components/webpack.config.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/styled-components/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/styled-components/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/styled-components/webpack.config.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/swc-plugin/index.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/swc-plugin/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/swc-plugin/index.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/swc-plugin/index.js diff --git a/packages/rspack/tests/configCases/builtin-swc-loader/swc-plugin/webpack.config.js b/packages/rspack-test-tools/tests/configCases/builtin-swc-loader/swc-plugin/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtin-swc-loader/swc-plugin/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/builtin-swc-loader/swc-plugin/webpack.config.js diff --git a/packages/rspack/tests/configCases/builtins/banner/a.js b/packages/rspack-test-tools/tests/configCases/builtins/banner/a.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/banner/a.js rename to packages/rspack-test-tools/tests/configCases/builtins/banner/a.js diff --git a/packages/rspack/tests/configCases/builtins/banner/b.js b/packages/rspack-test-tools/tests/configCases/builtins/banner/b.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/banner/b.js rename to packages/rspack-test-tools/tests/configCases/builtins/banner/b.js diff --git a/packages/rspack/tests/configCases/builtins/banner/empty.png b/packages/rspack-test-tools/tests/configCases/builtins/banner/empty.png similarity index 100% rename from packages/rspack/tests/configCases/builtins/banner/empty.png rename to packages/rspack-test-tools/tests/configCases/builtins/banner/empty.png diff --git a/packages/rspack/tests/configCases/builtins/banner/index.js b/packages/rspack-test-tools/tests/configCases/builtins/banner/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/banner/index.js rename to packages/rspack-test-tools/tests/configCases/builtins/banner/index.js diff --git a/packages/rspack/tests/configCases/builtins/banner/test.config.js b/packages/rspack-test-tools/tests/configCases/builtins/banner/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/banner/test.config.js rename to packages/rspack-test-tools/tests/configCases/builtins/banner/test.config.js diff --git a/packages/rspack/tests/configCases/builtins/banner/webpack.config.js b/packages/rspack-test-tools/tests/configCases/builtins/banner/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/banner/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/builtins/banner/webpack.config.js diff --git a/packages/rspack/tests/configCases/builtins/code-generation-keep-comments/index.js b/packages/rspack-test-tools/tests/configCases/builtins/code-generation-keep-comments/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/code-generation-keep-comments/index.js rename to packages/rspack-test-tools/tests/configCases/builtins/code-generation-keep-comments/index.js diff --git a/packages/rspack/tests/configCases/builtins/code-generation-keep-comments/webpack.config.js b/packages/rspack-test-tools/tests/configCases/builtins/code-generation-keep-comments/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/code-generation-keep-comments/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/builtins/code-generation-keep-comments/webpack.config.js diff --git a/packages/rspack/tests/configCases/builtins/css-auto/index.css b/packages/rspack-test-tools/tests/configCases/builtins/css-auto/index.css similarity index 100% rename from packages/rspack/tests/configCases/builtins/css-auto/index.css rename to packages/rspack-test-tools/tests/configCases/builtins/css-auto/index.css diff --git a/packages/rspack/tests/configCases/builtins/css-auto/index.js b/packages/rspack-test-tools/tests/configCases/builtins/css-auto/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/css-auto/index.js rename to packages/rspack-test-tools/tests/configCases/builtins/css-auto/index.js diff --git a/packages/rspack/tests/configCases/builtins/css-auto/index.module.css b/packages/rspack-test-tools/tests/configCases/builtins/css-auto/index.module.css similarity index 100% rename from packages/rspack/tests/configCases/builtins/css-auto/index.module.css rename to packages/rspack-test-tools/tests/configCases/builtins/css-auto/index.module.css diff --git a/packages/rspack/tests/configCases/builtins/css-auto/webpack.config.js b/packages/rspack-test-tools/tests/configCases/builtins/css-auto/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/css-auto/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/builtins/css-auto/webpack.config.js diff --git a/packages/rspack/tests/configCases/builtins/css-modules-composes-preprocessers/index.css b/packages/rspack-test-tools/tests/configCases/builtins/css-modules-composes-preprocessers/index.css similarity index 100% rename from packages/rspack/tests/configCases/builtins/css-modules-composes-preprocessers/index.css rename to packages/rspack-test-tools/tests/configCases/builtins/css-modules-composes-preprocessers/index.css diff --git a/packages/rspack/tests/configCases/builtins/css-modules-composes-preprocessers/index.js b/packages/rspack-test-tools/tests/configCases/builtins/css-modules-composes-preprocessers/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/css-modules-composes-preprocessers/index.js rename to packages/rspack-test-tools/tests/configCases/builtins/css-modules-composes-preprocessers/index.js diff --git a/packages/rspack/tests/configCases/builtins/css-modules-composes-preprocessers/less-file.less b/packages/rspack-test-tools/tests/configCases/builtins/css-modules-composes-preprocessers/less-file.less similarity index 100% rename from packages/rspack/tests/configCases/builtins/css-modules-composes-preprocessers/less-file.less rename to packages/rspack-test-tools/tests/configCases/builtins/css-modules-composes-preprocessers/less-file.less diff --git a/packages/rspack/tests/configCases/builtins/css-modules-composes-preprocessers/scss-file.scss b/packages/rspack-test-tools/tests/configCases/builtins/css-modules-composes-preprocessers/scss-file.scss similarity index 100% rename from packages/rspack/tests/configCases/builtins/css-modules-composes-preprocessers/scss-file.scss rename to packages/rspack-test-tools/tests/configCases/builtins/css-modules-composes-preprocessers/scss-file.scss diff --git a/packages/rspack/tests/configCases/builtins/css-modules-composes-preprocessers/values.css b/packages/rspack-test-tools/tests/configCases/builtins/css-modules-composes-preprocessers/values.css similarity index 100% rename from packages/rspack/tests/configCases/builtins/css-modules-composes-preprocessers/values.css rename to packages/rspack-test-tools/tests/configCases/builtins/css-modules-composes-preprocessers/values.css diff --git a/packages/rspack/tests/configCases/builtins/css-modules-composes-preprocessers/webpack.config.js b/packages/rspack-test-tools/tests/configCases/builtins/css-modules-composes-preprocessers/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/css-modules-composes-preprocessers/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/builtins/css-modules-composes-preprocessers/webpack.config.js diff --git a/packages/rspack/tests/configCases/builtins/css-modules-composes-sass/foo.scss b/packages/rspack-test-tools/tests/configCases/builtins/css-modules-composes-sass/foo.scss similarity index 100% rename from packages/rspack/tests/configCases/builtins/css-modules-composes-sass/foo.scss rename to packages/rspack-test-tools/tests/configCases/builtins/css-modules-composes-sass/foo.scss diff --git a/packages/rspack/tests/configCases/builtins/css-modules-composes-sass/index.js b/packages/rspack-test-tools/tests/configCases/builtins/css-modules-composes-sass/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/css-modules-composes-sass/index.js rename to packages/rspack-test-tools/tests/configCases/builtins/css-modules-composes-sass/index.js diff --git a/packages/rspack/tests/configCases/builtins/css-modules-composes-sass/index.scss b/packages/rspack-test-tools/tests/configCases/builtins/css-modules-composes-sass/index.scss similarity index 100% rename from packages/rspack/tests/configCases/builtins/css-modules-composes-sass/index.scss rename to packages/rspack-test-tools/tests/configCases/builtins/css-modules-composes-sass/index.scss diff --git a/packages/rspack/tests/configCases/builtins/css-modules-composes-sass/webpack.config.js b/packages/rspack-test-tools/tests/configCases/builtins/css-modules-composes-sass/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/css-modules-composes-sass/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/builtins/css-modules-composes-sass/webpack.config.js diff --git a/packages/rspack/tests/configCases/builtins/css-modules-composes/imported-simple.css b/packages/rspack-test-tools/tests/configCases/builtins/css-modules-composes/imported-simple.css similarity index 100% rename from packages/rspack/tests/configCases/builtins/css-modules-composes/imported-simple.css rename to packages/rspack-test-tools/tests/configCases/builtins/css-modules-composes/imported-simple.css diff --git a/packages/rspack/tests/configCases/builtins/css-modules-composes/index.css b/packages/rspack-test-tools/tests/configCases/builtins/css-modules-composes/index.css similarity index 100% rename from packages/rspack/tests/configCases/builtins/css-modules-composes/index.css rename to packages/rspack-test-tools/tests/configCases/builtins/css-modules-composes/index.css diff --git a/packages/rspack/tests/configCases/builtins/css-modules-composes/index.js b/packages/rspack-test-tools/tests/configCases/builtins/css-modules-composes/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/css-modules-composes/index.js rename to packages/rspack-test-tools/tests/configCases/builtins/css-modules-composes/index.js diff --git a/packages/rspack/tests/configCases/builtins/css-modules-composes/webpack.config.js b/packages/rspack-test-tools/tests/configCases/builtins/css-modules-composes/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/css-modules-composes/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/builtins/css-modules-composes/webpack.config.js diff --git a/packages/rspack/tests/configCases/builtins/css-modules-dedupe/buttons/button.css b/packages/rspack-test-tools/tests/configCases/builtins/css-modules-dedupe/buttons/button.css similarity index 100% rename from packages/rspack/tests/configCases/builtins/css-modules-dedupe/buttons/button.css rename to packages/rspack-test-tools/tests/configCases/builtins/css-modules-dedupe/buttons/button.css diff --git a/packages/rspack/tests/configCases/builtins/css-modules-dedupe/buttons/primary-button.css b/packages/rspack-test-tools/tests/configCases/builtins/css-modules-dedupe/buttons/primary-button.css similarity index 100% rename from packages/rspack/tests/configCases/builtins/css-modules-dedupe/buttons/primary-button.css rename to packages/rspack-test-tools/tests/configCases/builtins/css-modules-dedupe/buttons/primary-button.css diff --git a/packages/rspack/tests/configCases/builtins/css-modules-dedupe/buttons/secondary-button.css b/packages/rspack-test-tools/tests/configCases/builtins/css-modules-dedupe/buttons/secondary-button.css similarity index 100% rename from packages/rspack/tests/configCases/builtins/css-modules-dedupe/buttons/secondary-button.css rename to packages/rspack-test-tools/tests/configCases/builtins/css-modules-dedupe/buttons/secondary-button.css diff --git a/packages/rspack/tests/configCases/builtins/css-modules-dedupe/index.js b/packages/rspack-test-tools/tests/configCases/builtins/css-modules-dedupe/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/css-modules-dedupe/index.js rename to packages/rspack-test-tools/tests/configCases/builtins/css-modules-dedupe/index.js diff --git a/packages/rspack/tests/configCases/builtins/css-modules-dedupe/source.css b/packages/rspack-test-tools/tests/configCases/builtins/css-modules-dedupe/source.css similarity index 100% rename from packages/rspack/tests/configCases/builtins/css-modules-dedupe/source.css rename to packages/rspack-test-tools/tests/configCases/builtins/css-modules-dedupe/source.css diff --git a/packages/rspack/tests/configCases/builtins/css-modules-dedupe/webpack.config.js b/packages/rspack-test-tools/tests/configCases/builtins/css-modules-dedupe/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/css-modules-dedupe/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/builtins/css-modules-dedupe/webpack.config.js diff --git a/packages/rspack/tests/configCases/builtins/css-modules-exports-only/imported-simple.css b/packages/rspack-test-tools/tests/configCases/builtins/css-modules-exports-only/imported-simple.css similarity index 100% rename from packages/rspack/tests/configCases/builtins/css-modules-exports-only/imported-simple.css rename to packages/rspack-test-tools/tests/configCases/builtins/css-modules-exports-only/imported-simple.css diff --git a/packages/rspack/tests/configCases/builtins/css-modules-exports-only/index.css b/packages/rspack-test-tools/tests/configCases/builtins/css-modules-exports-only/index.css similarity index 100% rename from packages/rspack/tests/configCases/builtins/css-modules-exports-only/index.css rename to packages/rspack-test-tools/tests/configCases/builtins/css-modules-exports-only/index.css diff --git a/packages/rspack/tests/configCases/builtins/css-modules-exports-only/index.js b/packages/rspack-test-tools/tests/configCases/builtins/css-modules-exports-only/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/css-modules-exports-only/index.js rename to packages/rspack-test-tools/tests/configCases/builtins/css-modules-exports-only/index.js diff --git a/packages/rspack/tests/configCases/builtins/css-modules-exports-only/webpack.config.js b/packages/rspack-test-tools/tests/configCases/builtins/css-modules-exports-only/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/css-modules-exports-only/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/builtins/css-modules-exports-only/webpack.config.js diff --git a/packages/rspack/tests/configCases/builtins/css-modules-local-ident-name-hash/index.css b/packages/rspack-test-tools/tests/configCases/builtins/css-modules-local-ident-name-hash/index.css similarity index 100% rename from packages/rspack/tests/configCases/builtins/css-modules-local-ident-name-hash/index.css rename to packages/rspack-test-tools/tests/configCases/builtins/css-modules-local-ident-name-hash/index.css diff --git a/packages/rspack/tests/configCases/builtins/css-modules-local-ident-name-hash/index.js b/packages/rspack-test-tools/tests/configCases/builtins/css-modules-local-ident-name-hash/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/css-modules-local-ident-name-hash/index.js rename to packages/rspack-test-tools/tests/configCases/builtins/css-modules-local-ident-name-hash/index.js diff --git a/packages/rspack/tests/configCases/builtins/css-modules-local-ident-name-hash/webpack.config.js b/packages/rspack-test-tools/tests/configCases/builtins/css-modules-local-ident-name-hash/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/css-modules-local-ident-name-hash/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/builtins/css-modules-local-ident-name-hash/webpack.config.js diff --git a/packages/rspack/tests/configCases/builtins/css-modules-local-ident-name-path/src/index.css b/packages/rspack-test-tools/tests/configCases/builtins/css-modules-local-ident-name-path/src/index.css similarity index 100% rename from packages/rspack/tests/configCases/builtins/css-modules-local-ident-name-path/src/index.css rename to packages/rspack-test-tools/tests/configCases/builtins/css-modules-local-ident-name-path/src/index.css diff --git a/packages/rspack/tests/configCases/builtins/css-modules-local-ident-name-path/src/index.js b/packages/rspack-test-tools/tests/configCases/builtins/css-modules-local-ident-name-path/src/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/css-modules-local-ident-name-path/src/index.js rename to packages/rspack-test-tools/tests/configCases/builtins/css-modules-local-ident-name-path/src/index.js diff --git a/packages/rspack/tests/configCases/builtins/css-modules-local-ident-name-path/webpack.config.js b/packages/rspack-test-tools/tests/configCases/builtins/css-modules-local-ident-name-path/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/css-modules-local-ident-name-path/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/builtins/css-modules-local-ident-name-path/webpack.config.js diff --git a/packages/rspack/tests/configCases/builtins/css-modules-locals-convention-camelCase/index.css b/packages/rspack-test-tools/tests/configCases/builtins/css-modules-locals-convention-camelCase/index.css similarity index 100% rename from packages/rspack/tests/configCases/builtins/css-modules-locals-convention-camelCase/index.css rename to packages/rspack-test-tools/tests/configCases/builtins/css-modules-locals-convention-camelCase/index.css diff --git a/packages/rspack/tests/configCases/builtins/css-modules-locals-convention-camelCase/index.js b/packages/rspack-test-tools/tests/configCases/builtins/css-modules-locals-convention-camelCase/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/css-modules-locals-convention-camelCase/index.js rename to packages/rspack-test-tools/tests/configCases/builtins/css-modules-locals-convention-camelCase/index.js diff --git a/packages/rspack/tests/configCases/builtins/css-modules-locals-convention-camelCase/webpack.config.js b/packages/rspack-test-tools/tests/configCases/builtins/css-modules-locals-convention-camelCase/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/css-modules-locals-convention-camelCase/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/builtins/css-modules-locals-convention-camelCase/webpack.config.js diff --git a/packages/rspack/tests/configCases/builtins/css-modules-locals-convention-camelCaseOnly/index.css b/packages/rspack-test-tools/tests/configCases/builtins/css-modules-locals-convention-camelCaseOnly/index.css similarity index 100% rename from packages/rspack/tests/configCases/builtins/css-modules-locals-convention-camelCaseOnly/index.css rename to packages/rspack-test-tools/tests/configCases/builtins/css-modules-locals-convention-camelCaseOnly/index.css diff --git a/packages/rspack/tests/configCases/builtins/css-modules-locals-convention-camelCaseOnly/index.js b/packages/rspack-test-tools/tests/configCases/builtins/css-modules-locals-convention-camelCaseOnly/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/css-modules-locals-convention-camelCaseOnly/index.js rename to packages/rspack-test-tools/tests/configCases/builtins/css-modules-locals-convention-camelCaseOnly/index.js diff --git a/packages/rspack/tests/configCases/builtins/css-modules-locals-convention-camelCaseOnly/webpack.config.js b/packages/rspack-test-tools/tests/configCases/builtins/css-modules-locals-convention-camelCaseOnly/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/css-modules-locals-convention-camelCaseOnly/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/builtins/css-modules-locals-convention-camelCaseOnly/webpack.config.js diff --git a/packages/rspack/tests/configCases/builtins/css-modules-locals-convention-dashes/index.css b/packages/rspack-test-tools/tests/configCases/builtins/css-modules-locals-convention-dashes/index.css similarity index 100% rename from packages/rspack/tests/configCases/builtins/css-modules-locals-convention-dashes/index.css rename to packages/rspack-test-tools/tests/configCases/builtins/css-modules-locals-convention-dashes/index.css diff --git a/packages/rspack/tests/configCases/builtins/css-modules-locals-convention-dashes/index.js b/packages/rspack-test-tools/tests/configCases/builtins/css-modules-locals-convention-dashes/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/css-modules-locals-convention-dashes/index.js rename to packages/rspack-test-tools/tests/configCases/builtins/css-modules-locals-convention-dashes/index.js diff --git a/packages/rspack/tests/configCases/builtins/css-modules-locals-convention-dashes/webpack.config.js b/packages/rspack-test-tools/tests/configCases/builtins/css-modules-locals-convention-dashes/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/css-modules-locals-convention-dashes/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/builtins/css-modules-locals-convention-dashes/webpack.config.js diff --git a/packages/rspack/tests/configCases/builtins/css-modules-pseudo/index.css b/packages/rspack-test-tools/tests/configCases/builtins/css-modules-pseudo/index.css similarity index 100% rename from packages/rspack/tests/configCases/builtins/css-modules-pseudo/index.css rename to packages/rspack-test-tools/tests/configCases/builtins/css-modules-pseudo/index.css diff --git a/packages/rspack/tests/configCases/builtins/css-modules-pseudo/index.js b/packages/rspack-test-tools/tests/configCases/builtins/css-modules-pseudo/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/css-modules-pseudo/index.js rename to packages/rspack-test-tools/tests/configCases/builtins/css-modules-pseudo/index.js diff --git a/packages/rspack/tests/configCases/builtins/css-modules-pseudo/webpack.config.js b/packages/rspack-test-tools/tests/configCases/builtins/css-modules-pseudo/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/css-modules-pseudo/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/builtins/css-modules-pseudo/webpack.config.js diff --git a/packages/rspack/tests/configCases/builtins/css-modules-simple/index.js b/packages/rspack-test-tools/tests/configCases/builtins/css-modules-simple/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/css-modules-simple/index.js rename to packages/rspack-test-tools/tests/configCases/builtins/css-modules-simple/index.js diff --git a/packages/rspack/tests/configCases/builtins/css-modules-simple/index.module.css b/packages/rspack-test-tools/tests/configCases/builtins/css-modules-simple/index.module.css similarity index 100% rename from packages/rspack/tests/configCases/builtins/css-modules-simple/index.module.css rename to packages/rspack-test-tools/tests/configCases/builtins/css-modules-simple/index.module.css diff --git a/packages/rspack/tests/configCases/builtins/css-modules-simple/webpack.config.js b/packages/rspack-test-tools/tests/configCases/builtins/css-modules-simple/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/css-modules-simple/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/builtins/css-modules-simple/webpack.config.js diff --git a/packages/rspack/tests/configCases/builtins/define/index.js b/packages/rspack-test-tools/tests/configCases/builtins/define/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/define/index.js rename to packages/rspack-test-tools/tests/configCases/builtins/define/index.js diff --git a/packages/rspack/tests/configCases/builtins/define/lib.js b/packages/rspack-test-tools/tests/configCases/builtins/define/lib.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/define/lib.js rename to packages/rspack-test-tools/tests/configCases/builtins/define/lib.js diff --git a/packages/rspack/tests/configCases/builtins/define/webpack.config.js b/packages/rspack-test-tools/tests/configCases/builtins/define/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/define/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/builtins/define/webpack.config.js diff --git a/packages/rspack/tests/configCases/builtins/html-entry-order/index.html b/packages/rspack-test-tools/tests/configCases/builtins/html-entry-order/index.html similarity index 100% rename from packages/rspack/tests/configCases/builtins/html-entry-order/index.html rename to packages/rspack-test-tools/tests/configCases/builtins/html-entry-order/index.html diff --git a/packages/rspack/tests/configCases/builtins/html-entry-order/index.js b/packages/rspack-test-tools/tests/configCases/builtins/html-entry-order/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/html-entry-order/index.js rename to packages/rspack-test-tools/tests/configCases/builtins/html-entry-order/index.js diff --git a/packages/rspack/tests/configCases/builtins/html-entry-order/polyfill.js b/packages/rspack-test-tools/tests/configCases/builtins/html-entry-order/polyfill.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/html-entry-order/polyfill.js rename to packages/rspack-test-tools/tests/configCases/builtins/html-entry-order/polyfill.js diff --git a/packages/rspack/tests/configCases/builtins/html-entry-order/test.config.js b/packages/rspack-test-tools/tests/configCases/builtins/html-entry-order/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/html-entry-order/test.config.js rename to packages/rspack-test-tools/tests/configCases/builtins/html-entry-order/test.config.js diff --git a/packages/rspack/tests/configCases/builtins/html-entry-order/webpack.config.js b/packages/rspack-test-tools/tests/configCases/builtins/html-entry-order/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/html-entry-order/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/builtins/html-entry-order/webpack.config.js diff --git a/packages/rspack/tests/configCases/builtins/html-favicon-absolute-publicpath/favicon.ico b/packages/rspack-test-tools/tests/configCases/builtins/html-favicon-absolute-publicpath/favicon.ico similarity index 100% rename from packages/rspack/tests/configCases/builtins/html-favicon-absolute-publicpath/favicon.ico rename to packages/rspack-test-tools/tests/configCases/builtins/html-favicon-absolute-publicpath/favicon.ico diff --git a/packages/rspack/tests/configCases/builtins/html-favicon-absolute-publicpath/index.js b/packages/rspack-test-tools/tests/configCases/builtins/html-favicon-absolute-publicpath/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/html-favicon-absolute-publicpath/index.js rename to packages/rspack-test-tools/tests/configCases/builtins/html-favicon-absolute-publicpath/index.js diff --git a/packages/rspack/tests/configCases/builtins/html-favicon-absolute-publicpath/webpack.config.js b/packages/rspack-test-tools/tests/configCases/builtins/html-favicon-absolute-publicpath/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/html-favicon-absolute-publicpath/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/builtins/html-favicon-absolute-publicpath/webpack.config.js diff --git a/packages/rspack/tests/configCases/builtins/html-favicon-absolute-subdir-publicpath/index.js b/packages/rspack-test-tools/tests/configCases/builtins/html-favicon-absolute-subdir-publicpath/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/html-favicon-absolute-subdir-publicpath/index.js rename to packages/rspack-test-tools/tests/configCases/builtins/html-favicon-absolute-subdir-publicpath/index.js diff --git a/packages/rspack/tests/configCases/builtins/html-favicon-absolute-subdir-publicpath/static/favicon.ico b/packages/rspack-test-tools/tests/configCases/builtins/html-favicon-absolute-subdir-publicpath/static/favicon.ico similarity index 100% rename from packages/rspack/tests/configCases/builtins/html-favicon-absolute-subdir-publicpath/static/favicon.ico rename to packages/rspack-test-tools/tests/configCases/builtins/html-favicon-absolute-subdir-publicpath/static/favicon.ico diff --git a/packages/rspack/tests/configCases/builtins/html-favicon-absolute-subdir-publicpath/webpack.config.js b/packages/rspack-test-tools/tests/configCases/builtins/html-favicon-absolute-subdir-publicpath/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/html-favicon-absolute-subdir-publicpath/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/builtins/html-favicon-absolute-subdir-publicpath/webpack.config.js diff --git a/packages/rspack/tests/configCases/builtins/html-favicon-absolute-subdir/index.js b/packages/rspack-test-tools/tests/configCases/builtins/html-favicon-absolute-subdir/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/html-favicon-absolute-subdir/index.js rename to packages/rspack-test-tools/tests/configCases/builtins/html-favicon-absolute-subdir/index.js diff --git a/packages/rspack/tests/configCases/builtins/html-favicon-absolute-subdir/static/favicon.ico b/packages/rspack-test-tools/tests/configCases/builtins/html-favicon-absolute-subdir/static/favicon.ico similarity index 100% rename from packages/rspack/tests/configCases/builtins/html-favicon-absolute-subdir/static/favicon.ico rename to packages/rspack-test-tools/tests/configCases/builtins/html-favicon-absolute-subdir/static/favicon.ico diff --git a/packages/rspack/tests/configCases/builtins/html-favicon-absolute-subdir/webpack.config.js b/packages/rspack-test-tools/tests/configCases/builtins/html-favicon-absolute-subdir/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/html-favicon-absolute-subdir/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/builtins/html-favicon-absolute-subdir/webpack.config.js diff --git a/packages/rspack/tests/configCases/builtins/html-favicon-absolute/favicon.ico b/packages/rspack-test-tools/tests/configCases/builtins/html-favicon-absolute/favicon.ico similarity index 100% rename from packages/rspack/tests/configCases/builtins/html-favicon-absolute/favicon.ico rename to packages/rspack-test-tools/tests/configCases/builtins/html-favicon-absolute/favicon.ico diff --git a/packages/rspack/tests/configCases/builtins/html-favicon-absolute/index.js b/packages/rspack-test-tools/tests/configCases/builtins/html-favicon-absolute/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/html-favicon-absolute/index.js rename to packages/rspack-test-tools/tests/configCases/builtins/html-favicon-absolute/index.js diff --git a/packages/rspack/tests/configCases/builtins/html-favicon-absolute/webpack.config.js b/packages/rspack-test-tools/tests/configCases/builtins/html-favicon-absolute/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/html-favicon-absolute/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/builtins/html-favicon-absolute/webpack.config.js diff --git a/packages/rspack/tests/configCases/builtins/html-favicon-relative-publicpath/favicon.ico b/packages/rspack-test-tools/tests/configCases/builtins/html-favicon-relative-publicpath/favicon.ico similarity index 100% rename from packages/rspack/tests/configCases/builtins/html-favicon-relative-publicpath/favicon.ico rename to packages/rspack-test-tools/tests/configCases/builtins/html-favicon-relative-publicpath/favicon.ico diff --git a/packages/rspack/tests/configCases/builtins/html-favicon-relative-publicpath/index.js b/packages/rspack-test-tools/tests/configCases/builtins/html-favicon-relative-publicpath/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/html-favicon-relative-publicpath/index.js rename to packages/rspack-test-tools/tests/configCases/builtins/html-favicon-relative-publicpath/index.js diff --git a/packages/rspack/tests/configCases/builtins/html-favicon-relative-publicpath/webpack.config.js b/packages/rspack-test-tools/tests/configCases/builtins/html-favicon-relative-publicpath/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/html-favicon-relative-publicpath/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/builtins/html-favicon-relative-publicpath/webpack.config.js diff --git a/packages/rspack/tests/configCases/builtins/html-favicon-relative-subdir-publicpath/index.js b/packages/rspack-test-tools/tests/configCases/builtins/html-favicon-relative-subdir-publicpath/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/html-favicon-relative-subdir-publicpath/index.js rename to packages/rspack-test-tools/tests/configCases/builtins/html-favicon-relative-subdir-publicpath/index.js diff --git a/packages/rspack/tests/configCases/builtins/html-favicon-relative-subdir-publicpath/static/favicon.ico b/packages/rspack-test-tools/tests/configCases/builtins/html-favicon-relative-subdir-publicpath/static/favicon.ico similarity index 100% rename from packages/rspack/tests/configCases/builtins/html-favicon-relative-subdir-publicpath/static/favicon.ico rename to packages/rspack-test-tools/tests/configCases/builtins/html-favicon-relative-subdir-publicpath/static/favicon.ico diff --git a/packages/rspack/tests/configCases/builtins/html-favicon-relative-subdir-publicpath/webpack.config.js b/packages/rspack-test-tools/tests/configCases/builtins/html-favicon-relative-subdir-publicpath/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/html-favicon-relative-subdir-publicpath/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/builtins/html-favicon-relative-subdir-publicpath/webpack.config.js diff --git a/packages/rspack/tests/configCases/builtins/html-favicon-relative-subdir/index.js b/packages/rspack-test-tools/tests/configCases/builtins/html-favicon-relative-subdir/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/html-favicon-relative-subdir/index.js rename to packages/rspack-test-tools/tests/configCases/builtins/html-favicon-relative-subdir/index.js diff --git a/packages/rspack/tests/configCases/builtins/html-favicon-relative-subdir/static/favicon.ico b/packages/rspack-test-tools/tests/configCases/builtins/html-favicon-relative-subdir/static/favicon.ico similarity index 100% rename from packages/rspack/tests/configCases/builtins/html-favicon-relative-subdir/static/favicon.ico rename to packages/rspack-test-tools/tests/configCases/builtins/html-favicon-relative-subdir/static/favicon.ico diff --git a/packages/rspack/tests/configCases/builtins/html-favicon-relative-subdir/webpack.config.js b/packages/rspack-test-tools/tests/configCases/builtins/html-favicon-relative-subdir/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/html-favicon-relative-subdir/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/builtins/html-favicon-relative-subdir/webpack.config.js diff --git a/packages/rspack/tests/configCases/builtins/html-favicon-relative/favicon.ico b/packages/rspack-test-tools/tests/configCases/builtins/html-favicon-relative/favicon.ico similarity index 100% rename from packages/rspack/tests/configCases/builtins/html-favicon-relative/favicon.ico rename to packages/rspack-test-tools/tests/configCases/builtins/html-favicon-relative/favicon.ico diff --git a/packages/rspack/tests/configCases/builtins/html-favicon-relative/index.js b/packages/rspack-test-tools/tests/configCases/builtins/html-favicon-relative/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/html-favicon-relative/index.js rename to packages/rspack-test-tools/tests/configCases/builtins/html-favicon-relative/index.js diff --git a/packages/rspack/tests/configCases/builtins/html-favicon-relative/webpack.config.js b/packages/rspack-test-tools/tests/configCases/builtins/html-favicon-relative/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/html-favicon-relative/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/builtins/html-favicon-relative/webpack.config.js diff --git a/packages/rspack/tests/configCases/builtins/html-inject/index.js b/packages/rspack-test-tools/tests/configCases/builtins/html-inject/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/html-inject/index.js rename to packages/rspack-test-tools/tests/configCases/builtins/html-inject/index.js diff --git a/packages/rspack/tests/configCases/builtins/html-inject/webpack.config.js b/packages/rspack-test-tools/tests/configCases/builtins/html-inject/webpack.config.js similarity index 91% rename from packages/rspack/tests/configCases/builtins/html-inject/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/builtins/html-inject/webpack.config.js index 64f69f5c437..01406784d2a 100644 --- a/packages/rspack/tests/configCases/builtins/html-inject/webpack.config.js +++ b/packages/rspack-test-tools/tests/configCases/builtins/html-inject/webpack.config.js @@ -1,4 +1,4 @@ -const { HtmlRspackPlugin } = require("../../../../"); +const { HtmlRspackPlugin } = require("@rspack/core"); module.exports = [ { diff --git a/packages/rspack/tests/configCases/builtins/html-meta/index.js b/packages/rspack-test-tools/tests/configCases/builtins/html-meta/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/html-meta/index.js rename to packages/rspack-test-tools/tests/configCases/builtins/html-meta/index.js diff --git a/packages/rspack/tests/configCases/builtins/html-meta/webpack.config.js b/packages/rspack-test-tools/tests/configCases/builtins/html-meta/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/html-meta/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/builtins/html-meta/webpack.config.js diff --git a/packages/rspack/tests/configCases/builtins/html-minify/index.html b/packages/rspack-test-tools/tests/configCases/builtins/html-minify/index.html similarity index 100% rename from packages/rspack/tests/configCases/builtins/html-minify/index.html rename to packages/rspack-test-tools/tests/configCases/builtins/html-minify/index.html diff --git a/packages/rspack/tests/configCases/builtins/html-minify/index.js b/packages/rspack-test-tools/tests/configCases/builtins/html-minify/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/html-minify/index.js rename to packages/rspack-test-tools/tests/configCases/builtins/html-minify/index.js diff --git a/packages/rspack/tests/configCases/builtins/html-minify/webpack.config.js b/packages/rspack-test-tools/tests/configCases/builtins/html-minify/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/html-minify/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/builtins/html-minify/webpack.config.js diff --git a/packages/rspack/tests/configCases/builtins/html-public-path-auto/index.js b/packages/rspack-test-tools/tests/configCases/builtins/html-public-path-auto/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/html-public-path-auto/index.js rename to packages/rspack-test-tools/tests/configCases/builtins/html-public-path-auto/index.js diff --git a/packages/rspack/tests/configCases/builtins/html-public-path-auto/webpack.config.js b/packages/rspack-test-tools/tests/configCases/builtins/html-public-path-auto/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/html-public-path-auto/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/builtins/html-public-path-auto/webpack.config.js diff --git a/packages/rspack/tests/configCases/builtins/html-template-content/index.js b/packages/rspack-test-tools/tests/configCases/builtins/html-template-content/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/html-template-content/index.js rename to packages/rspack-test-tools/tests/configCases/builtins/html-template-content/index.js diff --git a/packages/rspack/tests/configCases/builtins/html-template-content/webpack.config.js b/packages/rspack-test-tools/tests/configCases/builtins/html-template-content/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/html-template-content/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/builtins/html-template-content/webpack.config.js diff --git a/packages/rspack/tests/configCases/builtins/html-with-output-public-path/index.js b/packages/rspack-test-tools/tests/configCases/builtins/html-with-output-public-path/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/html-with-output-public-path/index.js rename to packages/rspack-test-tools/tests/configCases/builtins/html-with-output-public-path/index.js diff --git a/packages/rspack/tests/configCases/builtins/html-with-output-public-path/webpack.config.js b/packages/rspack-test-tools/tests/configCases/builtins/html-with-output-public-path/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/html-with-output-public-path/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/builtins/html-with-output-public-path/webpack.config.js diff --git a/packages/rspack/tests/configCases/builtins/ignore-plugin/index.js b/packages/rspack-test-tools/tests/configCases/builtins/ignore-plugin/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/ignore-plugin/index.js rename to packages/rspack-test-tools/tests/configCases/builtins/ignore-plugin/index.js diff --git a/packages/rspack/tests/configCases/builtins/ignore-plugin/test-ignore/a.js b/packages/rspack-test-tools/tests/configCases/builtins/ignore-plugin/test-ignore/a.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/ignore-plugin/test-ignore/a.js rename to packages/rspack-test-tools/tests/configCases/builtins/ignore-plugin/test-ignore/a.js diff --git a/packages/rspack/tests/configCases/builtins/ignore-plugin/test-ignore/b.js b/packages/rspack-test-tools/tests/configCases/builtins/ignore-plugin/test-ignore/b.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/ignore-plugin/test-ignore/b.js rename to packages/rspack-test-tools/tests/configCases/builtins/ignore-plugin/test-ignore/b.js diff --git a/packages/rspack/tests/configCases/builtins/ignore-plugin/test-ignore/c.js b/packages/rspack-test-tools/tests/configCases/builtins/ignore-plugin/test-ignore/c.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/ignore-plugin/test-ignore/c.js rename to packages/rspack-test-tools/tests/configCases/builtins/ignore-plugin/test-ignore/c.js diff --git a/packages/rspack/tests/configCases/builtins/ignore-plugin/test-ignore/d.js b/packages/rspack-test-tools/tests/configCases/builtins/ignore-plugin/test-ignore/d.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/ignore-plugin/test-ignore/d.js rename to packages/rspack-test-tools/tests/configCases/builtins/ignore-plugin/test-ignore/d.js diff --git a/packages/rspack/tests/configCases/builtins/ignore-plugin/webpack.config.js b/packages/rspack-test-tools/tests/configCases/builtins/ignore-plugin/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/ignore-plugin/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/builtins/ignore-plugin/webpack.config.js diff --git a/packages/rspack/tests/configCases/builtins/minify-ascii-only/a.js b/packages/rspack-test-tools/tests/configCases/builtins/minify-ascii-only/a.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/minify-ascii-only/a.js rename to packages/rspack-test-tools/tests/configCases/builtins/minify-ascii-only/a.js diff --git a/packages/rspack/tests/configCases/builtins/minify-ascii-only/index.js b/packages/rspack-test-tools/tests/configCases/builtins/minify-ascii-only/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/minify-ascii-only/index.js rename to packages/rspack-test-tools/tests/configCases/builtins/minify-ascii-only/index.js diff --git a/packages/rspack/tests/configCases/builtins/minify-ascii-only/test.config.js b/packages/rspack-test-tools/tests/configCases/builtins/minify-ascii-only/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/minify-ascii-only/test.config.js rename to packages/rspack-test-tools/tests/configCases/builtins/minify-ascii-only/test.config.js diff --git a/packages/rspack/tests/configCases/builtins/minify-ascii-only/webpack.config.js b/packages/rspack-test-tools/tests/configCases/builtins/minify-ascii-only/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/minify-ascii-only/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/builtins/minify-ascii-only/webpack.config.js diff --git a/packages/rspack/tests/configCases/builtins/minify-comment-all/a.js b/packages/rspack-test-tools/tests/configCases/builtins/minify-comment-all/a.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/minify-comment-all/a.js rename to packages/rspack-test-tools/tests/configCases/builtins/minify-comment-all/a.js diff --git a/packages/rspack/tests/configCases/builtins/minify-comment-all/index.js b/packages/rspack-test-tools/tests/configCases/builtins/minify-comment-all/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/minify-comment-all/index.js rename to packages/rspack-test-tools/tests/configCases/builtins/minify-comment-all/index.js diff --git a/packages/rspack/tests/configCases/builtins/minify-comment-all/test.config.js b/packages/rspack-test-tools/tests/configCases/builtins/minify-comment-all/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/minify-comment-all/test.config.js rename to packages/rspack-test-tools/tests/configCases/builtins/minify-comment-all/test.config.js diff --git a/packages/rspack/tests/configCases/builtins/minify-comment-all/webpack.config.js b/packages/rspack-test-tools/tests/configCases/builtins/minify-comment-all/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/minify-comment-all/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/builtins/minify-comment-all/webpack.config.js diff --git a/packages/rspack/tests/configCases/builtins/minify-comment-default-false/a.js b/packages/rspack-test-tools/tests/configCases/builtins/minify-comment-default-false/a.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/minify-comment-default-false/a.js rename to packages/rspack-test-tools/tests/configCases/builtins/minify-comment-default-false/a.js diff --git a/packages/rspack/tests/configCases/builtins/minify-comment-default-false/index.js b/packages/rspack-test-tools/tests/configCases/builtins/minify-comment-default-false/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/minify-comment-default-false/index.js rename to packages/rspack-test-tools/tests/configCases/builtins/minify-comment-default-false/index.js diff --git a/packages/rspack/tests/configCases/builtins/minify-comment-default-false/test.config.js b/packages/rspack-test-tools/tests/configCases/builtins/minify-comment-default-false/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/minify-comment-default-false/test.config.js rename to packages/rspack-test-tools/tests/configCases/builtins/minify-comment-default-false/test.config.js diff --git a/packages/rspack/tests/configCases/builtins/minify-comment-default-false/webpack.config.js b/packages/rspack-test-tools/tests/configCases/builtins/minify-comment-default-false/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/minify-comment-default-false/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/builtins/minify-comment-default-false/webpack.config.js diff --git a/packages/rspack/tests/configCases/builtins/minify-comment-some/a.js b/packages/rspack-test-tools/tests/configCases/builtins/minify-comment-some/a.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/minify-comment-some/a.js rename to packages/rspack-test-tools/tests/configCases/builtins/minify-comment-some/a.js diff --git a/packages/rspack/tests/configCases/builtins/minify-comment-some/index.js b/packages/rspack-test-tools/tests/configCases/builtins/minify-comment-some/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/minify-comment-some/index.js rename to packages/rspack-test-tools/tests/configCases/builtins/minify-comment-some/index.js diff --git a/packages/rspack/tests/configCases/builtins/minify-comment-some/test.config.js b/packages/rspack-test-tools/tests/configCases/builtins/minify-comment-some/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/minify-comment-some/test.config.js rename to packages/rspack-test-tools/tests/configCases/builtins/minify-comment-some/test.config.js diff --git a/packages/rspack/tests/configCases/builtins/minify-comment-some/webpack.config.js b/packages/rspack-test-tools/tests/configCases/builtins/minify-comment-some/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/minify-comment-some/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/builtins/minify-comment-some/webpack.config.js diff --git a/packages/rspack/tests/configCases/builtins/minify-drop-console/index.js b/packages/rspack-test-tools/tests/configCases/builtins/minify-drop-console/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/minify-drop-console/index.js rename to packages/rspack-test-tools/tests/configCases/builtins/minify-drop-console/index.js diff --git a/packages/rspack/tests/configCases/builtins/minify-drop-console/webpack.config.js b/packages/rspack-test-tools/tests/configCases/builtins/minify-drop-console/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/minify-drop-console/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/builtins/minify-drop-console/webpack.config.js diff --git a/packages/rspack/tests/configCases/builtins/minify-exclude/a.js b/packages/rspack-test-tools/tests/configCases/builtins/minify-exclude/a.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/minify-exclude/a.js rename to packages/rspack-test-tools/tests/configCases/builtins/minify-exclude/a.js diff --git a/packages/rspack/tests/configCases/builtins/minify-exclude/b.js b/packages/rspack-test-tools/tests/configCases/builtins/minify-exclude/b.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/minify-exclude/b.js rename to packages/rspack-test-tools/tests/configCases/builtins/minify-exclude/b.js diff --git a/packages/rspack/tests/configCases/builtins/minify-exclude/index.js b/packages/rspack-test-tools/tests/configCases/builtins/minify-exclude/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/minify-exclude/index.js rename to packages/rspack-test-tools/tests/configCases/builtins/minify-exclude/index.js diff --git a/packages/rspack/tests/configCases/builtins/minify-exclude/test.config.js b/packages/rspack-test-tools/tests/configCases/builtins/minify-exclude/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/minify-exclude/test.config.js rename to packages/rspack-test-tools/tests/configCases/builtins/minify-exclude/test.config.js diff --git a/packages/rspack/tests/configCases/builtins/minify-exclude/webpack.config.js b/packages/rspack-test-tools/tests/configCases/builtins/minify-exclude/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/minify-exclude/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/builtins/minify-exclude/webpack.config.js diff --git a/packages/rspack/tests/configCases/builtins/minify-extract-comments/index.js b/packages/rspack-test-tools/tests/configCases/builtins/minify-extract-comments/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/minify-extract-comments/index.js rename to packages/rspack-test-tools/tests/configCases/builtins/minify-extract-comments/index.js diff --git a/packages/rspack/tests/configCases/builtins/minify-extract-comments/webpack.config.js b/packages/rspack-test-tools/tests/configCases/builtins/minify-extract-comments/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/minify-extract-comments/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/builtins/minify-extract-comments/webpack.config.js diff --git a/packages/rspack/tests/configCases/builtins/minify-include/a.js b/packages/rspack-test-tools/tests/configCases/builtins/minify-include/a.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/minify-include/a.js rename to packages/rspack-test-tools/tests/configCases/builtins/minify-include/a.js diff --git a/packages/rspack/tests/configCases/builtins/minify-include/b.js b/packages/rspack-test-tools/tests/configCases/builtins/minify-include/b.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/minify-include/b.js rename to packages/rspack-test-tools/tests/configCases/builtins/minify-include/b.js diff --git a/packages/rspack/tests/configCases/builtins/minify-include/index.js b/packages/rspack-test-tools/tests/configCases/builtins/minify-include/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/minify-include/index.js rename to packages/rspack-test-tools/tests/configCases/builtins/minify-include/index.js diff --git a/packages/rspack/tests/configCases/builtins/minify-include/test.config.js b/packages/rspack-test-tools/tests/configCases/builtins/minify-include/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/minify-include/test.config.js rename to packages/rspack-test-tools/tests/configCases/builtins/minify-include/test.config.js diff --git a/packages/rspack/tests/configCases/builtins/minify-include/webpack.config.js b/packages/rspack-test-tools/tests/configCases/builtins/minify-include/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/minify-include/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/builtins/minify-include/webpack.config.js diff --git a/packages/rspack/tests/configCases/builtins/minify-keep-classnames/index.js b/packages/rspack-test-tools/tests/configCases/builtins/minify-keep-classnames/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/minify-keep-classnames/index.js rename to packages/rspack-test-tools/tests/configCases/builtins/minify-keep-classnames/index.js diff --git a/packages/rspack/tests/configCases/builtins/minify-keep-classnames/webpack.config.js b/packages/rspack-test-tools/tests/configCases/builtins/minify-keep-classnames/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/minify-keep-classnames/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/builtins/minify-keep-classnames/webpack.config.js diff --git a/packages/rspack/tests/configCases/builtins/minify-keep-fn-names/index.js b/packages/rspack-test-tools/tests/configCases/builtins/minify-keep-fn-names/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/minify-keep-fn-names/index.js rename to packages/rspack-test-tools/tests/configCases/builtins/minify-keep-fn-names/index.js diff --git a/packages/rspack/tests/configCases/builtins/minify-keep-fn-names/webpack.config.js b/packages/rspack-test-tools/tests/configCases/builtins/minify-keep-fn-names/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/minify-keep-fn-names/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/builtins/minify-keep-fn-names/webpack.config.js diff --git a/packages/rspack/tests/configCases/builtins/minify-pure-funcs/index.js b/packages/rspack-test-tools/tests/configCases/builtins/minify-pure-funcs/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/minify-pure-funcs/index.js rename to packages/rspack-test-tools/tests/configCases/builtins/minify-pure-funcs/index.js diff --git a/packages/rspack/tests/configCases/builtins/minify-pure-funcs/webpack.config.js b/packages/rspack-test-tools/tests/configCases/builtins/minify-pure-funcs/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/minify-pure-funcs/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/builtins/minify-pure-funcs/webpack.config.js diff --git a/packages/rspack/tests/configCases/builtins/minify-test/a.js b/packages/rspack-test-tools/tests/configCases/builtins/minify-test/a.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/minify-test/a.js rename to packages/rspack-test-tools/tests/configCases/builtins/minify-test/a.js diff --git a/packages/rspack/tests/configCases/builtins/minify-test/a2.js b/packages/rspack-test-tools/tests/configCases/builtins/minify-test/a2.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/minify-test/a2.js rename to packages/rspack-test-tools/tests/configCases/builtins/minify-test/a2.js diff --git a/packages/rspack/tests/configCases/builtins/minify-test/b.js b/packages/rspack-test-tools/tests/configCases/builtins/minify-test/b.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/minify-test/b.js rename to packages/rspack-test-tools/tests/configCases/builtins/minify-test/b.js diff --git a/packages/rspack/tests/configCases/builtins/minify-test/index.js b/packages/rspack-test-tools/tests/configCases/builtins/minify-test/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/minify-test/index.js rename to packages/rspack-test-tools/tests/configCases/builtins/minify-test/index.js diff --git a/packages/rspack/tests/configCases/builtins/minify-test/test.config.js b/packages/rspack-test-tools/tests/configCases/builtins/minify-test/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/minify-test/test.config.js rename to packages/rspack-test-tools/tests/configCases/builtins/minify-test/test.config.js diff --git a/packages/rspack/tests/configCases/builtins/minify-test/webpack.config.js b/packages/rspack-test-tools/tests/configCases/builtins/minify-test/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/minify-test/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/builtins/minify-test/webpack.config.js diff --git a/packages/rspack/tests/configCases/builtins/minify-with-boolean/index.css b/packages/rspack-test-tools/tests/configCases/builtins/minify-with-boolean/index.css similarity index 100% rename from packages/rspack/tests/configCases/builtins/minify-with-boolean/index.css rename to packages/rspack-test-tools/tests/configCases/builtins/minify-with-boolean/index.css diff --git a/packages/rspack/tests/configCases/builtins/minify-with-boolean/index.js b/packages/rspack-test-tools/tests/configCases/builtins/minify-with-boolean/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/minify-with-boolean/index.js rename to packages/rspack-test-tools/tests/configCases/builtins/minify-with-boolean/index.js diff --git a/packages/rspack/tests/configCases/builtins/minify-with-boolean/webpack.config.js b/packages/rspack-test-tools/tests/configCases/builtins/minify-with-boolean/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/minify-with-boolean/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/builtins/minify-with-boolean/webpack.config.js diff --git a/packages/rspack/tests/configCases/builtins/minify-with-query/index.css b/packages/rspack-test-tools/tests/configCases/builtins/minify-with-query/index.css similarity index 100% rename from packages/rspack/tests/configCases/builtins/minify-with-query/index.css rename to packages/rspack-test-tools/tests/configCases/builtins/minify-with-query/index.css diff --git a/packages/rspack/tests/configCases/builtins/minify-with-query/index.js b/packages/rspack-test-tools/tests/configCases/builtins/minify-with-query/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/minify-with-query/index.js rename to packages/rspack-test-tools/tests/configCases/builtins/minify-with-query/index.js diff --git a/packages/rspack/tests/configCases/builtins/minify-with-query/webpack.config.js b/packages/rspack-test-tools/tests/configCases/builtins/minify-with-query/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/minify-with-query/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/builtins/minify-with-query/webpack.config.js diff --git a/packages/rspack/tests/configCases/builtins/minify/index.css b/packages/rspack-test-tools/tests/configCases/builtins/minify/index.css similarity index 100% rename from packages/rspack/tests/configCases/builtins/minify/index.css rename to packages/rspack-test-tools/tests/configCases/builtins/minify/index.css diff --git a/packages/rspack/tests/configCases/builtins/minify/index.js b/packages/rspack-test-tools/tests/configCases/builtins/minify/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/minify/index.js rename to packages/rspack-test-tools/tests/configCases/builtins/minify/index.js diff --git a/packages/rspack/tests/configCases/builtins/minify/webpack.config.js b/packages/rspack-test-tools/tests/configCases/builtins/minify/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/minify/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/builtins/minify/webpack.config.js diff --git a/packages/rspack/tests/configCases/builtins/node-externals/index.js b/packages/rspack-test-tools/tests/configCases/builtins/node-externals/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/node-externals/index.js rename to packages/rspack-test-tools/tests/configCases/builtins/node-externals/index.js diff --git a/packages/rspack/tests/configCases/builtins/node-externals/webpack.config.js b/packages/rspack-test-tools/tests/configCases/builtins/node-externals/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/node-externals/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/builtins/node-externals/webpack.config.js diff --git a/packages/rspack/tests/configCases/builtins/provide/a.js b/packages/rspack-test-tools/tests/configCases/builtins/provide/a.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/provide/a.js rename to packages/rspack-test-tools/tests/configCases/builtins/provide/a.js diff --git a/packages/rspack/tests/configCases/builtins/provide/aaa.js b/packages/rspack-test-tools/tests/configCases/builtins/provide/aaa.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/provide/aaa.js rename to packages/rspack-test-tools/tests/configCases/builtins/provide/aaa.js diff --git a/packages/rspack/tests/configCases/builtins/provide/b.js b/packages/rspack-test-tools/tests/configCases/builtins/provide/b.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/provide/b.js rename to packages/rspack-test-tools/tests/configCases/builtins/provide/b.js diff --git a/packages/rspack/tests/configCases/builtins/provide/bbbccc.js b/packages/rspack-test-tools/tests/configCases/builtins/provide/bbbccc.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/provide/bbbccc.js rename to packages/rspack-test-tools/tests/configCases/builtins/provide/bbbccc.js diff --git a/packages/rspack/tests/configCases/builtins/provide/ddd.js b/packages/rspack-test-tools/tests/configCases/builtins/provide/ddd.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/provide/ddd.js rename to packages/rspack-test-tools/tests/configCases/builtins/provide/ddd.js diff --git a/packages/rspack/tests/configCases/builtins/provide/env.js b/packages/rspack-test-tools/tests/configCases/builtins/provide/env.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/provide/env.js rename to packages/rspack-test-tools/tests/configCases/builtins/provide/env.js diff --git a/packages/rspack/tests/configCases/builtins/provide/esm.js b/packages/rspack-test-tools/tests/configCases/builtins/provide/esm.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/provide/esm.js rename to packages/rspack-test-tools/tests/configCases/builtins/provide/esm.js diff --git a/packages/rspack/tests/configCases/builtins/provide/foo.mjs b/packages/rspack-test-tools/tests/configCases/builtins/provide/foo.mjs similarity index 100% rename from packages/rspack/tests/configCases/builtins/provide/foo.mjs rename to packages/rspack-test-tools/tests/configCases/builtins/provide/foo.mjs diff --git a/packages/rspack/tests/configCases/builtins/provide/harmony.js b/packages/rspack-test-tools/tests/configCases/builtins/provide/harmony.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/provide/harmony.js rename to packages/rspack-test-tools/tests/configCases/builtins/provide/harmony.js diff --git a/packages/rspack/tests/configCases/builtins/provide/harmony2.js b/packages/rspack-test-tools/tests/configCases/builtins/provide/harmony2.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/provide/harmony2.js rename to packages/rspack-test-tools/tests/configCases/builtins/provide/harmony2.js diff --git a/packages/rspack/tests/configCases/builtins/provide/index.js b/packages/rspack-test-tools/tests/configCases/builtins/provide/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/provide/index.js rename to packages/rspack-test-tools/tests/configCases/builtins/provide/index.js diff --git a/packages/rspack/tests/configCases/builtins/provide/process.js b/packages/rspack-test-tools/tests/configCases/builtins/provide/process.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/provide/process.js rename to packages/rspack-test-tools/tests/configCases/builtins/provide/process.js diff --git a/packages/rspack/tests/configCases/builtins/provide/webpack.config.js b/packages/rspack-test-tools/tests/configCases/builtins/provide/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/provide/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/builtins/provide/webpack.config.js diff --git a/packages/rspack/tests/configCases/builtins/should_not_warn_export_destructring/a.js b/packages/rspack-test-tools/tests/configCases/builtins/should_not_warn_export_destructring/a.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/should_not_warn_export_destructring/a.js rename to packages/rspack-test-tools/tests/configCases/builtins/should_not_warn_export_destructring/a.js diff --git a/packages/rspack/tests/configCases/builtins/should_not_warn_export_destructring/index.js b/packages/rspack-test-tools/tests/configCases/builtins/should_not_warn_export_destructring/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/should_not_warn_export_destructring/index.js rename to packages/rspack-test-tools/tests/configCases/builtins/should_not_warn_export_destructring/index.js diff --git a/packages/rspack/tests/configCases/builtins/should_not_warn_export_destructring/warning.js b/packages/rspack-test-tools/tests/configCases/builtins/should_not_warn_export_destructring/warning.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/should_not_warn_export_destructring/warning.js rename to packages/rspack-test-tools/tests/configCases/builtins/should_not_warn_export_destructring/warning.js diff --git a/packages/rspack/tests/configCases/builtins/should_not_warn_export_destructring/webpack.config.js b/packages/rspack-test-tools/tests/configCases/builtins/should_not_warn_export_destructring/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/should_not_warn_export_destructring/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/builtins/should_not_warn_export_destructring/webpack.config.js diff --git a/packages/rspack/tests/configCases/builtins/should_not_warn_when_commjs_not_export/a.js b/packages/rspack-test-tools/tests/configCases/builtins/should_not_warn_when_commjs_not_export/a.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/should_not_warn_when_commjs_not_export/a.js rename to packages/rspack-test-tools/tests/configCases/builtins/should_not_warn_when_commjs_not_export/a.js diff --git a/packages/rspack/tests/configCases/builtins/should_not_warn_when_commjs_not_export/index.js b/packages/rspack-test-tools/tests/configCases/builtins/should_not_warn_when_commjs_not_export/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/should_not_warn_when_commjs_not_export/index.js rename to packages/rspack-test-tools/tests/configCases/builtins/should_not_warn_when_commjs_not_export/index.js diff --git a/packages/rspack/tests/configCases/builtins/should_not_warn_when_commjs_not_export/warning.js b/packages/rspack-test-tools/tests/configCases/builtins/should_not_warn_when_commjs_not_export/warning.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/should_not_warn_when_commjs_not_export/warning.js rename to packages/rspack-test-tools/tests/configCases/builtins/should_not_warn_when_commjs_not_export/warning.js diff --git a/packages/rspack/tests/configCases/builtins/should_not_warn_when_commjs_not_export/webpack.config.js b/packages/rspack-test-tools/tests/configCases/builtins/should_not_warn_when_commjs_not_export/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/should_not_warn_when_commjs_not_export/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/builtins/should_not_warn_when_commjs_not_export/webpack.config.js diff --git a/packages/rspack/tests/configCases/builtins/should_not_warn_when_src_format_is_umd/a.js b/packages/rspack-test-tools/tests/configCases/builtins/should_not_warn_when_src_format_is_umd/a.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/should_not_warn_when_src_format_is_umd/a.js rename to packages/rspack-test-tools/tests/configCases/builtins/should_not_warn_when_src_format_is_umd/a.js diff --git a/packages/rspack/tests/configCases/builtins/should_not_warn_when_src_format_is_umd/index.js b/packages/rspack-test-tools/tests/configCases/builtins/should_not_warn_when_src_format_is_umd/index.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/should_not_warn_when_src_format_is_umd/index.js rename to packages/rspack-test-tools/tests/configCases/builtins/should_not_warn_when_src_format_is_umd/index.js diff --git a/packages/rspack/tests/configCases/builtins/should_not_warn_when_src_format_is_umd/warning.js b/packages/rspack-test-tools/tests/configCases/builtins/should_not_warn_when_src_format_is_umd/warning.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/should_not_warn_when_src_format_is_umd/warning.js rename to packages/rspack-test-tools/tests/configCases/builtins/should_not_warn_when_src_format_is_umd/warning.js diff --git a/packages/rspack/tests/configCases/builtins/should_not_warn_when_src_format_is_umd/webpack.config.js b/packages/rspack-test-tools/tests/configCases/builtins/should_not_warn_when_src_format_is_umd/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/builtins/should_not_warn_when_src_format_is_umd/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/builtins/should_not_warn_when_src_format_is_umd/webpack.config.js diff --git a/packages/rspack/tests/configCases/cache/issuse-3254/a/a.js b/packages/rspack-test-tools/tests/configCases/cache/issuse-3254/a/a.js similarity index 100% rename from packages/rspack/tests/configCases/cache/issuse-3254/a/a.js rename to packages/rspack-test-tools/tests/configCases/cache/issuse-3254/a/a.js diff --git a/packages/rspack/tests/configCases/cache/issuse-3254/index.js b/packages/rspack-test-tools/tests/configCases/cache/issuse-3254/index.js similarity index 100% rename from packages/rspack/tests/configCases/cache/issuse-3254/index.js rename to packages/rspack-test-tools/tests/configCases/cache/issuse-3254/index.js diff --git a/packages/rspack/tests/configCases/cache/issuse-3254/webpack.config.js b/packages/rspack-test-tools/tests/configCases/cache/issuse-3254/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/cache/issuse-3254/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/cache/issuse-3254/webpack.config.js diff --git a/packages/rspack/tests/configCases/chunk-index/available-modules-order-index/A.js b/packages/rspack-test-tools/tests/configCases/chunk-index/available-modules-order-index/A.js similarity index 100% rename from packages/rspack/tests/configCases/chunk-index/available-modules-order-index/A.js rename to packages/rspack-test-tools/tests/configCases/chunk-index/available-modules-order-index/A.js diff --git a/packages/rspack/tests/configCases/chunk-index/available-modules-order-index/B-2.js b/packages/rspack-test-tools/tests/configCases/chunk-index/available-modules-order-index/B-2.js similarity index 100% rename from packages/rspack/tests/configCases/chunk-index/available-modules-order-index/B-2.js rename to packages/rspack-test-tools/tests/configCases/chunk-index/available-modules-order-index/B-2.js diff --git a/packages/rspack/tests/configCases/chunk-index/available-modules-order-index/B.js b/packages/rspack-test-tools/tests/configCases/chunk-index/available-modules-order-index/B.js similarity index 100% rename from packages/rspack/tests/configCases/chunk-index/available-modules-order-index/B.js rename to packages/rspack-test-tools/tests/configCases/chunk-index/available-modules-order-index/B.js diff --git a/packages/rspack/tests/configCases/chunk-index/available-modules-order-index/m.css b/packages/rspack-test-tools/tests/configCases/chunk-index/available-modules-order-index/m.css similarity index 100% rename from packages/rspack/tests/configCases/chunk-index/available-modules-order-index/m.css rename to packages/rspack-test-tools/tests/configCases/chunk-index/available-modules-order-index/m.css diff --git a/packages/rspack/tests/configCases/chunk-index/available-modules-order-index/main.js b/packages/rspack-test-tools/tests/configCases/chunk-index/available-modules-order-index/main.js similarity index 100% rename from packages/rspack/tests/configCases/chunk-index/available-modules-order-index/main.js rename to packages/rspack-test-tools/tests/configCases/chunk-index/available-modules-order-index/main.js diff --git a/packages/rspack/tests/configCases/chunk-index/available-modules-order-index/n.css b/packages/rspack-test-tools/tests/configCases/chunk-index/available-modules-order-index/n.css similarity index 100% rename from packages/rspack/tests/configCases/chunk-index/available-modules-order-index/n.css rename to packages/rspack-test-tools/tests/configCases/chunk-index/available-modules-order-index/n.css diff --git a/packages/rspack/tests/configCases/chunk-index/available-modules-order-index/shared.js b/packages/rspack-test-tools/tests/configCases/chunk-index/available-modules-order-index/shared.js similarity index 100% rename from packages/rspack/tests/configCases/chunk-index/available-modules-order-index/shared.js rename to packages/rspack-test-tools/tests/configCases/chunk-index/available-modules-order-index/shared.js diff --git a/packages/rspack/tests/configCases/chunk-index/available-modules-order-index/test.config.js b/packages/rspack-test-tools/tests/configCases/chunk-index/available-modules-order-index/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/chunk-index/available-modules-order-index/test.config.js rename to packages/rspack-test-tools/tests/configCases/chunk-index/available-modules-order-index/test.config.js diff --git a/packages/rspack/tests/configCases/chunk-index/available-modules-order-index/webpack.config.js b/packages/rspack-test-tools/tests/configCases/chunk-index/available-modules-order-index/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/chunk-index/available-modules-order-index/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/chunk-index/available-modules-order-index/webpack.config.js diff --git a/packages/rspack/tests/configCases/chunk-loading/chunk-name/a.js b/packages/rspack-test-tools/tests/configCases/chunk-loading/chunk-name/a.js similarity index 100% rename from packages/rspack/tests/configCases/chunk-loading/chunk-name/a.js rename to packages/rspack-test-tools/tests/configCases/chunk-loading/chunk-name/a.js diff --git a/packages/rspack/tests/configCases/chunk-loading/chunk-name/index.js b/packages/rspack-test-tools/tests/configCases/chunk-loading/chunk-name/index.js similarity index 100% rename from packages/rspack/tests/configCases/chunk-loading/chunk-name/index.js rename to packages/rspack-test-tools/tests/configCases/chunk-loading/chunk-name/index.js diff --git a/packages/rspack/tests/configCases/chunk-loading/chunk-name/test.config.js b/packages/rspack-test-tools/tests/configCases/chunk-loading/chunk-name/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/chunk-loading/chunk-name/test.config.js rename to packages/rspack-test-tools/tests/configCases/chunk-loading/chunk-name/test.config.js diff --git a/packages/rspack/tests/configCases/chunk-loading/chunk-name/webpack.config.js b/packages/rspack-test-tools/tests/configCases/chunk-loading/chunk-name/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/chunk-loading/chunk-name/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/chunk-loading/chunk-name/webpack.config.js diff --git a/packages/rspack/tests/configCases/chunk-loading/false/dynamic.js b/packages/rspack-test-tools/tests/configCases/chunk-loading/false/dynamic.js similarity index 100% rename from packages/rspack/tests/configCases/chunk-loading/false/dynamic.js rename to packages/rspack-test-tools/tests/configCases/chunk-loading/false/dynamic.js diff --git a/packages/rspack/tests/configCases/chunk-loading/false/index.js b/packages/rspack-test-tools/tests/configCases/chunk-loading/false/index.js similarity index 100% rename from packages/rspack/tests/configCases/chunk-loading/false/index.js rename to packages/rspack-test-tools/tests/configCases/chunk-loading/false/index.js diff --git a/packages/rspack/tests/configCases/chunk-loading/false/webpack.config.js b/packages/rspack-test-tools/tests/configCases/chunk-loading/false/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/chunk-loading/false/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/chunk-loading/false/webpack.config.js diff --git a/packages/rspack/tests/configCases/chunk-loading/issue-3896/file/a.js b/packages/rspack-test-tools/tests/configCases/chunk-loading/issue-3896/file/a.js similarity index 100% rename from packages/rspack/tests/configCases/chunk-loading/issue-3896/file/a.js rename to packages/rspack-test-tools/tests/configCases/chunk-loading/issue-3896/file/a.js diff --git a/packages/rspack/tests/configCases/chunk-loading/issue-3896/index.js b/packages/rspack-test-tools/tests/configCases/chunk-loading/issue-3896/index.js similarity index 100% rename from packages/rspack/tests/configCases/chunk-loading/issue-3896/index.js rename to packages/rspack-test-tools/tests/configCases/chunk-loading/issue-3896/index.js diff --git a/packages/rspack/tests/configCases/chunk-loading/issue-3896/webpack.config.js b/packages/rspack-test-tools/tests/configCases/chunk-loading/issue-3896/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/chunk-loading/issue-3896/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/chunk-loading/issue-3896/webpack.config.js diff --git a/packages/rspack/tests/configCases/chunk-loading/issue-4754/child-entry.js b/packages/rspack-test-tools/tests/configCases/chunk-loading/issue-4754/child-entry.js similarity index 100% rename from packages/rspack/tests/configCases/chunk-loading/issue-4754/child-entry.js rename to packages/rspack-test-tools/tests/configCases/chunk-loading/issue-4754/child-entry.js diff --git a/packages/rspack/tests/configCases/chunk-loading/issue-4754/index.js b/packages/rspack-test-tools/tests/configCases/chunk-loading/issue-4754/index.js similarity index 100% rename from packages/rspack/tests/configCases/chunk-loading/issue-4754/index.js rename to packages/rspack-test-tools/tests/configCases/chunk-loading/issue-4754/index.js diff --git a/packages/rspack/tests/configCases/chunk-loading/issue-4754/test.config.js b/packages/rspack-test-tools/tests/configCases/chunk-loading/issue-4754/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/chunk-loading/issue-4754/test.config.js rename to packages/rspack-test-tools/tests/configCases/chunk-loading/issue-4754/test.config.js diff --git a/packages/rspack/tests/configCases/chunk-loading/issue-4754/webpack.config.js b/packages/rspack-test-tools/tests/configCases/chunk-loading/issue-4754/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/chunk-loading/issue-4754/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/chunk-loading/issue-4754/webpack.config.js diff --git a/packages/rspack/tests/configCases/chunk-loading/issue-4800/index.js b/packages/rspack-test-tools/tests/configCases/chunk-loading/issue-4800/index.js similarity index 100% rename from packages/rspack/tests/configCases/chunk-loading/issue-4800/index.js rename to packages/rspack-test-tools/tests/configCases/chunk-loading/issue-4800/index.js diff --git a/packages/rspack/tests/configCases/chunk-loading/issue-4800/logo1.js b/packages/rspack-test-tools/tests/configCases/chunk-loading/issue-4800/logo1.js similarity index 100% rename from packages/rspack/tests/configCases/chunk-loading/issue-4800/logo1.js rename to packages/rspack-test-tools/tests/configCases/chunk-loading/issue-4800/logo1.js diff --git a/packages/rspack/tests/configCases/chunk-loading/issue-4800/logo2.js b/packages/rspack-test-tools/tests/configCases/chunk-loading/issue-4800/logo2.js similarity index 100% rename from packages/rspack/tests/configCases/chunk-loading/issue-4800/logo2.js rename to packages/rspack-test-tools/tests/configCases/chunk-loading/issue-4800/logo2.js diff --git a/packages/rspack/tests/configCases/chunk-loading/issue-4800/webpack.config.js b/packages/rspack-test-tools/tests/configCases/chunk-loading/issue-4800/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/chunk-loading/issue-4800/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/chunk-loading/issue-4800/webpack.config.js diff --git a/packages/rspack/tests/configCases/chunk-loading/startup-async-node-1/async.js b/packages/rspack-test-tools/tests/configCases/chunk-loading/startup-async-node-1/async.js similarity index 100% rename from packages/rspack/tests/configCases/chunk-loading/startup-async-node-1/async.js rename to packages/rspack-test-tools/tests/configCases/chunk-loading/startup-async-node-1/async.js diff --git a/packages/rspack/tests/configCases/chunk-loading/startup-async-node-1/index.js b/packages/rspack-test-tools/tests/configCases/chunk-loading/startup-async-node-1/index.js similarity index 100% rename from packages/rspack/tests/configCases/chunk-loading/startup-async-node-1/index.js rename to packages/rspack-test-tools/tests/configCases/chunk-loading/startup-async-node-1/index.js diff --git a/packages/rspack/tests/configCases/chunk-loading/startup-async-node-1/lib-1.js b/packages/rspack-test-tools/tests/configCases/chunk-loading/startup-async-node-1/lib-1.js similarity index 100% rename from packages/rspack/tests/configCases/chunk-loading/startup-async-node-1/lib-1.js rename to packages/rspack-test-tools/tests/configCases/chunk-loading/startup-async-node-1/lib-1.js diff --git a/packages/rspack/tests/configCases/chunk-loading/startup-async-node-1/other.js b/packages/rspack-test-tools/tests/configCases/chunk-loading/startup-async-node-1/other.js similarity index 100% rename from packages/rspack/tests/configCases/chunk-loading/startup-async-node-1/other.js rename to packages/rspack-test-tools/tests/configCases/chunk-loading/startup-async-node-1/other.js diff --git a/packages/rspack/tests/configCases/chunk-loading/startup-async-node-1/shared.js b/packages/rspack-test-tools/tests/configCases/chunk-loading/startup-async-node-1/shared.js similarity index 100% rename from packages/rspack/tests/configCases/chunk-loading/startup-async-node-1/shared.js rename to packages/rspack-test-tools/tests/configCases/chunk-loading/startup-async-node-1/shared.js diff --git a/packages/rspack/tests/configCases/chunk-loading/startup-async-node-1/test.config.js b/packages/rspack-test-tools/tests/configCases/chunk-loading/startup-async-node-1/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/chunk-loading/startup-async-node-1/test.config.js rename to packages/rspack-test-tools/tests/configCases/chunk-loading/startup-async-node-1/test.config.js diff --git a/packages/rspack/tests/configCases/chunk-loading/startup-async-node-1/webpack.config.js b/packages/rspack-test-tools/tests/configCases/chunk-loading/startup-async-node-1/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/chunk-loading/startup-async-node-1/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/chunk-loading/startup-async-node-1/webpack.config.js diff --git a/packages/rspack/tests/configCases/chunk-loading/startup-async-node-2/async.js b/packages/rspack-test-tools/tests/configCases/chunk-loading/startup-async-node-2/async.js similarity index 100% rename from packages/rspack/tests/configCases/chunk-loading/startup-async-node-2/async.js rename to packages/rspack-test-tools/tests/configCases/chunk-loading/startup-async-node-2/async.js diff --git a/packages/rspack/tests/configCases/chunk-loading/startup-async-node-2/index.js b/packages/rspack-test-tools/tests/configCases/chunk-loading/startup-async-node-2/index.js similarity index 100% rename from packages/rspack/tests/configCases/chunk-loading/startup-async-node-2/index.js rename to packages/rspack-test-tools/tests/configCases/chunk-loading/startup-async-node-2/index.js diff --git a/packages/rspack/tests/configCases/chunk-loading/startup-async-node-2/lib-1.js b/packages/rspack-test-tools/tests/configCases/chunk-loading/startup-async-node-2/lib-1.js similarity index 100% rename from packages/rspack/tests/configCases/chunk-loading/startup-async-node-2/lib-1.js rename to packages/rspack-test-tools/tests/configCases/chunk-loading/startup-async-node-2/lib-1.js diff --git a/packages/rspack/tests/configCases/chunk-loading/startup-async-node-2/lib-2.js b/packages/rspack-test-tools/tests/configCases/chunk-loading/startup-async-node-2/lib-2.js similarity index 100% rename from packages/rspack/tests/configCases/chunk-loading/startup-async-node-2/lib-2.js rename to packages/rspack-test-tools/tests/configCases/chunk-loading/startup-async-node-2/lib-2.js diff --git a/packages/rspack/tests/configCases/chunk-loading/startup-async-node-2/other.js b/packages/rspack-test-tools/tests/configCases/chunk-loading/startup-async-node-2/other.js similarity index 100% rename from packages/rspack/tests/configCases/chunk-loading/startup-async-node-2/other.js rename to packages/rspack-test-tools/tests/configCases/chunk-loading/startup-async-node-2/other.js diff --git a/packages/rspack/tests/configCases/chunk-loading/startup-async-node-2/shared.js b/packages/rspack-test-tools/tests/configCases/chunk-loading/startup-async-node-2/shared.js similarity index 100% rename from packages/rspack/tests/configCases/chunk-loading/startup-async-node-2/shared.js rename to packages/rspack-test-tools/tests/configCases/chunk-loading/startup-async-node-2/shared.js diff --git a/packages/rspack/tests/configCases/chunk-loading/startup-async-node-2/test.config.js b/packages/rspack-test-tools/tests/configCases/chunk-loading/startup-async-node-2/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/chunk-loading/startup-async-node-2/test.config.js rename to packages/rspack-test-tools/tests/configCases/chunk-loading/startup-async-node-2/test.config.js diff --git a/packages/rspack/tests/configCases/chunk-loading/startup-async-node-2/webpack.config.js b/packages/rspack-test-tools/tests/configCases/chunk-loading/startup-async-node-2/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/chunk-loading/startup-async-node-2/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/chunk-loading/startup-async-node-2/webpack.config.js diff --git a/packages/rspack/tests/configCases/chunk-loading/startup-async-node-3/async.js b/packages/rspack-test-tools/tests/configCases/chunk-loading/startup-async-node-3/async.js similarity index 100% rename from packages/rspack/tests/configCases/chunk-loading/startup-async-node-3/async.js rename to packages/rspack-test-tools/tests/configCases/chunk-loading/startup-async-node-3/async.js diff --git a/packages/rspack/tests/configCases/chunk-loading/startup-async-node-3/index.js b/packages/rspack-test-tools/tests/configCases/chunk-loading/startup-async-node-3/index.js similarity index 100% rename from packages/rspack/tests/configCases/chunk-loading/startup-async-node-3/index.js rename to packages/rspack-test-tools/tests/configCases/chunk-loading/startup-async-node-3/index.js diff --git a/packages/rspack/tests/configCases/chunk-loading/startup-async-node-3/lib-1.js b/packages/rspack-test-tools/tests/configCases/chunk-loading/startup-async-node-3/lib-1.js similarity index 100% rename from packages/rspack/tests/configCases/chunk-loading/startup-async-node-3/lib-1.js rename to packages/rspack-test-tools/tests/configCases/chunk-loading/startup-async-node-3/lib-1.js diff --git a/packages/rspack/tests/configCases/chunk-loading/startup-async-node-3/lib-2.js b/packages/rspack-test-tools/tests/configCases/chunk-loading/startup-async-node-3/lib-2.js similarity index 100% rename from packages/rspack/tests/configCases/chunk-loading/startup-async-node-3/lib-2.js rename to packages/rspack-test-tools/tests/configCases/chunk-loading/startup-async-node-3/lib-2.js diff --git a/packages/rspack/tests/configCases/chunk-loading/startup-async-node-3/lib-3.js b/packages/rspack-test-tools/tests/configCases/chunk-loading/startup-async-node-3/lib-3.js similarity index 100% rename from packages/rspack/tests/configCases/chunk-loading/startup-async-node-3/lib-3.js rename to packages/rspack-test-tools/tests/configCases/chunk-loading/startup-async-node-3/lib-3.js diff --git a/packages/rspack/tests/configCases/chunk-loading/startup-async-node-3/other.js b/packages/rspack-test-tools/tests/configCases/chunk-loading/startup-async-node-3/other.js similarity index 100% rename from packages/rspack/tests/configCases/chunk-loading/startup-async-node-3/other.js rename to packages/rspack-test-tools/tests/configCases/chunk-loading/startup-async-node-3/other.js diff --git a/packages/rspack/tests/configCases/chunk-loading/startup-async-node-3/shared.js b/packages/rspack-test-tools/tests/configCases/chunk-loading/startup-async-node-3/shared.js similarity index 100% rename from packages/rspack/tests/configCases/chunk-loading/startup-async-node-3/shared.js rename to packages/rspack-test-tools/tests/configCases/chunk-loading/startup-async-node-3/shared.js diff --git a/packages/rspack/tests/configCases/chunk-loading/startup-async-node-3/test.config.js b/packages/rspack-test-tools/tests/configCases/chunk-loading/startup-async-node-3/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/chunk-loading/startup-async-node-3/test.config.js rename to packages/rspack-test-tools/tests/configCases/chunk-loading/startup-async-node-3/test.config.js diff --git a/packages/rspack/tests/configCases/chunk-loading/startup-async-node-3/webpack.config.js b/packages/rspack-test-tools/tests/configCases/chunk-loading/startup-async-node-3/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/chunk-loading/startup-async-node-3/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/chunk-loading/startup-async-node-3/webpack.config.js diff --git a/packages/rspack/tests/configCases/chunk-loading/startup-require/index.js b/packages/rspack-test-tools/tests/configCases/chunk-loading/startup-require/index.js similarity index 100% rename from packages/rspack/tests/configCases/chunk-loading/startup-require/index.js rename to packages/rspack-test-tools/tests/configCases/chunk-loading/startup-require/index.js diff --git a/packages/rspack/tests/configCases/chunk-loading/startup-require/lib-1.js b/packages/rspack-test-tools/tests/configCases/chunk-loading/startup-require/lib-1.js similarity index 100% rename from packages/rspack/tests/configCases/chunk-loading/startup-require/lib-1.js rename to packages/rspack-test-tools/tests/configCases/chunk-loading/startup-require/lib-1.js diff --git a/packages/rspack/tests/configCases/chunk-loading/startup-require/lib-2.js b/packages/rspack-test-tools/tests/configCases/chunk-loading/startup-require/lib-2.js similarity index 100% rename from packages/rspack/tests/configCases/chunk-loading/startup-require/lib-2.js rename to packages/rspack-test-tools/tests/configCases/chunk-loading/startup-require/lib-2.js diff --git a/packages/rspack/tests/configCases/chunk-loading/startup-require/lib-3.js b/packages/rspack-test-tools/tests/configCases/chunk-loading/startup-require/lib-3.js similarity index 100% rename from packages/rspack/tests/configCases/chunk-loading/startup-require/lib-3.js rename to packages/rspack-test-tools/tests/configCases/chunk-loading/startup-require/lib-3.js diff --git a/packages/rspack/tests/configCases/chunk-loading/startup-require/other.js b/packages/rspack-test-tools/tests/configCases/chunk-loading/startup-require/other.js similarity index 100% rename from packages/rspack/tests/configCases/chunk-loading/startup-require/other.js rename to packages/rspack-test-tools/tests/configCases/chunk-loading/startup-require/other.js diff --git a/packages/rspack/tests/configCases/chunk-loading/startup-require/shared.js b/packages/rspack-test-tools/tests/configCases/chunk-loading/startup-require/shared.js similarity index 100% rename from packages/rspack/tests/configCases/chunk-loading/startup-require/shared.js rename to packages/rspack-test-tools/tests/configCases/chunk-loading/startup-require/shared.js diff --git a/packages/rspack/tests/configCases/chunk-loading/startup-require/test.config.js b/packages/rspack-test-tools/tests/configCases/chunk-loading/startup-require/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/chunk-loading/startup-require/test.config.js rename to packages/rspack-test-tools/tests/configCases/chunk-loading/startup-require/test.config.js diff --git a/packages/rspack/tests/configCases/chunk-loading/startup-require/webpack.config.js b/packages/rspack-test-tools/tests/configCases/chunk-loading/startup-require/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/chunk-loading/startup-require/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/chunk-loading/startup-require/webpack.config.js diff --git a/packages/rspack/tests/configCases/cjs-tree-shaking/export-require-unused/index.js b/packages/rspack-test-tools/tests/configCases/cjs-tree-shaking/export-require-unused/index.js similarity index 100% rename from packages/rspack/tests/configCases/cjs-tree-shaking/export-require-unused/index.js rename to packages/rspack-test-tools/tests/configCases/cjs-tree-shaking/export-require-unused/index.js diff --git a/packages/rspack/tests/configCases/cjs-tree-shaking/export-require-unused/react.js b/packages/rspack-test-tools/tests/configCases/cjs-tree-shaking/export-require-unused/react.js similarity index 100% rename from packages/rspack/tests/configCases/cjs-tree-shaking/export-require-unused/react.js rename to packages/rspack-test-tools/tests/configCases/cjs-tree-shaking/export-require-unused/react.js diff --git a/packages/rspack/tests/configCases/cjs-tree-shaking/export-require-unused/reexport.js b/packages/rspack-test-tools/tests/configCases/cjs-tree-shaking/export-require-unused/reexport.js similarity index 100% rename from packages/rspack/tests/configCases/cjs-tree-shaking/export-require-unused/reexport.js rename to packages/rspack-test-tools/tests/configCases/cjs-tree-shaking/export-require-unused/reexport.js diff --git a/packages/rspack/tests/configCases/cjs-tree-shaking/export-require-unused/webpack.config.js b/packages/rspack-test-tools/tests/configCases/cjs-tree-shaking/export-require-unused/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/cjs-tree-shaking/export-require-unused/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/cjs-tree-shaking/export-require-unused/webpack.config.js diff --git a/packages/rspack/tests/configCases/cjs-tree-shaking/rspack-issue-5282/a.js b/packages/rspack-test-tools/tests/configCases/cjs-tree-shaking/rspack-issue-5282/a.js similarity index 100% rename from packages/rspack/tests/configCases/cjs-tree-shaking/rspack-issue-5282/a.js rename to packages/rspack-test-tools/tests/configCases/cjs-tree-shaking/rspack-issue-5282/a.js diff --git a/packages/rspack/tests/configCases/cjs-tree-shaking/rspack-issue-5282/b.js b/packages/rspack-test-tools/tests/configCases/cjs-tree-shaking/rspack-issue-5282/b.js similarity index 100% rename from packages/rspack/tests/configCases/cjs-tree-shaking/rspack-issue-5282/b.js rename to packages/rspack-test-tools/tests/configCases/cjs-tree-shaking/rspack-issue-5282/b.js diff --git a/packages/rspack/tests/configCases/cjs-tree-shaking/rspack-issue-5282/index.js b/packages/rspack-test-tools/tests/configCases/cjs-tree-shaking/rspack-issue-5282/index.js similarity index 100% rename from packages/rspack/tests/configCases/cjs-tree-shaking/rspack-issue-5282/index.js rename to packages/rspack-test-tools/tests/configCases/cjs-tree-shaking/rspack-issue-5282/index.js diff --git a/packages/rspack/tests/configCases/cjs-tree-shaking/rspack-issue-5282/reexport.js b/packages/rspack-test-tools/tests/configCases/cjs-tree-shaking/rspack-issue-5282/reexport.js similarity index 100% rename from packages/rspack/tests/configCases/cjs-tree-shaking/rspack-issue-5282/reexport.js rename to packages/rspack-test-tools/tests/configCases/cjs-tree-shaking/rspack-issue-5282/reexport.js diff --git a/packages/rspack/tests/configCases/cjs-tree-shaking/rspack-issue-5282/webpack.config.js b/packages/rspack-test-tools/tests/configCases/cjs-tree-shaking/rspack-issue-5282/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/cjs-tree-shaking/rspack-issue-5282/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/cjs-tree-shaking/rspack-issue-5282/webpack.config.js diff --git a/packages/rspack/tests/configCases/code-generation/path-ends-with-star/entry.mjs b/packages/rspack-test-tools/tests/configCases/code-generation/path-ends-with-star/entry.mjs similarity index 100% rename from packages/rspack/tests/configCases/code-generation/path-ends-with-star/entry.mjs rename to packages/rspack-test-tools/tests/configCases/code-generation/path-ends-with-star/entry.mjs diff --git a/packages/rspack/tests/configCases/code-generation/path-ends-with-star/webpack.config.js b/packages/rspack-test-tools/tests/configCases/code-generation/path-ends-with-star/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/code-generation/path-ends-with-star/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/code-generation/path-ends-with-star/webpack.config.js diff --git a/packages/rspack/tests/configCases/compilation/rebuild-module/a.js b/packages/rspack-test-tools/tests/configCases/compilation/rebuild-module/a.js similarity index 100% rename from packages/rspack/tests/configCases/compilation/rebuild-module/a.js rename to packages/rspack-test-tools/tests/configCases/compilation/rebuild-module/a.js diff --git a/packages/rspack/tests/configCases/compilation/rebuild-module/index.js b/packages/rspack-test-tools/tests/configCases/compilation/rebuild-module/index.js similarity index 100% rename from packages/rspack/tests/configCases/compilation/rebuild-module/index.js rename to packages/rspack-test-tools/tests/configCases/compilation/rebuild-module/index.js diff --git a/packages/rspack/tests/configCases/compilation/rebuild-module/loader.js b/packages/rspack-test-tools/tests/configCases/compilation/rebuild-module/loader.js similarity index 100% rename from packages/rspack/tests/configCases/compilation/rebuild-module/loader.js rename to packages/rspack-test-tools/tests/configCases/compilation/rebuild-module/loader.js diff --git a/packages/rspack/tests/configCases/compilation/rebuild-module/webpack.config.js b/packages/rspack-test-tools/tests/configCases/compilation/rebuild-module/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/compilation/rebuild-module/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/compilation/rebuild-module/webpack.config.js diff --git a/packages/rspack/tests/configCases/concatenate-modules/with-css/foo.css b/packages/rspack-test-tools/tests/configCases/concatenate-modules/with-css/foo.css similarity index 100% rename from packages/rspack/tests/configCases/concatenate-modules/with-css/foo.css rename to packages/rspack-test-tools/tests/configCases/concatenate-modules/with-css/foo.css diff --git a/packages/rspack/tests/configCases/concatenate-modules/with-css/index.js b/packages/rspack-test-tools/tests/configCases/concatenate-modules/with-css/index.js similarity index 100% rename from packages/rspack/tests/configCases/concatenate-modules/with-css/index.js rename to packages/rspack-test-tools/tests/configCases/concatenate-modules/with-css/index.js diff --git a/packages/rspack/tests/configCases/concatenate-modules/with-css/lib.js b/packages/rspack-test-tools/tests/configCases/concatenate-modules/with-css/lib.js similarity index 100% rename from packages/rspack/tests/configCases/concatenate-modules/with-css/lib.js rename to packages/rspack-test-tools/tests/configCases/concatenate-modules/with-css/lib.js diff --git a/packages/rspack/tests/configCases/concatenate-modules/with-css/package.json b/packages/rspack-test-tools/tests/configCases/concatenate-modules/with-css/package.json similarity index 100% rename from packages/rspack/tests/configCases/concatenate-modules/with-css/package.json rename to packages/rspack-test-tools/tests/configCases/concatenate-modules/with-css/package.json diff --git a/packages/rspack/tests/configCases/concatenate-modules/with-css/webpack.config.js b/packages/rspack-test-tools/tests/configCases/concatenate-modules/with-css/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/concatenate-modules/with-css/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/concatenate-modules/with-css/webpack.config.js diff --git a/packages/rspack/tests/configCases/container-1-0/multi-container-same-runtime/a.js b/packages/rspack-test-tools/tests/configCases/container-1-0/multi-container-same-runtime/a.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-0/multi-container-same-runtime/a.js rename to packages/rspack-test-tools/tests/configCases/container-1-0/multi-container-same-runtime/a.js diff --git a/packages/rspack/tests/configCases/container-1-0/multi-container-same-runtime/b.js b/packages/rspack-test-tools/tests/configCases/container-1-0/multi-container-same-runtime/b.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-0/multi-container-same-runtime/b.js rename to packages/rspack-test-tools/tests/configCases/container-1-0/multi-container-same-runtime/b.js diff --git a/packages/rspack/tests/configCases/container-1-0/multi-container-same-runtime/bootstrap.js b/packages/rspack-test-tools/tests/configCases/container-1-0/multi-container-same-runtime/bootstrap.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-0/multi-container-same-runtime/bootstrap.js rename to packages/rspack-test-tools/tests/configCases/container-1-0/multi-container-same-runtime/bootstrap.js diff --git a/packages/rspack/tests/configCases/container-1-0/multi-container-same-runtime/index.js b/packages/rspack-test-tools/tests/configCases/container-1-0/multi-container-same-runtime/index.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-0/multi-container-same-runtime/index.js rename to packages/rspack-test-tools/tests/configCases/container-1-0/multi-container-same-runtime/index.js diff --git a/packages/rspack/tests/configCases/container-1-0/multi-container-same-runtime/test.config.js b/packages/rspack-test-tools/tests/configCases/container-1-0/multi-container-same-runtime/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-0/multi-container-same-runtime/test.config.js rename to packages/rspack-test-tools/tests/configCases/container-1-0/multi-container-same-runtime/test.config.js diff --git a/packages/rspack/tests/configCases/container-1-0/multi-container-same-runtime/webpack.config.js b/packages/rspack-test-tools/tests/configCases/container-1-0/multi-container-same-runtime/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-0/multi-container-same-runtime/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/container-1-0/multi-container-same-runtime/webpack.config.js diff --git a/packages/rspack/tests/configCases/container-1-5/0-container-full/App.js b/packages/rspack-test-tools/tests/configCases/container-1-5/0-container-full/App.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/0-container-full/App.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/0-container-full/App.js diff --git a/packages/rspack/tests/configCases/container-1-5/0-container-full/ComponentA.js b/packages/rspack-test-tools/tests/configCases/container-1-5/0-container-full/ComponentA.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/0-container-full/ComponentA.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/0-container-full/ComponentA.js diff --git a/packages/rspack/tests/configCases/container-1-5/0-container-full/index.js b/packages/rspack-test-tools/tests/configCases/container-1-5/0-container-full/index.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/0-container-full/index.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/0-container-full/index.js diff --git a/packages/rspack/tests/configCases/container-1-5/0-container-full/node_modules/react.js b/packages/rspack-test-tools/tests/configCases/container-1-5/0-container-full/node_modules/react.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/0-container-full/node_modules/react.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/0-container-full/node_modules/react.js diff --git a/packages/rspack/tests/configCases/container-1-5/0-container-full/test.config.js b/packages/rspack-test-tools/tests/configCases/container-1-5/0-container-full/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/0-container-full/test.config.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/0-container-full/test.config.js diff --git a/packages/rspack/tests/configCases/container-1-5/0-container-full/upgrade-react.js b/packages/rspack-test-tools/tests/configCases/container-1-5/0-container-full/upgrade-react.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/0-container-full/upgrade-react.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/0-container-full/upgrade-react.js diff --git a/packages/rspack/tests/configCases/container-1-5/0-container-full/webpack.config.js b/packages/rspack-test-tools/tests/configCases/container-1-5/0-container-full/webpack.config.js similarity index 94% rename from packages/rspack/tests/configCases/container-1-5/0-container-full/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/0-container-full/webpack.config.js index 7f88853faac..7372dc3d8e3 100644 --- a/packages/rspack/tests/configCases/container-1-5/0-container-full/webpack.config.js +++ b/packages/rspack-test-tools/tests/configCases/container-1-5/0-container-full/webpack.config.js @@ -1,4 +1,4 @@ -const { ModuleFederationPlugin } = require("../../../../").container; +const { ModuleFederationPlugin } = require("@rspack/core").container; /** @type {ConstructorParameters[0]} */ const common = { diff --git a/packages/rspack/tests/configCases/container-1-5/0-transitive-overriding/a.js b/packages/rspack-test-tools/tests/configCases/container-1-5/0-transitive-overriding/a.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/0-transitive-overriding/a.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/0-transitive-overriding/a.js diff --git a/packages/rspack/tests/configCases/container-1-5/0-transitive-overriding/b.js b/packages/rspack-test-tools/tests/configCases/container-1-5/0-transitive-overriding/b.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/0-transitive-overriding/b.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/0-transitive-overriding/b.js diff --git a/packages/rspack/tests/configCases/container-1-5/0-transitive-overriding/index.js b/packages/rspack-test-tools/tests/configCases/container-1-5/0-transitive-overriding/index.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/0-transitive-overriding/index.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/0-transitive-overriding/index.js diff --git a/packages/rspack/tests/configCases/container-1-5/0-transitive-overriding/modules.js b/packages/rspack-test-tools/tests/configCases/container-1-5/0-transitive-overriding/modules.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/0-transitive-overriding/modules.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/0-transitive-overriding/modules.js diff --git a/packages/rspack/tests/configCases/container-1-5/0-transitive-overriding/shared.js b/packages/rspack-test-tools/tests/configCases/container-1-5/0-transitive-overriding/shared.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/0-transitive-overriding/shared.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/0-transitive-overriding/shared.js diff --git a/packages/rspack/tests/configCases/container-1-5/0-transitive-overriding/webpack.config.js b/packages/rspack-test-tools/tests/configCases/container-1-5/0-transitive-overriding/webpack.config.js similarity index 89% rename from packages/rspack/tests/configCases/container-1-5/0-transitive-overriding/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/0-transitive-overriding/webpack.config.js index c58eec46c60..cd9865add58 100644 --- a/packages/rspack/tests/configCases/container-1-5/0-transitive-overriding/webpack.config.js +++ b/packages/rspack-test-tools/tests/configCases/container-1-5/0-transitive-overriding/webpack.config.js @@ -1,4 +1,4 @@ -const { ModuleFederationPlugin } = require("../../../../").container; +const { ModuleFederationPlugin } = require("@rspack/core").container; /** @type {import("@rspack/core").Configuration} */ module.exports = { diff --git a/packages/rspack/tests/configCases/container-1-5/1-container-full/App.js b/packages/rspack-test-tools/tests/configCases/container-1-5/1-container-full/App.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/1-container-full/App.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/1-container-full/App.js diff --git a/packages/rspack/tests/configCases/container-1-5/1-container-full/ComponentB.js b/packages/rspack-test-tools/tests/configCases/container-1-5/1-container-full/ComponentB.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/1-container-full/ComponentB.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/1-container-full/ComponentB.js diff --git a/packages/rspack/tests/configCases/container-1-5/1-container-full/ComponentC.js b/packages/rspack-test-tools/tests/configCases/container-1-5/1-container-full/ComponentC.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/1-container-full/ComponentC.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/1-container-full/ComponentC.js diff --git a/packages/rspack/tests/configCases/container-1-5/1-container-full/index.js b/packages/rspack-test-tools/tests/configCases/container-1-5/1-container-full/index.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/1-container-full/index.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/1-container-full/index.js diff --git a/packages/rspack/tests/configCases/container-1-5/1-container-full/node_modules/package.json b/packages/rspack-test-tools/tests/configCases/container-1-5/1-container-full/node_modules/package.json similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/1-container-full/node_modules/package.json rename to packages/rspack-test-tools/tests/configCases/container-1-5/1-container-full/node_modules/package.json diff --git a/packages/rspack/tests/configCases/container-1-5/1-container-full/node_modules/react.js b/packages/rspack-test-tools/tests/configCases/container-1-5/1-container-full/node_modules/react.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/1-container-full/node_modules/react.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/1-container-full/node_modules/react.js diff --git a/packages/rspack/tests/configCases/container-1-5/1-container-full/package.json b/packages/rspack-test-tools/tests/configCases/container-1-5/1-container-full/package.json similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/1-container-full/package.json rename to packages/rspack-test-tools/tests/configCases/container-1-5/1-container-full/package.json diff --git a/packages/rspack/tests/configCases/container-1-5/1-container-full/test.config.js b/packages/rspack-test-tools/tests/configCases/container-1-5/1-container-full/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/1-container-full/test.config.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/1-container-full/test.config.js diff --git a/packages/rspack/tests/configCases/container-1-5/1-container-full/upgrade-react.js b/packages/rspack-test-tools/tests/configCases/container-1-5/1-container-full/upgrade-react.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/1-container-full/upgrade-react.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/1-container-full/upgrade-react.js diff --git a/packages/rspack/tests/configCases/container-1-5/1-container-full/webpack.config.js b/packages/rspack-test-tools/tests/configCases/container-1-5/1-container-full/webpack.config.js similarity index 95% rename from packages/rspack/tests/configCases/container-1-5/1-container-full/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/1-container-full/webpack.config.js index c0893e3ca75..22b505992e9 100644 --- a/packages/rspack/tests/configCases/container-1-5/1-container-full/webpack.config.js +++ b/packages/rspack-test-tools/tests/configCases/container-1-5/1-container-full/webpack.config.js @@ -1,5 +1,5 @@ // eslint-disable-next-line node/no-unpublished-require -const { ModuleFederationPlugin } = require("../../../../").container; +const { ModuleFederationPlugin } = require("@rspack/core").container; const common = { entry: { diff --git a/packages/rspack/tests/configCases/container-1-5/1-transitive-overriding/a.js b/packages/rspack-test-tools/tests/configCases/container-1-5/1-transitive-overriding/a.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/1-transitive-overriding/a.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/1-transitive-overriding/a.js diff --git a/packages/rspack/tests/configCases/container-1-5/1-transitive-overriding/b.js b/packages/rspack-test-tools/tests/configCases/container-1-5/1-transitive-overriding/b.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/1-transitive-overriding/b.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/1-transitive-overriding/b.js diff --git a/packages/rspack/tests/configCases/container-1-5/1-transitive-overriding/index.js b/packages/rspack-test-tools/tests/configCases/container-1-5/1-transitive-overriding/index.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/1-transitive-overriding/index.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/1-transitive-overriding/index.js diff --git a/packages/rspack/tests/configCases/container-1-5/1-transitive-overriding/modules-from-remote.js b/packages/rspack-test-tools/tests/configCases/container-1-5/1-transitive-overriding/modules-from-remote.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/1-transitive-overriding/modules-from-remote.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/1-transitive-overriding/modules-from-remote.js diff --git a/packages/rspack/tests/configCases/container-1-5/1-transitive-overriding/modules.js b/packages/rspack-test-tools/tests/configCases/container-1-5/1-transitive-overriding/modules.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/1-transitive-overriding/modules.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/1-transitive-overriding/modules.js diff --git a/packages/rspack/tests/configCases/container-1-5/1-transitive-overriding/shared.js b/packages/rspack-test-tools/tests/configCases/container-1-5/1-transitive-overriding/shared.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/1-transitive-overriding/shared.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/1-transitive-overriding/shared.js diff --git a/packages/rspack/tests/configCases/container-1-5/1-transitive-overriding/webpack.config.js b/packages/rspack-test-tools/tests/configCases/container-1-5/1-transitive-overriding/webpack.config.js similarity index 90% rename from packages/rspack/tests/configCases/container-1-5/1-transitive-overriding/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/1-transitive-overriding/webpack.config.js index f00bc39a2d6..bebd1a3a5ce 100644 --- a/packages/rspack/tests/configCases/container-1-5/1-transitive-overriding/webpack.config.js +++ b/packages/rspack-test-tools/tests/configCases/container-1-5/1-transitive-overriding/webpack.config.js @@ -1,4 +1,4 @@ -const { ModuleFederationPlugin } = require("../../../../").container; +const { ModuleFederationPlugin } = require("@rspack/core").container; /** @type {import("@rspack/core").Configuration} */ module.exports = { diff --git a/packages/rspack/tests/configCases/container-1-5/2-container-full/App.js b/packages/rspack-test-tools/tests/configCases/container-1-5/2-container-full/App.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/2-container-full/App.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/2-container-full/App.js diff --git a/packages/rspack/tests/configCases/container-1-5/2-container-full/Self.js b/packages/rspack-test-tools/tests/configCases/container-1-5/2-container-full/Self.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/2-container-full/Self.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/2-container-full/Self.js diff --git a/packages/rspack/tests/configCases/container-1-5/2-container-full/index.js b/packages/rspack-test-tools/tests/configCases/container-1-5/2-container-full/index.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/2-container-full/index.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/2-container-full/index.js diff --git a/packages/rspack/tests/configCases/container-1-5/2-container-full/node_modules/package.json b/packages/rspack-test-tools/tests/configCases/container-1-5/2-container-full/node_modules/package.json similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/2-container-full/node_modules/package.json rename to packages/rspack-test-tools/tests/configCases/container-1-5/2-container-full/node_modules/package.json diff --git a/packages/rspack/tests/configCases/container-1-5/2-container-full/node_modules/react.js b/packages/rspack-test-tools/tests/configCases/container-1-5/2-container-full/node_modules/react.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/2-container-full/node_modules/react.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/2-container-full/node_modules/react.js diff --git a/packages/rspack/tests/configCases/container-1-5/2-container-full/package.json b/packages/rspack-test-tools/tests/configCases/container-1-5/2-container-full/package.json similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/2-container-full/package.json rename to packages/rspack-test-tools/tests/configCases/container-1-5/2-container-full/package.json diff --git a/packages/rspack/tests/configCases/container-1-5/2-container-full/upgrade-react.js b/packages/rspack-test-tools/tests/configCases/container-1-5/2-container-full/upgrade-react.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/2-container-full/upgrade-react.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/2-container-full/upgrade-react.js diff --git a/packages/rspack/tests/configCases/container-1-5/2-container-full/webpack.config.js b/packages/rspack-test-tools/tests/configCases/container-1-5/2-container-full/webpack.config.js similarity index 92% rename from packages/rspack/tests/configCases/container-1-5/2-container-full/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/2-container-full/webpack.config.js index f8e8a4b711f..c966fa0d487 100644 --- a/packages/rspack/tests/configCases/container-1-5/2-container-full/webpack.config.js +++ b/packages/rspack-test-tools/tests/configCases/container-1-5/2-container-full/webpack.config.js @@ -1,4 +1,4 @@ -const { ModuleFederationPlugin } = require("../../../../").container; +const { ModuleFederationPlugin } = require("@rspack/core").container; /** @type {import("@rspack/core").Configuration} */ module.exports = { diff --git a/packages/rspack/tests/configCases/container-1-5/2-transitive-overriding/index.js b/packages/rspack-test-tools/tests/configCases/container-1-5/2-transitive-overriding/index.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/2-transitive-overriding/index.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/2-transitive-overriding/index.js diff --git a/packages/rspack/tests/configCases/container-1-5/2-transitive-overriding/shared.js b/packages/rspack-test-tools/tests/configCases/container-1-5/2-transitive-overriding/shared.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/2-transitive-overriding/shared.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/2-transitive-overriding/shared.js diff --git a/packages/rspack/tests/configCases/container-1-5/2-transitive-overriding/webpack.config.js b/packages/rspack-test-tools/tests/configCases/container-1-5/2-transitive-overriding/webpack.config.js similarity index 89% rename from packages/rspack/tests/configCases/container-1-5/2-transitive-overriding/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/2-transitive-overriding/webpack.config.js index 1374eee4170..40b84065619 100644 --- a/packages/rspack/tests/configCases/container-1-5/2-transitive-overriding/webpack.config.js +++ b/packages/rspack-test-tools/tests/configCases/container-1-5/2-transitive-overriding/webpack.config.js @@ -1,4 +1,4 @@ -const { ModuleFederationPlugin } = require("../../../../").container; +const { ModuleFederationPlugin } = require("@rspack/core").container; /** @type {import("@rspack/core").Configuration} */ module.exports = { diff --git a/packages/rspack/tests/configCases/container-1-5/3-container-full/App.js b/packages/rspack-test-tools/tests/configCases/container-1-5/3-container-full/App.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/3-container-full/App.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/3-container-full/App.js diff --git a/packages/rspack/tests/configCases/container-1-5/3-container-full/index.js b/packages/rspack-test-tools/tests/configCases/container-1-5/3-container-full/index.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/3-container-full/index.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/3-container-full/index.js diff --git a/packages/rspack/tests/configCases/container-1-5/3-container-full/node_modules/react.js b/packages/rspack-test-tools/tests/configCases/container-1-5/3-container-full/node_modules/react.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/3-container-full/node_modules/react.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/3-container-full/node_modules/react.js diff --git a/packages/rspack/tests/configCases/container-1-5/3-container-full/package.json b/packages/rspack-test-tools/tests/configCases/container-1-5/3-container-full/package.json similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/3-container-full/package.json rename to packages/rspack-test-tools/tests/configCases/container-1-5/3-container-full/package.json diff --git a/packages/rspack/tests/configCases/container-1-5/3-container-full/upgrade-react.js b/packages/rspack-test-tools/tests/configCases/container-1-5/3-container-full/upgrade-react.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/3-container-full/upgrade-react.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/3-container-full/upgrade-react.js diff --git a/packages/rspack/tests/configCases/container-1-5/3-container-full/warnings.js b/packages/rspack-test-tools/tests/configCases/container-1-5/3-container-full/warnings.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/3-container-full/warnings.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/3-container-full/warnings.js diff --git a/packages/rspack/tests/configCases/container-1-5/3-container-full/webpack.config.js b/packages/rspack-test-tools/tests/configCases/container-1-5/3-container-full/webpack.config.js similarity index 83% rename from packages/rspack/tests/configCases/container-1-5/3-container-full/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/3-container-full/webpack.config.js index c1ecb91518d..e593454e4fe 100644 --- a/packages/rspack/tests/configCases/container-1-5/3-container-full/webpack.config.js +++ b/packages/rspack-test-tools/tests/configCases/container-1-5/3-container-full/webpack.config.js @@ -1,5 +1,5 @@ // eslint-disable-next-line node/no-unpublished-require -const { ModuleFederationPlugin } = require("../../../../").container; +const { ModuleFederationPlugin } = require("@rspack/core").container; /** @type {import("@rspack/core").Configuration} */ module.exports = { diff --git a/packages/rspack/tests/configCases/container-1-5/assign-depth-for-add-include/a/index.js b/packages/rspack-test-tools/tests/configCases/container-1-5/assign-depth-for-add-include/a/index.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/assign-depth-for-add-include/a/index.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/assign-depth-for-add-include/a/index.js diff --git a/packages/rspack/tests/configCases/container-1-5/assign-depth-for-add-include/a/util.js b/packages/rspack-test-tools/tests/configCases/container-1-5/assign-depth-for-add-include/a/util.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/assign-depth-for-add-include/a/util.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/assign-depth-for-add-include/a/util.js diff --git a/packages/rspack/tests/configCases/container-1-5/assign-depth-for-add-include/index.js b/packages/rspack-test-tools/tests/configCases/container-1-5/assign-depth-for-add-include/index.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/assign-depth-for-add-include/index.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/assign-depth-for-add-include/index.js diff --git a/packages/rspack/tests/configCases/container-1-5/assign-depth-for-add-include/reexport.js b/packages/rspack-test-tools/tests/configCases/container-1-5/assign-depth-for-add-include/reexport.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/assign-depth-for-add-include/reexport.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/assign-depth-for-add-include/reexport.js diff --git a/packages/rspack/tests/configCases/container-1-5/assign-depth-for-add-include/webpack.config.js b/packages/rspack-test-tools/tests/configCases/container-1-5/assign-depth-for-add-include/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/assign-depth-for-add-include/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/assign-depth-for-add-include/webpack.config.js diff --git a/packages/rspack/tests/configCases/container-1-5/circular/a.js b/packages/rspack-test-tools/tests/configCases/container-1-5/circular/a.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/circular/a.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/circular/a.js diff --git a/packages/rspack/tests/configCases/container-1-5/circular/b.js b/packages/rspack-test-tools/tests/configCases/container-1-5/circular/b.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/circular/b.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/circular/b.js diff --git a/packages/rspack/tests/configCases/container-1-5/circular/index.js b/packages/rspack-test-tools/tests/configCases/container-1-5/circular/index.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/circular/index.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/circular/index.js diff --git a/packages/rspack/tests/configCases/container-1-5/circular/test.config.js b/packages/rspack-test-tools/tests/configCases/container-1-5/circular/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/circular/test.config.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/circular/test.config.js diff --git a/packages/rspack/tests/configCases/container-1-5/circular/webpack.config.js b/packages/rspack-test-tools/tests/configCases/container-1-5/circular/webpack.config.js similarity index 90% rename from packages/rspack/tests/configCases/container-1-5/circular/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/circular/webpack.config.js index b4aee09245a..e8712015c3d 100644 --- a/packages/rspack/tests/configCases/container-1-5/circular/webpack.config.js +++ b/packages/rspack-test-tools/tests/configCases/container-1-5/circular/webpack.config.js @@ -1,4 +1,4 @@ -const { ModuleFederationPlugin } = require("../../../../").container; +const { ModuleFederationPlugin } = require("@rspack/core").container; function createConfig() { return { diff --git a/packages/rspack/tests/configCases/container-1-5/container-entry-overridables/index.js b/packages/rspack-test-tools/tests/configCases/container-1-5/container-entry-overridables/index.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/container-entry-overridables/index.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/container-entry-overridables/index.js diff --git a/packages/rspack/tests/configCases/container-1-5/container-entry-overridables/test.js b/packages/rspack-test-tools/tests/configCases/container-1-5/container-entry-overridables/test.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/container-entry-overridables/test.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/container-entry-overridables/test.js diff --git a/packages/rspack/tests/configCases/container-1-5/container-entry-overridables/value.js b/packages/rspack-test-tools/tests/configCases/container-1-5/container-entry-overridables/value.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/container-entry-overridables/value.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/container-entry-overridables/value.js diff --git a/packages/rspack/tests/configCases/container-1-5/container-entry-overridables/webpack.config.js b/packages/rspack-test-tools/tests/configCases/container-1-5/container-entry-overridables/webpack.config.js similarity index 84% rename from packages/rspack/tests/configCases/container-1-5/container-entry-overridables/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/container-entry-overridables/webpack.config.js index 7bed7d20843..4f1724c2be4 100644 --- a/packages/rspack/tests/configCases/container-1-5/container-entry-overridables/webpack.config.js +++ b/packages/rspack-test-tools/tests/configCases/container-1-5/container-entry-overridables/webpack.config.js @@ -1,4 +1,4 @@ -const { ModuleFederationPlugin } = require("../../../../").container; +const { ModuleFederationPlugin } = require("@rspack/core").container; /** @type {import("@rspack/core").Configuration} */ module.exports = { diff --git a/packages/rspack/tests/configCases/container-1-5/container-entry/index.js b/packages/rspack-test-tools/tests/configCases/container-1-5/container-entry/index.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/container-entry/index.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/container-entry/index.js diff --git a/packages/rspack/tests/configCases/container-1-5/container-entry/init-module.js b/packages/rspack-test-tools/tests/configCases/container-1-5/container-entry/init-module.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/container-entry/init-module.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/container-entry/init-module.js diff --git a/packages/rspack/tests/configCases/container-1-5/container-entry/main.js b/packages/rspack-test-tools/tests/configCases/container-1-5/container-entry/main.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/container-entry/main.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/container-entry/main.js diff --git a/packages/rspack/tests/configCases/container-1-5/container-entry/state.js b/packages/rspack-test-tools/tests/configCases/container-1-5/container-entry/state.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/container-entry/state.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/container-entry/state.js diff --git a/packages/rspack/tests/configCases/container-1-5/container-entry/test.js b/packages/rspack-test-tools/tests/configCases/container-1-5/container-entry/test.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/container-entry/test.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/container-entry/test.js diff --git a/packages/rspack/tests/configCases/container-1-5/container-entry/test2.js b/packages/rspack-test-tools/tests/configCases/container-1-5/container-entry/test2.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/container-entry/test2.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/container-entry/test2.js diff --git a/packages/rspack/tests/configCases/container-1-5/container-entry/webpack.config.js b/packages/rspack-test-tools/tests/configCases/container-1-5/container-entry/webpack.config.js similarity index 84% rename from packages/rspack/tests/configCases/container-1-5/container-entry/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/container-entry/webpack.config.js index d0fec783932..eccd64c7e98 100644 --- a/packages/rspack/tests/configCases/container-1-5/container-entry/webpack.config.js +++ b/packages/rspack-test-tools/tests/configCases/container-1-5/container-entry/webpack.config.js @@ -1,4 +1,4 @@ -const { ModuleFederationPlugin } = require("../../../../").container; +const { ModuleFederationPlugin } = require("@rspack/core").container; /** @type {import("@rspack/core").Configuration} */ module.exports = { diff --git a/packages/rspack/tests/configCases/container-1-5/container-reference-override/index.js b/packages/rspack-test-tools/tests/configCases/container-1-5/container-reference-override/index.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/container-reference-override/index.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/container-reference-override/index.js diff --git a/packages/rspack/tests/configCases/container-1-5/container-reference-override/module.js b/packages/rspack-test-tools/tests/configCases/container-1-5/container-reference-override/module.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/container-reference-override/module.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/container-reference-override/module.js diff --git a/packages/rspack/tests/configCases/container-1-5/container-reference-override/new-test.js b/packages/rspack-test-tools/tests/configCases/container-1-5/container-reference-override/new-test.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/container-reference-override/new-test.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/container-reference-override/new-test.js diff --git a/packages/rspack/tests/configCases/container-1-5/container-reference-override/test.config.js b/packages/rspack-test-tools/tests/configCases/container-1-5/container-reference-override/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/container-reference-override/test.config.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/container-reference-override/test.config.js diff --git a/packages/rspack/tests/configCases/container-1-5/container-reference-override/webpack.config.js b/packages/rspack-test-tools/tests/configCases/container-1-5/container-reference-override/webpack.config.js similarity index 81% rename from packages/rspack/tests/configCases/container-1-5/container-reference-override/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/container-reference-override/webpack.config.js index 229d2d695dc..1eb053b2b34 100644 --- a/packages/rspack/tests/configCases/container-1-5/container-reference-override/webpack.config.js +++ b/packages/rspack-test-tools/tests/configCases/container-1-5/container-reference-override/webpack.config.js @@ -1,4 +1,4 @@ -const { ModuleFederationPlugin } = require("../../../../").container; +const { ModuleFederationPlugin } = require("@rspack/core").container; /** @type {import("@rspack/core").Configuration} */ module.exports = { diff --git a/packages/rspack/tests/configCases/container-1-5/container-reference/index.js b/packages/rspack-test-tools/tests/configCases/container-1-5/container-reference/index.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/container-reference/index.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/container-reference/index.js diff --git a/packages/rspack/tests/configCases/container-1-5/container-reference/module.js b/packages/rspack-test-tools/tests/configCases/container-1-5/container-reference/module.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/container-reference/module.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/container-reference/module.js diff --git a/packages/rspack/tests/configCases/container-1-5/container-reference/test.config.js b/packages/rspack-test-tools/tests/configCases/container-1-5/container-reference/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/container-reference/test.config.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/container-reference/test.config.js diff --git a/packages/rspack/tests/configCases/container-1-5/container-reference/webpack.config.js b/packages/rspack-test-tools/tests/configCases/container-1-5/container-reference/webpack.config.js similarity index 76% rename from packages/rspack/tests/configCases/container-1-5/container-reference/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/container-reference/webpack.config.js index 7ec97afaef7..2e72cea0f1f 100644 --- a/packages/rspack/tests/configCases/container-1-5/container-reference/webpack.config.js +++ b/packages/rspack-test-tools/tests/configCases/container-1-5/container-reference/webpack.config.js @@ -1,4 +1,4 @@ -const { ModuleFederationPlugin } = require("../../../../").container; +const { ModuleFederationPlugin } = require("@rspack/core").container; /** @type {import("@rspack/core").Configuration} */ module.exports = { diff --git a/packages/rspack/tests/configCases/container-1-5/error-handling/evaluation-error-cjs.js b/packages/rspack-test-tools/tests/configCases/container-1-5/error-handling/evaluation-error-cjs.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/error-handling/evaluation-error-cjs.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/error-handling/evaluation-error-cjs.js diff --git a/packages/rspack/tests/configCases/container-1-5/error-handling/evaluation-error-tl-await.js b/packages/rspack-test-tools/tests/configCases/container-1-5/error-handling/evaluation-error-tl-await.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/error-handling/evaluation-error-tl-await.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/error-handling/evaluation-error-tl-await.js diff --git a/packages/rspack/tests/configCases/container-1-5/error-handling/evaluation-error.js b/packages/rspack-test-tools/tests/configCases/container-1-5/error-handling/evaluation-error.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/error-handling/evaluation-error.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/error-handling/evaluation-error.js diff --git a/packages/rspack/tests/configCases/container-1-5/error-handling/index.js b/packages/rspack-test-tools/tests/configCases/container-1-5/error-handling/index.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/error-handling/index.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/error-handling/index.js diff --git a/packages/rspack/tests/configCases/container-1-5/error-handling/invalid-module-cjs.js b/packages/rspack-test-tools/tests/configCases/container-1-5/error-handling/invalid-module-cjs.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/error-handling/invalid-module-cjs.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/error-handling/invalid-module-cjs.js diff --git a/packages/rspack/tests/configCases/container-1-5/error-handling/invalid-module-tl-await.js b/packages/rspack-test-tools/tests/configCases/container-1-5/error-handling/invalid-module-tl-await.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/error-handling/invalid-module-tl-await.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/error-handling/invalid-module-tl-await.js diff --git a/packages/rspack/tests/configCases/container-1-5/error-handling/invalid-module.js b/packages/rspack-test-tools/tests/configCases/container-1-5/error-handling/invalid-module.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/error-handling/invalid-module.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/error-handling/invalid-module.js diff --git a/packages/rspack/tests/configCases/container-1-5/error-handling/loading-error-cjs.js b/packages/rspack-test-tools/tests/configCases/container-1-5/error-handling/loading-error-cjs.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/error-handling/loading-error-cjs.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/error-handling/loading-error-cjs.js diff --git a/packages/rspack/tests/configCases/container-1-5/error-handling/loading-error-tl-await.js b/packages/rspack-test-tools/tests/configCases/container-1-5/error-handling/loading-error-tl-await.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/error-handling/loading-error-tl-await.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/error-handling/loading-error-tl-await.js diff --git a/packages/rspack/tests/configCases/container-1-5/error-handling/loading-error.js b/packages/rspack-test-tools/tests/configCases/container-1-5/error-handling/loading-error.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/error-handling/loading-error.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/error-handling/loading-error.js diff --git a/packages/rspack/tests/configCases/container-1-5/error-handling/module.js b/packages/rspack-test-tools/tests/configCases/container-1-5/error-handling/module.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/error-handling/module.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/error-handling/module.js diff --git a/packages/rspack/tests/configCases/container-1-5/error-handling/webpack.config.js b/packages/rspack-test-tools/tests/configCases/container-1-5/error-handling/webpack.config.js similarity index 88% rename from packages/rspack/tests/configCases/container-1-5/error-handling/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/error-handling/webpack.config.js index 06f0b652a68..8632b4e9812 100644 --- a/packages/rspack/tests/configCases/container-1-5/error-handling/webpack.config.js +++ b/packages/rspack-test-tools/tests/configCases/container-1-5/error-handling/webpack.config.js @@ -1,4 +1,4 @@ -const { ModuleFederationPlugin } = require("../../../../").container; +const { ModuleFederationPlugin } = require("@rspack/core").container; /** @type {import("@rspack/core").Configuration} */ module.exports = { diff --git a/packages/rspack/tests/configCases/container-1-5/exposed-overridables/App.js b/packages/rspack-test-tools/tests/configCases/container-1-5/exposed-overridables/App.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/exposed-overridables/App.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/exposed-overridables/App.js diff --git a/packages/rspack/tests/configCases/container-1-5/exposed-overridables/Button.js b/packages/rspack-test-tools/tests/configCases/container-1-5/exposed-overridables/Button.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/exposed-overridables/Button.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/exposed-overridables/Button.js diff --git a/packages/rspack/tests/configCases/container-1-5/exposed-overridables/index.js b/packages/rspack-test-tools/tests/configCases/container-1-5/exposed-overridables/index.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/exposed-overridables/index.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/exposed-overridables/index.js diff --git a/packages/rspack/tests/configCases/container-1-5/exposed-overridables/node_modules/package.json b/packages/rspack-test-tools/tests/configCases/container-1-5/exposed-overridables/node_modules/package.json similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/exposed-overridables/node_modules/package.json rename to packages/rspack-test-tools/tests/configCases/container-1-5/exposed-overridables/node_modules/package.json diff --git a/packages/rspack/tests/configCases/container-1-5/exposed-overridables/node_modules/react.js b/packages/rspack-test-tools/tests/configCases/container-1-5/exposed-overridables/node_modules/react.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/exposed-overridables/node_modules/react.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/exposed-overridables/node_modules/react.js diff --git a/packages/rspack/tests/configCases/container-1-5/exposed-overridables/package.json b/packages/rspack-test-tools/tests/configCases/container-1-5/exposed-overridables/package.json similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/exposed-overridables/package.json rename to packages/rspack-test-tools/tests/configCases/container-1-5/exposed-overridables/package.json diff --git a/packages/rspack/tests/configCases/container-1-5/exposed-overridables/webpack.config.js b/packages/rspack-test-tools/tests/configCases/container-1-5/exposed-overridables/webpack.config.js similarity index 84% rename from packages/rspack/tests/configCases/container-1-5/exposed-overridables/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/exposed-overridables/webpack.config.js index e572d45dcca..3d34957c549 100644 --- a/packages/rspack/tests/configCases/container-1-5/exposed-overridables/webpack.config.js +++ b/packages/rspack-test-tools/tests/configCases/container-1-5/exposed-overridables/webpack.config.js @@ -1,5 +1,5 @@ // eslint-disable-next-line node/no-unpublished-require -const { ModuleFederationPlugin } = require("../../../../").container; +const { ModuleFederationPlugin } = require("@rspack/core").container; /** @type {import("@rspack/core").Configuration} */ module.exports = { diff --git a/packages/rspack/tests/configCases/container-1-5/fallback-context/src/index.js b/packages/rspack-test-tools/tests/configCases/container-1-5/fallback-context/src/index.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/fallback-context/src/index.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/fallback-context/src/index.js diff --git a/packages/rspack/tests/configCases/container-1-5/fallback-context/src/shared.js b/packages/rspack-test-tools/tests/configCases/container-1-5/fallback-context/src/shared.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/fallback-context/src/shared.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/fallback-context/src/shared.js diff --git a/packages/rspack/tests/configCases/container-1-5/fallback-context/webpack.config.js b/packages/rspack-test-tools/tests/configCases/container-1-5/fallback-context/webpack.config.js similarity index 74% rename from packages/rspack/tests/configCases/container-1-5/fallback-context/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/fallback-context/webpack.config.js index ff7c2198f04..6850017ee12 100644 --- a/packages/rspack/tests/configCases/container-1-5/fallback-context/webpack.config.js +++ b/packages/rspack-test-tools/tests/configCases/container-1-5/fallback-context/webpack.config.js @@ -1,4 +1,4 @@ -const { ModuleFederationPlugin } = require("../../../../").container; +const { ModuleFederationPlugin } = require("@rspack/core").container; /** @type {import("@rspack/core").Configuration} */ module.exports = { diff --git a/packages/rspack/tests/configCases/container-1-5/federation-instance-in-runtime-plugin/bootstrap.js b/packages/rspack-test-tools/tests/configCases/container-1-5/federation-instance-in-runtime-plugin/bootstrap.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/federation-instance-in-runtime-plugin/bootstrap.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/federation-instance-in-runtime-plugin/bootstrap.js diff --git a/packages/rspack/tests/configCases/container-1-5/federation-instance-in-runtime-plugin/index.js b/packages/rspack-test-tools/tests/configCases/container-1-5/federation-instance-in-runtime-plugin/index.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/federation-instance-in-runtime-plugin/index.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/federation-instance-in-runtime-plugin/index.js diff --git a/packages/rspack/tests/configCases/container-1-5/federation-instance-in-runtime-plugin/plugin.js b/packages/rspack-test-tools/tests/configCases/container-1-5/federation-instance-in-runtime-plugin/plugin.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/federation-instance-in-runtime-plugin/plugin.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/federation-instance-in-runtime-plugin/plugin.js diff --git a/packages/rspack/tests/configCases/container-1-5/federation-instance-in-runtime-plugin/webpack.config.js b/packages/rspack-test-tools/tests/configCases/container-1-5/federation-instance-in-runtime-plugin/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/federation-instance-in-runtime-plugin/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/federation-instance-in-runtime-plugin/webpack.config.js diff --git a/packages/rspack/tests/configCases/container-1-5/module-federation-with-shareScope/App.js b/packages/rspack-test-tools/tests/configCases/container-1-5/module-federation-with-shareScope/App.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/module-federation-with-shareScope/App.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/module-federation-with-shareScope/App.js diff --git a/packages/rspack/tests/configCases/container-1-5/module-federation-with-shareScope/ComponentB.js b/packages/rspack-test-tools/tests/configCases/container-1-5/module-federation-with-shareScope/ComponentB.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/module-federation-with-shareScope/ComponentB.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/module-federation-with-shareScope/ComponentB.js diff --git a/packages/rspack/tests/configCases/container-1-5/module-federation-with-shareScope/ComponentC.js b/packages/rspack-test-tools/tests/configCases/container-1-5/module-federation-with-shareScope/ComponentC.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/module-federation-with-shareScope/ComponentC.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/module-federation-with-shareScope/ComponentC.js diff --git a/packages/rspack/tests/configCases/container-1-5/module-federation-with-shareScope/index.js b/packages/rspack-test-tools/tests/configCases/container-1-5/module-federation-with-shareScope/index.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/module-federation-with-shareScope/index.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/module-federation-with-shareScope/index.js diff --git a/packages/rspack/tests/configCases/container-1-5/module-federation-with-shareScope/node_modules/package.json b/packages/rspack-test-tools/tests/configCases/container-1-5/module-federation-with-shareScope/node_modules/package.json similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/module-federation-with-shareScope/node_modules/package.json rename to packages/rspack-test-tools/tests/configCases/container-1-5/module-federation-with-shareScope/node_modules/package.json diff --git a/packages/rspack/tests/configCases/container-1-5/module-federation-with-shareScope/node_modules/react.js b/packages/rspack-test-tools/tests/configCases/container-1-5/module-federation-with-shareScope/node_modules/react.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/module-federation-with-shareScope/node_modules/react.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/module-federation-with-shareScope/node_modules/react.js diff --git a/packages/rspack/tests/configCases/container-1-5/module-federation-with-shareScope/package.json b/packages/rspack-test-tools/tests/configCases/container-1-5/module-federation-with-shareScope/package.json similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/module-federation-with-shareScope/package.json rename to packages/rspack-test-tools/tests/configCases/container-1-5/module-federation-with-shareScope/package.json diff --git a/packages/rspack/tests/configCases/container-1-5/module-federation-with-shareScope/test.config.js b/packages/rspack-test-tools/tests/configCases/container-1-5/module-federation-with-shareScope/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/module-federation-with-shareScope/test.config.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/module-federation-with-shareScope/test.config.js diff --git a/packages/rspack/tests/configCases/container-1-5/module-federation-with-shareScope/upgrade-react.js b/packages/rspack-test-tools/tests/configCases/container-1-5/module-federation-with-shareScope/upgrade-react.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/module-federation-with-shareScope/upgrade-react.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/module-federation-with-shareScope/upgrade-react.js diff --git a/packages/rspack/tests/configCases/container-1-5/module-federation-with-shareScope/webpack.config.js b/packages/rspack-test-tools/tests/configCases/container-1-5/module-federation-with-shareScope/webpack.config.js similarity index 95% rename from packages/rspack/tests/configCases/container-1-5/module-federation-with-shareScope/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/module-federation-with-shareScope/webpack.config.js index e8e9a4bec4d..32107ab4118 100644 --- a/packages/rspack/tests/configCases/container-1-5/module-federation-with-shareScope/webpack.config.js +++ b/packages/rspack-test-tools/tests/configCases/container-1-5/module-federation-with-shareScope/webpack.config.js @@ -1,4 +1,4 @@ -const { ModuleFederationPlugin } = require("../../../../").container; +const { ModuleFederationPlugin } = require("@rspack/core").container; const common = { entry: { diff --git a/packages/rspack/tests/configCases/container-1-5/module-federation/dep.js b/packages/rspack-test-tools/tests/configCases/container-1-5/module-federation/dep.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/module-federation/dep.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/module-federation/dep.js diff --git a/packages/rspack/tests/configCases/container-1-5/module-federation/index.js b/packages/rspack-test-tools/tests/configCases/container-1-5/module-federation/index.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/module-federation/index.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/module-federation/index.js diff --git a/packages/rspack/tests/configCases/container-1-5/module-federation/module.js b/packages/rspack-test-tools/tests/configCases/container-1-5/module-federation/module.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/module-federation/module.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/module-federation/module.js diff --git a/packages/rspack/tests/configCases/container-1-5/module-federation/other.js b/packages/rspack-test-tools/tests/configCases/container-1-5/module-federation/other.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/module-federation/other.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/module-federation/other.js diff --git a/packages/rspack/tests/configCases/container-1-5/module-federation/self.js b/packages/rspack-test-tools/tests/configCases/container-1-5/module-federation/self.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/module-federation/self.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/module-federation/self.js diff --git a/packages/rspack/tests/configCases/container-1-5/module-federation/test.config.js b/packages/rspack-test-tools/tests/configCases/container-1-5/module-federation/test.config.js similarity index 89% rename from packages/rspack/tests/configCases/container-1-5/module-federation/test.config.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/module-federation/test.config.js index 3a6f27d21a5..0abeb0f508a 100644 --- a/packages/rspack/tests/configCases/container-1-5/module-federation/test.config.js +++ b/packages/rspack-test-tools/tests/configCases/container-1-5/module-federation/test.config.js @@ -1,4 +1,4 @@ -const System = require("../../../helpers/fakeSystem"); +const System = require("../../../../dist/helper/legacy/fakeSystem"); module.exports = { beforeExecute: () => { diff --git a/packages/rspack/tests/configCases/container-1-5/module-federation/webpack.config.js b/packages/rspack-test-tools/tests/configCases/container-1-5/module-federation/webpack.config.js similarity index 91% rename from packages/rspack/tests/configCases/container-1-5/module-federation/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/module-federation/webpack.config.js index 581faaa35c3..84949e89566 100644 --- a/packages/rspack/tests/configCases/container-1-5/module-federation/webpack.config.js +++ b/packages/rspack-test-tools/tests/configCases/container-1-5/module-federation/webpack.config.js @@ -1,4 +1,4 @@ -const { ModuleFederationPlugin } = require("../../../../").container; +const { ModuleFederationPlugin } = require("@rspack/core").container; function createConfig() { return { diff --git a/packages/rspack/tests/configCases/container-1-5/no-shared/index.js b/packages/rspack-test-tools/tests/configCases/container-1-5/no-shared/index.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/no-shared/index.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/no-shared/index.js diff --git a/packages/rspack/tests/configCases/container-1-5/no-shared/module.js b/packages/rspack-test-tools/tests/configCases/container-1-5/no-shared/module.js similarity index 100% rename from packages/rspack/tests/configCases/container-1-5/no-shared/module.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/no-shared/module.js diff --git a/packages/rspack/tests/configCases/container-1-5/no-shared/webpack.config.js b/packages/rspack-test-tools/tests/configCases/container-1-5/no-shared/webpack.config.js similarity index 79% rename from packages/rspack/tests/configCases/container-1-5/no-shared/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/container-1-5/no-shared/webpack.config.js index d19353354ba..7f3add84ca4 100644 --- a/packages/rspack/tests/configCases/container-1-5/no-shared/webpack.config.js +++ b/packages/rspack-test-tools/tests/configCases/container-1-5/no-shared/webpack.config.js @@ -1,4 +1,4 @@ -const { ModuleFederationPlugin } = require("../../../../").container; +const { ModuleFederationPlugin } = require("@rspack/core").container; /** @type {import("@rspack/core").Configuration} */ module.exports = { diff --git a/packages/rspack/tests/configCases/css-loader/css-modules-classname/index.js b/packages/rspack-test-tools/tests/configCases/css-loader/css-modules-classname/index.js similarity index 100% rename from packages/rspack/tests/configCases/css-loader/css-modules-classname/index.js rename to packages/rspack-test-tools/tests/configCases/css-loader/css-modules-classname/index.js diff --git a/packages/rspack/tests/configCases/css-loader/css-modules-classname/index.module.css b/packages/rspack-test-tools/tests/configCases/css-loader/css-modules-classname/index.module.css similarity index 100% rename from packages/rspack/tests/configCases/css-loader/css-modules-classname/index.module.css rename to packages/rspack-test-tools/tests/configCases/css-loader/css-modules-classname/index.module.css diff --git a/packages/rspack/tests/configCases/css-loader/css-modules-classname/webpack.config.js b/packages/rspack-test-tools/tests/configCases/css-loader/css-modules-classname/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/css-loader/css-modules-classname/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/css-loader/css-modules-classname/webpack.config.js diff --git a/packages/rspack/tests/configCases/css/at-import-in-the-top/a.css b/packages/rspack-test-tools/tests/configCases/css/at-import-in-the-top/a.css similarity index 100% rename from packages/rspack/tests/configCases/css/at-import-in-the-top/a.css rename to packages/rspack-test-tools/tests/configCases/css/at-import-in-the-top/a.css diff --git a/packages/rspack/tests/configCases/css/at-import-in-the-top/b.css b/packages/rspack-test-tools/tests/configCases/css/at-import-in-the-top/b.css similarity index 100% rename from packages/rspack/tests/configCases/css/at-import-in-the-top/b.css rename to packages/rspack-test-tools/tests/configCases/css/at-import-in-the-top/b.css diff --git a/packages/rspack/tests/configCases/css/at-import-in-the-top/c.css b/packages/rspack-test-tools/tests/configCases/css/at-import-in-the-top/c.css similarity index 100% rename from packages/rspack/tests/configCases/css/at-import-in-the-top/c.css rename to packages/rspack-test-tools/tests/configCases/css/at-import-in-the-top/c.css diff --git a/packages/rspack/tests/configCases/css/at-import-in-the-top/index.js b/packages/rspack-test-tools/tests/configCases/css/at-import-in-the-top/index.js similarity index 100% rename from packages/rspack/tests/configCases/css/at-import-in-the-top/index.js rename to packages/rspack-test-tools/tests/configCases/css/at-import-in-the-top/index.js diff --git a/packages/rspack/tests/configCases/css/at-import-in-the-top/webpack.config.js b/packages/rspack-test-tools/tests/configCases/css/at-import-in-the-top/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/css/at-import-in-the-top/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/css/at-import-in-the-top/webpack.config.js diff --git a/packages/rspack/tests/configCases/css/css-cross-origin-loading-use-credentials/chunk.css b/packages/rspack-test-tools/tests/configCases/css/css-cross-origin-loading-use-credentials/chunk.css similarity index 100% rename from packages/rspack/tests/configCases/css/css-cross-origin-loading-use-credentials/chunk.css rename to packages/rspack-test-tools/tests/configCases/css/css-cross-origin-loading-use-credentials/chunk.css diff --git a/packages/rspack/tests/configCases/css/css-cross-origin-loading-use-credentials/index.js b/packages/rspack-test-tools/tests/configCases/css/css-cross-origin-loading-use-credentials/index.js similarity index 100% rename from packages/rspack/tests/configCases/css/css-cross-origin-loading-use-credentials/index.js rename to packages/rspack-test-tools/tests/configCases/css/css-cross-origin-loading-use-credentials/index.js diff --git a/packages/rspack/tests/configCases/css/css-cross-origin-loading-use-credentials/webpack.config.js b/packages/rspack-test-tools/tests/configCases/css/css-cross-origin-loading-use-credentials/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/css/css-cross-origin-loading-use-credentials/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/css/css-cross-origin-loading-use-credentials/webpack.config.js diff --git a/packages/rspack/tests/configCases/css/css-cross-origin-loading/chunk.css b/packages/rspack-test-tools/tests/configCases/css/css-cross-origin-loading/chunk.css similarity index 100% rename from packages/rspack/tests/configCases/css/css-cross-origin-loading/chunk.css rename to packages/rspack-test-tools/tests/configCases/css/css-cross-origin-loading/chunk.css diff --git a/packages/rspack/tests/configCases/css/css-cross-origin-loading/index.js b/packages/rspack-test-tools/tests/configCases/css/css-cross-origin-loading/index.js similarity index 100% rename from packages/rspack/tests/configCases/css/css-cross-origin-loading/index.js rename to packages/rspack-test-tools/tests/configCases/css/css-cross-origin-loading/index.js diff --git a/packages/rspack/tests/configCases/css/css-cross-origin-loading/webpack.config.js b/packages/rspack-test-tools/tests/configCases/css/css-cross-origin-loading/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/css/css-cross-origin-loading/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/css/css-cross-origin-loading/webpack.config.js diff --git a/packages/rspack/tests/configCases/css/experiments-css-off/errors.js b/packages/rspack-test-tools/tests/configCases/css/experiments-css-off/errors.js similarity index 100% rename from packages/rspack/tests/configCases/css/experiments-css-off/errors.js rename to packages/rspack-test-tools/tests/configCases/css/experiments-css-off/errors.js diff --git a/packages/rspack/tests/configCases/css/experiments-css-off/index.css b/packages/rspack-test-tools/tests/configCases/css/experiments-css-off/index.css similarity index 100% rename from packages/rspack/tests/configCases/css/experiments-css-off/index.css rename to packages/rspack-test-tools/tests/configCases/css/experiments-css-off/index.css diff --git a/packages/rspack/tests/configCases/css/experiments-css-off/index.js b/packages/rspack-test-tools/tests/configCases/css/experiments-css-off/index.js similarity index 100% rename from packages/rspack/tests/configCases/css/experiments-css-off/index.js rename to packages/rspack-test-tools/tests/configCases/css/experiments-css-off/index.js diff --git a/packages/rspack/tests/configCases/css/experiments-css-off/webpack.config.js b/packages/rspack-test-tools/tests/configCases/css/experiments-css-off/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/css/experiments-css-off/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/css/experiments-css-off/webpack.config.js diff --git a/packages/rspack/tests/configCases/css/export-selector/imported.js b/packages/rspack-test-tools/tests/configCases/css/export-selector/imported.js similarity index 100% rename from packages/rspack/tests/configCases/css/export-selector/imported.js rename to packages/rspack-test-tools/tests/configCases/css/export-selector/imported.js diff --git a/packages/rspack/tests/configCases/css/export-selector/index.js b/packages/rspack-test-tools/tests/configCases/css/export-selector/index.js similarity index 100% rename from packages/rspack/tests/configCases/css/export-selector/index.js rename to packages/rspack-test-tools/tests/configCases/css/export-selector/index.js diff --git a/packages/rspack/tests/configCases/css/export-selector/reexported.js b/packages/rspack-test-tools/tests/configCases/css/export-selector/reexported.js similarity index 100% rename from packages/rspack/tests/configCases/css/export-selector/reexported.js rename to packages/rspack-test-tools/tests/configCases/css/export-selector/reexported.js diff --git a/packages/rspack/tests/configCases/css/export-selector/style.module.css b/packages/rspack-test-tools/tests/configCases/css/export-selector/style.module.css similarity index 100% rename from packages/rspack/tests/configCases/css/export-selector/style.module.css rename to packages/rspack-test-tools/tests/configCases/css/export-selector/style.module.css diff --git a/packages/rspack/tests/configCases/css/export-selector/webpack.config.js b/packages/rspack-test-tools/tests/configCases/css/export-selector/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/css/export-selector/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/css/export-selector/webpack.config.js diff --git a/packages/rspack/tests/configCases/css/rewrite-url-auto-public-path/index.css b/packages/rspack-test-tools/tests/configCases/css/rewrite-url-auto-public-path/index.css similarity index 100% rename from packages/rspack/tests/configCases/css/rewrite-url-auto-public-path/index.css rename to packages/rspack-test-tools/tests/configCases/css/rewrite-url-auto-public-path/index.css diff --git a/packages/rspack/tests/configCases/css/rewrite-url-auto-public-path/index.js b/packages/rspack-test-tools/tests/configCases/css/rewrite-url-auto-public-path/index.js similarity index 100% rename from packages/rspack/tests/configCases/css/rewrite-url-auto-public-path/index.js rename to packages/rspack-test-tools/tests/configCases/css/rewrite-url-auto-public-path/index.js diff --git a/packages/rspack/tests/configCases/css/rewrite-url-auto-public-path/logo.png b/packages/rspack-test-tools/tests/configCases/css/rewrite-url-auto-public-path/logo.png similarity index 100% rename from packages/rspack/tests/configCases/css/rewrite-url-auto-public-path/logo.png rename to packages/rspack-test-tools/tests/configCases/css/rewrite-url-auto-public-path/logo.png diff --git a/packages/rspack/tests/configCases/css/rewrite-url-auto-public-path/warnings.js b/packages/rspack-test-tools/tests/configCases/css/rewrite-url-auto-public-path/warnings.js similarity index 100% rename from packages/rspack/tests/configCases/css/rewrite-url-auto-public-path/warnings.js rename to packages/rspack-test-tools/tests/configCases/css/rewrite-url-auto-public-path/warnings.js diff --git a/packages/rspack/tests/configCases/css/rewrite-url-auto-public-path/webpack.config.js b/packages/rspack-test-tools/tests/configCases/css/rewrite-url-auto-public-path/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/css/rewrite-url-auto-public-path/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/css/rewrite-url-auto-public-path/webpack.config.js diff --git a/packages/rspack/tests/configCases/css/rewrite-url-css-variables/index.css b/packages/rspack-test-tools/tests/configCases/css/rewrite-url-css-variables/index.css similarity index 100% rename from packages/rspack/tests/configCases/css/rewrite-url-css-variables/index.css rename to packages/rspack-test-tools/tests/configCases/css/rewrite-url-css-variables/index.css diff --git a/packages/rspack/tests/configCases/css/rewrite-url-css-variables/index.js b/packages/rspack-test-tools/tests/configCases/css/rewrite-url-css-variables/index.js similarity index 100% rename from packages/rspack/tests/configCases/css/rewrite-url-css-variables/index.js rename to packages/rspack-test-tools/tests/configCases/css/rewrite-url-css-variables/index.js diff --git a/packages/rspack/tests/configCases/css/rewrite-url-css-variables/logo.png b/packages/rspack-test-tools/tests/configCases/css/rewrite-url-css-variables/logo.png similarity index 100% rename from packages/rspack/tests/configCases/css/rewrite-url-css-variables/logo.png rename to packages/rspack-test-tools/tests/configCases/css/rewrite-url-css-variables/logo.png diff --git a/packages/rspack/tests/configCases/css/rewrite-url-css-variables/webpack.config.js b/packages/rspack-test-tools/tests/configCases/css/rewrite-url-css-variables/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/css/rewrite-url-css-variables/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/css/rewrite-url-css-variables/webpack.config.js diff --git a/packages/rspack/tests/configCases/css/rewrite-url-rule-public-path/index.css b/packages/rspack-test-tools/tests/configCases/css/rewrite-url-rule-public-path/index.css similarity index 100% rename from packages/rspack/tests/configCases/css/rewrite-url-rule-public-path/index.css rename to packages/rspack-test-tools/tests/configCases/css/rewrite-url-rule-public-path/index.css diff --git a/packages/rspack/tests/configCases/css/rewrite-url-rule-public-path/index.js b/packages/rspack-test-tools/tests/configCases/css/rewrite-url-rule-public-path/index.js similarity index 100% rename from packages/rspack/tests/configCases/css/rewrite-url-rule-public-path/index.js rename to packages/rspack-test-tools/tests/configCases/css/rewrite-url-rule-public-path/index.js diff --git a/packages/rspack/tests/configCases/css/rewrite-url-rule-public-path/logo.png b/packages/rspack-test-tools/tests/configCases/css/rewrite-url-rule-public-path/logo.png similarity index 100% rename from packages/rspack/tests/configCases/css/rewrite-url-rule-public-path/logo.png rename to packages/rspack-test-tools/tests/configCases/css/rewrite-url-rule-public-path/logo.png diff --git a/packages/rspack/tests/configCases/css/rewrite-url-rule-public-path/webpack.config.js b/packages/rspack-test-tools/tests/configCases/css/rewrite-url-rule-public-path/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/css/rewrite-url-rule-public-path/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/css/rewrite-url-rule-public-path/webpack.config.js diff --git a/packages/rspack/tests/configCases/css/rewrite-url-with-css-filename/index.css b/packages/rspack-test-tools/tests/configCases/css/rewrite-url-with-css-filename/index.css similarity index 100% rename from packages/rspack/tests/configCases/css/rewrite-url-with-css-filename/index.css rename to packages/rspack-test-tools/tests/configCases/css/rewrite-url-with-css-filename/index.css diff --git a/packages/rspack/tests/configCases/css/rewrite-url-with-css-filename/index.js b/packages/rspack-test-tools/tests/configCases/css/rewrite-url-with-css-filename/index.js similarity index 100% rename from packages/rspack/tests/configCases/css/rewrite-url-with-css-filename/index.js rename to packages/rspack-test-tools/tests/configCases/css/rewrite-url-with-css-filename/index.js diff --git a/packages/rspack/tests/configCases/css/rewrite-url-with-css-filename/logo.png b/packages/rspack-test-tools/tests/configCases/css/rewrite-url-with-css-filename/logo.png similarity index 100% rename from packages/rspack/tests/configCases/css/rewrite-url-with-css-filename/logo.png rename to packages/rspack-test-tools/tests/configCases/css/rewrite-url-with-css-filename/logo.png diff --git a/packages/rspack/tests/configCases/css/rewrite-url-with-css-filename/warnings.js b/packages/rspack-test-tools/tests/configCases/css/rewrite-url-with-css-filename/warnings.js similarity index 100% rename from packages/rspack/tests/configCases/css/rewrite-url-with-css-filename/warnings.js rename to packages/rspack-test-tools/tests/configCases/css/rewrite-url-with-css-filename/warnings.js diff --git a/packages/rspack/tests/configCases/css/rewrite-url-with-css-filename/webpack.config.js b/packages/rspack-test-tools/tests/configCases/css/rewrite-url-with-css-filename/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/css/rewrite-url-with-css-filename/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/css/rewrite-url-with-css-filename/webpack.config.js diff --git a/packages/rspack/tests/configCases/css/rewrite-url-with-data-url/index.css b/packages/rspack-test-tools/tests/configCases/css/rewrite-url-with-data-url/index.css similarity index 100% rename from packages/rspack/tests/configCases/css/rewrite-url-with-data-url/index.css rename to packages/rspack-test-tools/tests/configCases/css/rewrite-url-with-data-url/index.css diff --git a/packages/rspack/tests/configCases/css/rewrite-url-with-data-url/index.js b/packages/rspack-test-tools/tests/configCases/css/rewrite-url-with-data-url/index.js similarity index 100% rename from packages/rspack/tests/configCases/css/rewrite-url-with-data-url/index.js rename to packages/rspack-test-tools/tests/configCases/css/rewrite-url-with-data-url/index.js diff --git a/packages/rspack/tests/configCases/css/rewrite-url-with-data-url/logo.png b/packages/rspack-test-tools/tests/configCases/css/rewrite-url-with-data-url/logo.png similarity index 100% rename from packages/rspack/tests/configCases/css/rewrite-url-with-data-url/logo.png rename to packages/rspack-test-tools/tests/configCases/css/rewrite-url-with-data-url/logo.png diff --git a/packages/rspack/tests/configCases/css/rewrite-url-with-data-url/webpack.config.js b/packages/rspack-test-tools/tests/configCases/css/rewrite-url-with-data-url/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/css/rewrite-url-with-data-url/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/css/rewrite-url-with-data-url/webpack.config.js diff --git a/packages/rspack/tests/configCases/css/rewrite-url/index.css b/packages/rspack-test-tools/tests/configCases/css/rewrite-url/index.css similarity index 100% rename from packages/rspack/tests/configCases/css/rewrite-url/index.css rename to packages/rspack-test-tools/tests/configCases/css/rewrite-url/index.css diff --git a/packages/rspack/tests/configCases/css/rewrite-url/index.js b/packages/rspack-test-tools/tests/configCases/css/rewrite-url/index.js similarity index 100% rename from packages/rspack/tests/configCases/css/rewrite-url/index.js rename to packages/rspack-test-tools/tests/configCases/css/rewrite-url/index.js diff --git a/packages/rspack/tests/configCases/css/rewrite-url/logo.png b/packages/rspack-test-tools/tests/configCases/css/rewrite-url/logo.png similarity index 100% rename from packages/rspack/tests/configCases/css/rewrite-url/logo.png rename to packages/rspack-test-tools/tests/configCases/css/rewrite-url/logo.png diff --git a/packages/rspack/tests/configCases/css/rewrite-url/webpack.config.js b/packages/rspack-test-tools/tests/configCases/css/rewrite-url/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/css/rewrite-url/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/css/rewrite-url/webpack.config.js diff --git a/packages/rspack/tests/configCases/css/rspack-issue-4258/index.css b/packages/rspack-test-tools/tests/configCases/css/rspack-issue-4258/index.css similarity index 100% rename from packages/rspack/tests/configCases/css/rspack-issue-4258/index.css rename to packages/rspack-test-tools/tests/configCases/css/rspack-issue-4258/index.css diff --git a/packages/rspack/tests/configCases/css/rspack-issue-4258/index.js b/packages/rspack-test-tools/tests/configCases/css/rspack-issue-4258/index.js similarity index 100% rename from packages/rspack/tests/configCases/css/rspack-issue-4258/index.js rename to packages/rspack-test-tools/tests/configCases/css/rspack-issue-4258/index.js diff --git a/packages/rspack/tests/configCases/css/rspack-issue-4258/webpack.config.js b/packages/rspack-test-tools/tests/configCases/css/rspack-issue-4258/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/css/rspack-issue-4258/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/css/rspack-issue-4258/webpack.config.js diff --git a/packages/rspack/tests/configCases/css/rspack-issue-4844/a.module.css b/packages/rspack-test-tools/tests/configCases/css/rspack-issue-4844/a.module.css similarity index 100% rename from packages/rspack/tests/configCases/css/rspack-issue-4844/a.module.css rename to packages/rspack-test-tools/tests/configCases/css/rspack-issue-4844/a.module.css diff --git a/packages/rspack/tests/configCases/css/rspack-issue-4844/css.js b/packages/rspack-test-tools/tests/configCases/css/rspack-issue-4844/css.js similarity index 100% rename from packages/rspack/tests/configCases/css/rspack-issue-4844/css.js rename to packages/rspack-test-tools/tests/configCases/css/rspack-issue-4844/css.js diff --git a/packages/rspack/tests/configCases/css/rspack-issue-4844/index.js b/packages/rspack-test-tools/tests/configCases/css/rspack-issue-4844/index.js similarity index 100% rename from packages/rspack/tests/configCases/css/rspack-issue-4844/index.js rename to packages/rspack-test-tools/tests/configCases/css/rspack-issue-4844/index.js diff --git a/packages/rspack/tests/configCases/css/rspack-issue-4844/test.config.js b/packages/rspack-test-tools/tests/configCases/css/rspack-issue-4844/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/css/rspack-issue-4844/test.config.js rename to packages/rspack-test-tools/tests/configCases/css/rspack-issue-4844/test.config.js diff --git a/packages/rspack/tests/configCases/css/rspack-issue-4844/webpack.config.js b/packages/rspack-test-tools/tests/configCases/css/rspack-issue-4844/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/css/rspack-issue-4844/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/css/rspack-issue-4844/webpack.config.js diff --git a/packages/rspack/tests/configCases/css/urls/img'() img.png b/packages/rspack-test-tools/tests/configCases/css/urls/img'() img.png similarity index 100% rename from packages/rspack/tests/configCases/css/urls/img'() img.png rename to packages/rspack-test-tools/tests/configCases/css/urls/img'() img.png diff --git a/packages/rspack/tests/configCases/css/urls/img.png b/packages/rspack-test-tools/tests/configCases/css/urls/img.png similarity index 100% rename from packages/rspack/tests/configCases/css/urls/img.png rename to packages/rspack-test-tools/tests/configCases/css/urls/img.png diff --git a/packages/rspack/tests/configCases/css/urls/index.js b/packages/rspack-test-tools/tests/configCases/css/urls/index.js similarity index 100% rename from packages/rspack/tests/configCases/css/urls/index.js rename to packages/rspack-test-tools/tests/configCases/css/urls/index.js diff --git a/packages/rspack/tests/configCases/css/urls/urls.css b/packages/rspack-test-tools/tests/configCases/css/urls/urls.css similarity index 100% rename from packages/rspack/tests/configCases/css/urls/urls.css rename to packages/rspack-test-tools/tests/configCases/css/urls/urls.css diff --git a/packages/rspack/tests/configCases/css/urls/webpack.config.js b/packages/rspack-test-tools/tests/configCases/css/urls/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/css/urls/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/css/urls/webpack.config.js diff --git a/packages/rspack/tests/configCases/entry/chunk-loading/a.js b/packages/rspack-test-tools/tests/configCases/entry/chunk-loading/a.js similarity index 100% rename from packages/rspack/tests/configCases/entry/chunk-loading/a.js rename to packages/rspack-test-tools/tests/configCases/entry/chunk-loading/a.js diff --git a/packages/rspack/tests/configCases/entry/chunk-loading/async.js b/packages/rspack-test-tools/tests/configCases/entry/chunk-loading/async.js similarity index 100% rename from packages/rspack/tests/configCases/entry/chunk-loading/async.js rename to packages/rspack-test-tools/tests/configCases/entry/chunk-loading/async.js diff --git a/packages/rspack/tests/configCases/entry/chunk-loading/b.js b/packages/rspack-test-tools/tests/configCases/entry/chunk-loading/b.js similarity index 100% rename from packages/rspack/tests/configCases/entry/chunk-loading/b.js rename to packages/rspack-test-tools/tests/configCases/entry/chunk-loading/b.js diff --git a/packages/rspack/tests/configCases/entry/chunk-loading/test.config.js b/packages/rspack-test-tools/tests/configCases/entry/chunk-loading/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/entry/chunk-loading/test.config.js rename to packages/rspack-test-tools/tests/configCases/entry/chunk-loading/test.config.js diff --git a/packages/rspack/tests/configCases/entry/chunk-loading/webpack.config.js b/packages/rspack-test-tools/tests/configCases/entry/chunk-loading/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/entry/chunk-loading/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/entry/chunk-loading/webpack.config.js diff --git a/packages/rspack/tests/configCases/entry/evaluation-order/before.js b/packages/rspack-test-tools/tests/configCases/entry/evaluation-order/before.js similarity index 100% rename from packages/rspack/tests/configCases/entry/evaluation-order/before.js rename to packages/rspack-test-tools/tests/configCases/entry/evaluation-order/before.js diff --git a/packages/rspack/tests/configCases/entry/evaluation-order/index.js b/packages/rspack-test-tools/tests/configCases/entry/evaluation-order/index.js similarity index 100% rename from packages/rspack/tests/configCases/entry/evaluation-order/index.js rename to packages/rspack-test-tools/tests/configCases/entry/evaluation-order/index.js diff --git a/packages/rspack/tests/configCases/entry/evaluation-order/webpack.config.js b/packages/rspack-test-tools/tests/configCases/entry/evaluation-order/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/entry/evaluation-order/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/entry/evaluation-order/webpack.config.js diff --git a/packages/rspack/tests/configCases/entry/filename/index.js b/packages/rspack-test-tools/tests/configCases/entry/filename/index.js similarity index 100% rename from packages/rspack/tests/configCases/entry/filename/index.js rename to packages/rspack-test-tools/tests/configCases/entry/filename/index.js diff --git a/packages/rspack/tests/configCases/entry/filename/test.config.js b/packages/rspack-test-tools/tests/configCases/entry/filename/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/entry/filename/test.config.js rename to packages/rspack-test-tools/tests/configCases/entry/filename/test.config.js diff --git a/packages/rspack/tests/configCases/entry/filename/webpack.config.js b/packages/rspack-test-tools/tests/configCases/entry/filename/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/entry/filename/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/entry/filename/webpack.config.js diff --git a/packages/rspack/tests/configCases/entry/runtime-false/index.js b/packages/rspack-test-tools/tests/configCases/entry/runtime-false/index.js similarity index 100% rename from packages/rspack/tests/configCases/entry/runtime-false/index.js rename to packages/rspack-test-tools/tests/configCases/entry/runtime-false/index.js diff --git a/packages/rspack/tests/configCases/entry/runtime-false/test.config.js b/packages/rspack-test-tools/tests/configCases/entry/runtime-false/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/entry/runtime-false/test.config.js rename to packages/rspack-test-tools/tests/configCases/entry/runtime-false/test.config.js diff --git a/packages/rspack/tests/configCases/entry/runtime-false/webpack.config.js b/packages/rspack-test-tools/tests/configCases/entry/runtime-false/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/entry/runtime-false/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/entry/runtime-false/webpack.config.js diff --git a/packages/rspack/tests/configCases/entry/runtime/index.js b/packages/rspack-test-tools/tests/configCases/entry/runtime/index.js similarity index 100% rename from packages/rspack/tests/configCases/entry/runtime/index.js rename to packages/rspack-test-tools/tests/configCases/entry/runtime/index.js diff --git a/packages/rspack/tests/configCases/entry/runtime/test.config.js b/packages/rspack-test-tools/tests/configCases/entry/runtime/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/entry/runtime/test.config.js rename to packages/rspack-test-tools/tests/configCases/entry/runtime/test.config.js diff --git a/packages/rspack/tests/configCases/entry/runtime/webpack.config.js b/packages/rspack-test-tools/tests/configCases/entry/runtime/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/entry/runtime/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/entry/runtime/webpack.config.js diff --git a/packages/rspack/tests/configCases/errors/bail/a.js b/packages/rspack-test-tools/tests/configCases/errors/bail/a.js similarity index 100% rename from packages/rspack/tests/configCases/errors/bail/a.js rename to packages/rspack-test-tools/tests/configCases/errors/bail/a.js diff --git a/packages/rspack/tests/configCases/errors/bail/b.js b/packages/rspack-test-tools/tests/configCases/errors/bail/b.js similarity index 100% rename from packages/rspack/tests/configCases/errors/bail/b.js rename to packages/rspack-test-tools/tests/configCases/errors/bail/b.js diff --git a/packages/rspack/tests/configCases/errors/bail/c.js b/packages/rspack-test-tools/tests/configCases/errors/bail/c.js similarity index 100% rename from packages/rspack/tests/configCases/errors/bail/c.js rename to packages/rspack-test-tools/tests/configCases/errors/bail/c.js diff --git a/packages/rspack/tests/configCases/errors/bail/d.js b/packages/rspack-test-tools/tests/configCases/errors/bail/d.js similarity index 100% rename from packages/rspack/tests/configCases/errors/bail/d.js rename to packages/rspack-test-tools/tests/configCases/errors/bail/d.js diff --git a/packages/rspack/tests/configCases/errors/bail/e.js b/packages/rspack-test-tools/tests/configCases/errors/bail/e.js similarity index 100% rename from packages/rspack/tests/configCases/errors/bail/e.js rename to packages/rspack-test-tools/tests/configCases/errors/bail/e.js diff --git a/packages/rspack/tests/configCases/errors/bail/errors.js b/packages/rspack-test-tools/tests/configCases/errors/bail/errors.js similarity index 100% rename from packages/rspack/tests/configCases/errors/bail/errors.js rename to packages/rspack-test-tools/tests/configCases/errors/bail/errors.js diff --git a/packages/rspack/tests/configCases/errors/bail/f.js b/packages/rspack-test-tools/tests/configCases/errors/bail/f.js similarity index 100% rename from packages/rspack/tests/configCases/errors/bail/f.js rename to packages/rspack-test-tools/tests/configCases/errors/bail/f.js diff --git a/packages/rspack/tests/configCases/errors/bail/g.js b/packages/rspack-test-tools/tests/configCases/errors/bail/g.js similarity index 100% rename from packages/rspack/tests/configCases/errors/bail/g.js rename to packages/rspack-test-tools/tests/configCases/errors/bail/g.js diff --git a/packages/rspack/tests/configCases/errors/bail/index.js b/packages/rspack-test-tools/tests/configCases/errors/bail/index.js similarity index 100% rename from packages/rspack/tests/configCases/errors/bail/index.js rename to packages/rspack-test-tools/tests/configCases/errors/bail/index.js diff --git a/packages/rspack/tests/configCases/errors/bail/loader.js b/packages/rspack-test-tools/tests/configCases/errors/bail/loader.js similarity index 100% rename from packages/rspack/tests/configCases/errors/bail/loader.js rename to packages/rspack-test-tools/tests/configCases/errors/bail/loader.js diff --git a/packages/rspack/tests/configCases/errors/bail/webpack.config.js b/packages/rspack-test-tools/tests/configCases/errors/bail/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/errors/bail/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/errors/bail/webpack.config.js diff --git a/packages/rspack/tests/configCases/errors/rspack-issue-4504/errors.js b/packages/rspack-test-tools/tests/configCases/errors/rspack-issue-4504/errors.js similarity index 100% rename from packages/rspack/tests/configCases/errors/rspack-issue-4504/errors.js rename to packages/rspack-test-tools/tests/configCases/errors/rspack-issue-4504/errors.js diff --git a/packages/rspack/tests/configCases/errors/rspack-issue-4504/index.js b/packages/rspack-test-tools/tests/configCases/errors/rspack-issue-4504/index.js similarity index 100% rename from packages/rspack/tests/configCases/errors/rspack-issue-4504/index.js rename to packages/rspack-test-tools/tests/configCases/errors/rspack-issue-4504/index.js diff --git a/packages/rspack/tests/configCases/errors/rspack-issue-4504/webpack.config.js b/packages/rspack-test-tools/tests/configCases/errors/rspack-issue-4504/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/errors/rspack-issue-4504/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/errors/rspack-issue-4504/webpack.config.js diff --git a/packages/rspack/tests/configCases/externals/array-externals/index.js b/packages/rspack-test-tools/tests/configCases/externals/array-externals/index.js similarity index 100% rename from packages/rspack/tests/configCases/externals/array-externals/index.js rename to packages/rspack-test-tools/tests/configCases/externals/array-externals/index.js diff --git a/packages/rspack/tests/configCases/externals/array-externals/inject.js b/packages/rspack-test-tools/tests/configCases/externals/array-externals/inject.js similarity index 100% rename from packages/rspack/tests/configCases/externals/array-externals/inject.js rename to packages/rspack-test-tools/tests/configCases/externals/array-externals/inject.js diff --git a/packages/rspack/tests/configCases/externals/array-externals/webpack.config.js b/packages/rspack-test-tools/tests/configCases/externals/array-externals/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/externals/array-externals/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/externals/array-externals/webpack.config.js diff --git a/packages/rspack/tests/configCases/externals/custom-url/index.css b/packages/rspack-test-tools/tests/configCases/externals/custom-url/index.css similarity index 100% rename from packages/rspack/tests/configCases/externals/custom-url/index.css rename to packages/rspack-test-tools/tests/configCases/externals/custom-url/index.css diff --git a/packages/rspack/tests/configCases/externals/custom-url/index.js b/packages/rspack-test-tools/tests/configCases/externals/custom-url/index.js similarity index 100% rename from packages/rspack/tests/configCases/externals/custom-url/index.js rename to packages/rspack-test-tools/tests/configCases/externals/custom-url/index.js diff --git a/packages/rspack/tests/configCases/externals/custom-url/webpack.config.js b/packages/rspack-test-tools/tests/configCases/externals/custom-url/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/externals/custom-url/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/externals/custom-url/webpack.config.js diff --git a/packages/rspack/tests/configCases/externals/external-module-in-main-chunk-amd/index.js b/packages/rspack-test-tools/tests/configCases/externals/external-module-in-main-chunk-amd/index.js similarity index 100% rename from packages/rspack/tests/configCases/externals/external-module-in-main-chunk-amd/index.js rename to packages/rspack-test-tools/tests/configCases/externals/external-module-in-main-chunk-amd/index.js diff --git a/packages/rspack/tests/configCases/externals/external-module-in-main-chunk-amd/webpack.config.js b/packages/rspack-test-tools/tests/configCases/externals/external-module-in-main-chunk-amd/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/externals/external-module-in-main-chunk-amd/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/externals/external-module-in-main-chunk-amd/webpack.config.js diff --git a/packages/rspack/tests/configCases/externals/item-value-object/index.js b/packages/rspack-test-tools/tests/configCases/externals/item-value-object/index.js similarity index 100% rename from packages/rspack/tests/configCases/externals/item-value-object/index.js rename to packages/rspack-test-tools/tests/configCases/externals/item-value-object/index.js diff --git a/packages/rspack/tests/configCases/externals/item-value-object/lodash.js b/packages/rspack-test-tools/tests/configCases/externals/item-value-object/lodash.js similarity index 100% rename from packages/rspack/tests/configCases/externals/item-value-object/lodash.js rename to packages/rspack-test-tools/tests/configCases/externals/item-value-object/lodash.js diff --git a/packages/rspack/tests/configCases/externals/item-value-object/webpack.config.js b/packages/rspack-test-tools/tests/configCases/externals/item-value-object/webpack.config.js similarity index 81% rename from packages/rspack/tests/configCases/externals/item-value-object/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/externals/item-value-object/webpack.config.js index b0b1155809a..68bc4cc4123 100644 --- a/packages/rspack/tests/configCases/externals/item-value-object/webpack.config.js +++ b/packages/rspack-test-tools/tests/configCases/externals/item-value-object/webpack.config.js @@ -1,4 +1,4 @@ -const { CopyRspackPlugin } = require("../../../../"); +const { CopyRspackPlugin } = require("@rspack/core"); module.exports = { entry: "./index.js", diff --git a/packages/rspack/tests/configCases/externals/module/index.js b/packages/rspack-test-tools/tests/configCases/externals/module/index.js similarity index 100% rename from packages/rspack/tests/configCases/externals/module/index.js rename to packages/rspack-test-tools/tests/configCases/externals/module/index.js diff --git a/packages/rspack/tests/configCases/externals/module/test.config.js b/packages/rspack-test-tools/tests/configCases/externals/module/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/externals/module/test.config.js rename to packages/rspack-test-tools/tests/configCases/externals/module/test.config.js diff --git a/packages/rspack/tests/configCases/externals/module/webpack.config.js b/packages/rspack-test-tools/tests/configCases/externals/module/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/externals/module/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/externals/module/webpack.config.js diff --git a/packages/rspack/tests/configCases/externals/node-module/index.js b/packages/rspack-test-tools/tests/configCases/externals/node-module/index.js similarity index 100% rename from packages/rspack/tests/configCases/externals/node-module/index.js rename to packages/rspack-test-tools/tests/configCases/externals/node-module/index.js diff --git a/packages/rspack/tests/configCases/externals/node-module/test.config.js b/packages/rspack-test-tools/tests/configCases/externals/node-module/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/externals/node-module/test.config.js rename to packages/rspack-test-tools/tests/configCases/externals/node-module/test.config.js diff --git a/packages/rspack/tests/configCases/externals/node-module/webpack.config.js b/packages/rspack-test-tools/tests/configCases/externals/node-module/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/externals/node-module/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/externals/node-module/webpack.config.js diff --git a/packages/rspack/tests/configCases/externals/non-amd-externals-amd/index.js b/packages/rspack-test-tools/tests/configCases/externals/non-amd-externals-amd/index.js similarity index 100% rename from packages/rspack/tests/configCases/externals/non-amd-externals-amd/index.js rename to packages/rspack-test-tools/tests/configCases/externals/non-amd-externals-amd/index.js diff --git a/packages/rspack/tests/configCases/externals/non-amd-externals-amd/test.config.js b/packages/rspack-test-tools/tests/configCases/externals/non-amd-externals-amd/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/externals/non-amd-externals-amd/test.config.js rename to packages/rspack-test-tools/tests/configCases/externals/non-amd-externals-amd/test.config.js diff --git a/packages/rspack/tests/configCases/externals/non-amd-externals-amd/webpack.config.js b/packages/rspack-test-tools/tests/configCases/externals/non-amd-externals-amd/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/externals/non-amd-externals-amd/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/externals/non-amd-externals-amd/webpack.config.js diff --git a/packages/rspack/tests/configCases/hooks/after-process-assets/index.js b/packages/rspack-test-tools/tests/configCases/hooks/after-process-assets/index.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/after-process-assets/index.js rename to packages/rspack-test-tools/tests/configCases/hooks/after-process-assets/index.js diff --git a/packages/rspack/tests/configCases/hooks/after-process-assets/webpack.config.js b/packages/rspack-test-tools/tests/configCases/hooks/after-process-assets/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/after-process-assets/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/hooks/after-process-assets/webpack.config.js diff --git a/packages/rspack/tests/configCases/hooks/after-resolve-resource/a.js b/packages/rspack-test-tools/tests/configCases/hooks/after-resolve-resource/a.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/after-resolve-resource/a.js rename to packages/rspack-test-tools/tests/configCases/hooks/after-resolve-resource/a.js diff --git a/packages/rspack/tests/configCases/hooks/after-resolve-resource/b.js b/packages/rspack-test-tools/tests/configCases/hooks/after-resolve-resource/b.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/after-resolve-resource/b.js rename to packages/rspack-test-tools/tests/configCases/hooks/after-resolve-resource/b.js diff --git a/packages/rspack/tests/configCases/hooks/after-resolve-resource/c.js b/packages/rspack-test-tools/tests/configCases/hooks/after-resolve-resource/c.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/after-resolve-resource/c.js rename to packages/rspack-test-tools/tests/configCases/hooks/after-resolve-resource/c.js diff --git a/packages/rspack/tests/configCases/hooks/after-resolve-resource/duplicate.js b/packages/rspack-test-tools/tests/configCases/hooks/after-resolve-resource/duplicate.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/after-resolve-resource/duplicate.js rename to packages/rspack-test-tools/tests/configCases/hooks/after-resolve-resource/duplicate.js diff --git a/packages/rspack/tests/configCases/hooks/after-resolve-resource/request.js b/packages/rspack-test-tools/tests/configCases/hooks/after-resolve-resource/request.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/after-resolve-resource/request.js rename to packages/rspack-test-tools/tests/configCases/hooks/after-resolve-resource/request.js diff --git a/packages/rspack/tests/configCases/hooks/after-resolve-resource/resource.js b/packages/rspack-test-tools/tests/configCases/hooks/after-resolve-resource/resource.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/after-resolve-resource/resource.js rename to packages/rspack-test-tools/tests/configCases/hooks/after-resolve-resource/resource.js diff --git a/packages/rspack/tests/configCases/hooks/after-resolve-resource/test.config.js b/packages/rspack-test-tools/tests/configCases/hooks/after-resolve-resource/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/after-resolve-resource/test.config.js rename to packages/rspack-test-tools/tests/configCases/hooks/after-resolve-resource/test.config.js diff --git a/packages/rspack/tests/configCases/hooks/after-resolve-resource/webpack.config.js b/packages/rspack-test-tools/tests/configCases/hooks/after-resolve-resource/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/after-resolve-resource/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/hooks/after-resolve-resource/webpack.config.js diff --git a/packages/rspack/tests/configCases/hooks/after-seal/index.js b/packages/rspack-test-tools/tests/configCases/hooks/after-seal/index.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/after-seal/index.js rename to packages/rspack-test-tools/tests/configCases/hooks/after-seal/index.js diff --git a/packages/rspack/tests/configCases/hooks/after-seal/webpack.config.js b/packages/rspack-test-tools/tests/configCases/hooks/after-seal/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/after-seal/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/hooks/after-seal/webpack.config.js diff --git a/packages/rspack/tests/configCases/hooks/asset-emitted-buffer/index.js b/packages/rspack-test-tools/tests/configCases/hooks/asset-emitted-buffer/index.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/asset-emitted-buffer/index.js rename to packages/rspack-test-tools/tests/configCases/hooks/asset-emitted-buffer/index.js diff --git a/packages/rspack/tests/configCases/hooks/asset-emitted-buffer/webpack.config.js b/packages/rspack-test-tools/tests/configCases/hooks/asset-emitted-buffer/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/asset-emitted-buffer/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/hooks/asset-emitted-buffer/webpack.config.js diff --git a/packages/rspack/tests/configCases/hooks/asset-emitted/index.js b/packages/rspack-test-tools/tests/configCases/hooks/asset-emitted/index.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/asset-emitted/index.js rename to packages/rspack-test-tools/tests/configCases/hooks/asset-emitted/index.js diff --git a/packages/rspack/tests/configCases/hooks/asset-emitted/webpack.config.js b/packages/rspack-test-tools/tests/configCases/hooks/asset-emitted/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/asset-emitted/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/hooks/asset-emitted/webpack.config.js diff --git a/packages/rspack/tests/configCases/hooks/before-resolve/index.js b/packages/rspack-test-tools/tests/configCases/hooks/before-resolve/index.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/before-resolve/index.js rename to packages/rspack-test-tools/tests/configCases/hooks/before-resolve/index.js diff --git a/packages/rspack/tests/configCases/hooks/before-resolve/text.txt b/packages/rspack-test-tools/tests/configCases/hooks/before-resolve/text.txt similarity index 100% rename from packages/rspack/tests/configCases/hooks/before-resolve/text.txt rename to packages/rspack-test-tools/tests/configCases/hooks/before-resolve/text.txt diff --git a/packages/rspack/tests/configCases/hooks/before-resolve/webpack.config.js b/packages/rspack-test-tools/tests/configCases/hooks/before-resolve/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/before-resolve/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/hooks/before-resolve/webpack.config.js diff --git a/packages/rspack/tests/configCases/hooks/build-module/a.js b/packages/rspack-test-tools/tests/configCases/hooks/build-module/a.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/build-module/a.js rename to packages/rspack-test-tools/tests/configCases/hooks/build-module/a.js diff --git a/packages/rspack/tests/configCases/hooks/build-module/index.js b/packages/rspack-test-tools/tests/configCases/hooks/build-module/index.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/build-module/index.js rename to packages/rspack-test-tools/tests/configCases/hooks/build-module/index.js diff --git a/packages/rspack/tests/configCases/hooks/build-module/webpack.config.js b/packages/rspack-test-tools/tests/configCases/hooks/build-module/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/build-module/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/hooks/build-module/webpack.config.js diff --git a/packages/rspack/tests/configCases/hooks/check-asset/a.js b/packages/rspack-test-tools/tests/configCases/hooks/check-asset/a.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/check-asset/a.js rename to packages/rspack-test-tools/tests/configCases/hooks/check-asset/a.js diff --git a/packages/rspack/tests/configCases/hooks/check-asset/index.js b/packages/rspack-test-tools/tests/configCases/hooks/check-asset/index.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/check-asset/index.js rename to packages/rspack-test-tools/tests/configCases/hooks/check-asset/index.js diff --git a/packages/rspack/tests/configCases/hooks/check-asset/webpack.config.js b/packages/rspack-test-tools/tests/configCases/hooks/check-asset/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/check-asset/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/hooks/check-asset/webpack.config.js diff --git a/packages/rspack/tests/configCases/hooks/compat-path-data-chunk-contenthash/index.js b/packages/rspack-test-tools/tests/configCases/hooks/compat-path-data-chunk-contenthash/index.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/compat-path-data-chunk-contenthash/index.js rename to packages/rspack-test-tools/tests/configCases/hooks/compat-path-data-chunk-contenthash/index.js diff --git a/packages/rspack/tests/configCases/hooks/compat-path-data-chunk-contenthash/test.config.js b/packages/rspack-test-tools/tests/configCases/hooks/compat-path-data-chunk-contenthash/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/compat-path-data-chunk-contenthash/test.config.js rename to packages/rspack-test-tools/tests/configCases/hooks/compat-path-data-chunk-contenthash/test.config.js diff --git a/packages/rspack/tests/configCases/hooks/compat-path-data-chunk-contenthash/webpack.config.js b/packages/rspack-test-tools/tests/configCases/hooks/compat-path-data-chunk-contenthash/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/compat-path-data-chunk-contenthash/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/hooks/compat-path-data-chunk-contenthash/webpack.config.js diff --git a/packages/rspack/tests/configCases/hooks/compilation-hooks/a.js b/packages/rspack-test-tools/tests/configCases/hooks/compilation-hooks/a.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/compilation-hooks/a.js rename to packages/rspack-test-tools/tests/configCases/hooks/compilation-hooks/a.js diff --git a/packages/rspack/tests/configCases/hooks/compilation-hooks/index.js b/packages/rspack-test-tools/tests/configCases/hooks/compilation-hooks/index.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/compilation-hooks/index.js rename to packages/rspack-test-tools/tests/configCases/hooks/compilation-hooks/index.js diff --git a/packages/rspack/tests/configCases/hooks/compilation-hooks/webpack.config.js b/packages/rspack-test-tools/tests/configCases/hooks/compilation-hooks/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/compilation-hooks/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/hooks/compilation-hooks/webpack.config.js diff --git a/packages/rspack/tests/configCases/hooks/compitable-errors-object/errors.js b/packages/rspack-test-tools/tests/configCases/hooks/compitable-errors-object/errors.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/compitable-errors-object/errors.js rename to packages/rspack-test-tools/tests/configCases/hooks/compitable-errors-object/errors.js diff --git a/packages/rspack/tests/configCases/hooks/compitable-errors-object/index.js b/packages/rspack-test-tools/tests/configCases/hooks/compitable-errors-object/index.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/compitable-errors-object/index.js rename to packages/rspack-test-tools/tests/configCases/hooks/compitable-errors-object/index.js diff --git a/packages/rspack/tests/configCases/hooks/compitable-errors-object/webpack.config.js b/packages/rspack-test-tools/tests/configCases/hooks/compitable-errors-object/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/compitable-errors-object/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/hooks/compitable-errors-object/webpack.config.js diff --git a/packages/rspack/tests/configCases/hooks/context-module-after-resolve/dir/foo.js b/packages/rspack-test-tools/tests/configCases/hooks/context-module-after-resolve/dir/foo.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/context-module-after-resolve/dir/foo.js rename to packages/rspack-test-tools/tests/configCases/hooks/context-module-after-resolve/dir/foo.js diff --git a/packages/rspack/tests/configCases/hooks/context-module-after-resolve/index.js b/packages/rspack-test-tools/tests/configCases/hooks/context-module-after-resolve/index.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/context-module-after-resolve/index.js rename to packages/rspack-test-tools/tests/configCases/hooks/context-module-after-resolve/index.js diff --git a/packages/rspack/tests/configCases/hooks/context-module-after-resolve/webpack.config.js b/packages/rspack-test-tools/tests/configCases/hooks/context-module-after-resolve/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/context-module-after-resolve/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/hooks/context-module-after-resolve/webpack.config.js diff --git a/packages/rspack/tests/configCases/hooks/create-module/a.js b/packages/rspack-test-tools/tests/configCases/hooks/create-module/a.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/create-module/a.js rename to packages/rspack-test-tools/tests/configCases/hooks/create-module/a.js diff --git a/packages/rspack/tests/configCases/hooks/create-module/index.js b/packages/rspack-test-tools/tests/configCases/hooks/create-module/index.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/create-module/index.js rename to packages/rspack-test-tools/tests/configCases/hooks/create-module/index.js diff --git a/packages/rspack/tests/configCases/hooks/create-module/node_modules/foo-loader/index.js b/packages/rspack-test-tools/tests/configCases/hooks/create-module/node_modules/foo-loader/index.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/create-module/node_modules/foo-loader/index.js rename to packages/rspack-test-tools/tests/configCases/hooks/create-module/node_modules/foo-loader/index.js diff --git a/packages/rspack/tests/configCases/hooks/create-module/webpack.config.js b/packages/rspack-test-tools/tests/configCases/hooks/create-module/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/create-module/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/hooks/create-module/webpack.config.js diff --git a/packages/rspack/tests/configCases/hooks/entryOption/src/answer.js b/packages/rspack-test-tools/tests/configCases/hooks/entryOption/src/answer.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/entryOption/src/answer.js rename to packages/rspack-test-tools/tests/configCases/hooks/entryOption/src/answer.js diff --git a/packages/rspack/tests/configCases/hooks/entryOption/src/index.js b/packages/rspack-test-tools/tests/configCases/hooks/entryOption/src/index.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/entryOption/src/index.js rename to packages/rspack-test-tools/tests/configCases/hooks/entryOption/src/index.js diff --git a/packages/rspack/tests/configCases/hooks/entryOption/src/index2.js b/packages/rspack-test-tools/tests/configCases/hooks/entryOption/src/index2.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/entryOption/src/index2.js rename to packages/rspack-test-tools/tests/configCases/hooks/entryOption/src/index2.js diff --git a/packages/rspack/tests/configCases/hooks/entryOption/test.config.js b/packages/rspack-test-tools/tests/configCases/hooks/entryOption/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/entryOption/test.config.js rename to packages/rspack-test-tools/tests/configCases/hooks/entryOption/test.config.js diff --git a/packages/rspack/tests/configCases/hooks/entryOption/webpack.config.js b/packages/rspack-test-tools/tests/configCases/hooks/entryOption/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/entryOption/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/hooks/entryOption/webpack.config.js diff --git a/packages/rspack/tests/configCases/hooks/interceptor/index.js b/packages/rspack-test-tools/tests/configCases/hooks/interceptor/index.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/interceptor/index.js rename to packages/rspack-test-tools/tests/configCases/hooks/interceptor/index.js diff --git a/packages/rspack/tests/configCases/hooks/interceptor/webpack.config.js b/packages/rspack-test-tools/tests/configCases/hooks/interceptor/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/interceptor/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/hooks/interceptor/webpack.config.js diff --git a/packages/rspack/tests/configCases/hooks/processAssetsStageAdditions/index.js b/packages/rspack-test-tools/tests/configCases/hooks/processAssetsStageAdditions/index.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/processAssetsStageAdditions/index.js rename to packages/rspack-test-tools/tests/configCases/hooks/processAssetsStageAdditions/index.js diff --git a/packages/rspack/tests/configCases/hooks/processAssetsStageAdditions/webpack.config.js b/packages/rspack-test-tools/tests/configCases/hooks/processAssetsStageAdditions/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/processAssetsStageAdditions/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/hooks/processAssetsStageAdditions/webpack.config.js diff --git a/packages/rspack/tests/configCases/hooks/rspack-issue-4395/index.js b/packages/rspack-test-tools/tests/configCases/hooks/rspack-issue-4395/index.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/rspack-issue-4395/index.js rename to packages/rspack-test-tools/tests/configCases/hooks/rspack-issue-4395/index.js diff --git a/packages/rspack/tests/configCases/hooks/rspack-issue-4395/webpack.config.js b/packages/rspack-test-tools/tests/configCases/hooks/rspack-issue-4395/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/rspack-issue-4395/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/hooks/rspack-issue-4395/webpack.config.js diff --git a/packages/rspack/tests/configCases/hooks/rspack-issue-5571/index.css b/packages/rspack-test-tools/tests/configCases/hooks/rspack-issue-5571/index.css similarity index 100% rename from packages/rspack/tests/configCases/hooks/rspack-issue-5571/index.css rename to packages/rspack-test-tools/tests/configCases/hooks/rspack-issue-5571/index.css diff --git a/packages/rspack/tests/configCases/hooks/rspack-issue-5571/index.js b/packages/rspack-test-tools/tests/configCases/hooks/rspack-issue-5571/index.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/rspack-issue-5571/index.js rename to packages/rspack-test-tools/tests/configCases/hooks/rspack-issue-5571/index.js diff --git a/packages/rspack/tests/configCases/hooks/rspack-issue-5571/webpack.config.js b/packages/rspack-test-tools/tests/configCases/hooks/rspack-issue-5571/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/rspack-issue-5571/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/hooks/rspack-issue-5571/webpack.config.js diff --git a/packages/rspack/tests/configCases/hooks/runtime-module/chunk.js b/packages/rspack-test-tools/tests/configCases/hooks/runtime-module/chunk.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/runtime-module/chunk.js rename to packages/rspack-test-tools/tests/configCases/hooks/runtime-module/chunk.js diff --git a/packages/rspack/tests/configCases/hooks/runtime-module/index.js b/packages/rspack-test-tools/tests/configCases/hooks/runtime-module/index.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/runtime-module/index.js rename to packages/rspack-test-tools/tests/configCases/hooks/runtime-module/index.js diff --git a/packages/rspack/tests/configCases/hooks/runtime-module/test.config.js b/packages/rspack-test-tools/tests/configCases/hooks/runtime-module/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/runtime-module/test.config.js rename to packages/rspack-test-tools/tests/configCases/hooks/runtime-module/test.config.js diff --git a/packages/rspack/tests/configCases/hooks/runtime-module/webpack.config.js b/packages/rspack-test-tools/tests/configCases/hooks/runtime-module/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/runtime-module/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/hooks/runtime-module/webpack.config.js diff --git a/packages/rspack/tests/configCases/hooks/should-emit-1/index.js b/packages/rspack-test-tools/tests/configCases/hooks/should-emit-1/index.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/should-emit-1/index.js rename to packages/rspack-test-tools/tests/configCases/hooks/should-emit-1/index.js diff --git a/packages/rspack/tests/configCases/hooks/should-emit-1/webpack.config.js b/packages/rspack-test-tools/tests/configCases/hooks/should-emit-1/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/should-emit-1/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/hooks/should-emit-1/webpack.config.js diff --git a/packages/rspack/tests/configCases/hooks/should-emit-2/index.js b/packages/rspack-test-tools/tests/configCases/hooks/should-emit-2/index.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/should-emit-2/index.js rename to packages/rspack-test-tools/tests/configCases/hooks/should-emit-2/index.js diff --git a/packages/rspack/tests/configCases/hooks/should-emit-2/webpack.config.js b/packages/rspack-test-tools/tests/configCases/hooks/should-emit-2/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/should-emit-2/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/hooks/should-emit-2/webpack.config.js diff --git a/packages/rspack/tests/configCases/hooks/stage-compilation/index.js b/packages/rspack-test-tools/tests/configCases/hooks/stage-compilation/index.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/stage-compilation/index.js rename to packages/rspack-test-tools/tests/configCases/hooks/stage-compilation/index.js diff --git a/packages/rspack/tests/configCases/hooks/stage-compilation/plugin.js b/packages/rspack-test-tools/tests/configCases/hooks/stage-compilation/plugin.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/stage-compilation/plugin.js rename to packages/rspack-test-tools/tests/configCases/hooks/stage-compilation/plugin.js diff --git a/packages/rspack/tests/configCases/hooks/stage-compilation/webpack.config.js b/packages/rspack-test-tools/tests/configCases/hooks/stage-compilation/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/stage-compilation/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/hooks/stage-compilation/webpack.config.js diff --git a/packages/rspack/tests/configCases/hooks/stage-make/index.js b/packages/rspack-test-tools/tests/configCases/hooks/stage-make/index.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/stage-make/index.js rename to packages/rspack-test-tools/tests/configCases/hooks/stage-make/index.js diff --git a/packages/rspack/tests/configCases/hooks/stage-make/webpack.config.js b/packages/rspack-test-tools/tests/configCases/hooks/stage-make/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/stage-make/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/hooks/stage-make/webpack.config.js diff --git a/packages/rspack/tests/configCases/hooks/stage-process-assets/index.js b/packages/rspack-test-tools/tests/configCases/hooks/stage-process-assets/index.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/stage-process-assets/index.js rename to packages/rspack-test-tools/tests/configCases/hooks/stage-process-assets/index.js diff --git a/packages/rspack/tests/configCases/hooks/stage-process-assets/webpack.config.js b/packages/rspack-test-tools/tests/configCases/hooks/stage-process-assets/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/stage-process-assets/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/hooks/stage-process-assets/webpack.config.js diff --git a/packages/rspack/tests/configCases/hooks/stillValidModule/plugins/MyStillValidModulePlugin.js b/packages/rspack-test-tools/tests/configCases/hooks/stillValidModule/plugins/MyStillValidModulePlugin.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/stillValidModule/plugins/MyStillValidModulePlugin.js rename to packages/rspack-test-tools/tests/configCases/hooks/stillValidModule/plugins/MyStillValidModulePlugin.js diff --git a/packages/rspack/tests/configCases/hooks/stillValidModule/src/answer.js b/packages/rspack-test-tools/tests/configCases/hooks/stillValidModule/src/answer.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/stillValidModule/src/answer.js rename to packages/rspack-test-tools/tests/configCases/hooks/stillValidModule/src/answer.js diff --git a/packages/rspack/tests/configCases/hooks/stillValidModule/src/index.js b/packages/rspack-test-tools/tests/configCases/hooks/stillValidModule/src/index.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/stillValidModule/src/index.js rename to packages/rspack-test-tools/tests/configCases/hooks/stillValidModule/src/index.js diff --git a/packages/rspack/tests/configCases/hooks/stillValidModule/webpack.config.js b/packages/rspack-test-tools/tests/configCases/hooks/stillValidModule/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/stillValidModule/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/hooks/stillValidModule/webpack.config.js diff --git a/packages/rspack/tests/configCases/hooks/succeedModule/plugins/MySucceedModulePlugin.js b/packages/rspack-test-tools/tests/configCases/hooks/succeedModule/plugins/MySucceedModulePlugin.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/succeedModule/plugins/MySucceedModulePlugin.js rename to packages/rspack-test-tools/tests/configCases/hooks/succeedModule/plugins/MySucceedModulePlugin.js diff --git a/packages/rspack/tests/configCases/hooks/succeedModule/src/answer.js b/packages/rspack-test-tools/tests/configCases/hooks/succeedModule/src/answer.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/succeedModule/src/answer.js rename to packages/rspack-test-tools/tests/configCases/hooks/succeedModule/src/answer.js diff --git a/packages/rspack/tests/configCases/hooks/succeedModule/src/child/a.js b/packages/rspack-test-tools/tests/configCases/hooks/succeedModule/src/child/a.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/succeedModule/src/child/a.js rename to packages/rspack-test-tools/tests/configCases/hooks/succeedModule/src/child/a.js diff --git a/packages/rspack/tests/configCases/hooks/succeedModule/src/index.js b/packages/rspack-test-tools/tests/configCases/hooks/succeedModule/src/index.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/succeedModule/src/index.js rename to packages/rspack-test-tools/tests/configCases/hooks/succeedModule/src/index.js diff --git a/packages/rspack/tests/configCases/hooks/succeedModule/webpack.config.js b/packages/rspack-test-tools/tests/configCases/hooks/succeedModule/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/succeedModule/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/hooks/succeedModule/webpack.config.js diff --git a/packages/rspack/tests/configCases/hooks/update-asset/index.js b/packages/rspack-test-tools/tests/configCases/hooks/update-asset/index.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/update-asset/index.js rename to packages/rspack-test-tools/tests/configCases/hooks/update-asset/index.js diff --git a/packages/rspack/tests/configCases/hooks/update-asset/test.config.js b/packages/rspack-test-tools/tests/configCases/hooks/update-asset/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/update-asset/test.config.js rename to packages/rspack-test-tools/tests/configCases/hooks/update-asset/test.config.js diff --git a/packages/rspack/tests/configCases/hooks/update-asset/webpack.config.js b/packages/rspack-test-tools/tests/configCases/hooks/update-asset/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/hooks/update-asset/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/hooks/update-asset/webpack.config.js diff --git a/packages/rspack/tests/configCases/ignore/with-source-map/ignored-module.js b/packages/rspack-test-tools/tests/configCases/ignore/with-source-map/ignored-module.js similarity index 100% rename from packages/rspack/tests/configCases/ignore/with-source-map/ignored-module.js rename to packages/rspack-test-tools/tests/configCases/ignore/with-source-map/ignored-module.js diff --git a/packages/rspack/tests/configCases/ignore/with-source-map/index.js b/packages/rspack-test-tools/tests/configCases/ignore/with-source-map/index.js similarity index 100% rename from packages/rspack/tests/configCases/ignore/with-source-map/index.js rename to packages/rspack-test-tools/tests/configCases/ignore/with-source-map/index.js diff --git a/packages/rspack/tests/configCases/ignore/with-source-map/webpack.config.js b/packages/rspack-test-tools/tests/configCases/ignore/with-source-map/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/ignore/with-source-map/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/ignore/with-source-map/webpack.config.js diff --git a/packages/rspack/tests/configCases/less-loader/additional-data-async-fn/index.js b/packages/rspack-test-tools/tests/configCases/less-loader/additional-data-async-fn/index.js similarity index 100% rename from packages/rspack/tests/configCases/less-loader/additional-data-async-fn/index.js rename to packages/rspack-test-tools/tests/configCases/less-loader/additional-data-async-fn/index.js diff --git a/packages/rspack/tests/configCases/less-loader/additional-data-async-fn/index.less b/packages/rspack-test-tools/tests/configCases/less-loader/additional-data-async-fn/index.less similarity index 100% rename from packages/rspack/tests/configCases/less-loader/additional-data-async-fn/index.less rename to packages/rspack-test-tools/tests/configCases/less-loader/additional-data-async-fn/index.less diff --git a/packages/rspack/tests/configCases/less-loader/additional-data-async-fn/webpack.config.js b/packages/rspack-test-tools/tests/configCases/less-loader/additional-data-async-fn/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/less-loader/additional-data-async-fn/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/less-loader/additional-data-async-fn/webpack.config.js diff --git a/packages/rspack/tests/configCases/less-loader/additional-data-fn/index.js b/packages/rspack-test-tools/tests/configCases/less-loader/additional-data-fn/index.js similarity index 100% rename from packages/rspack/tests/configCases/less-loader/additional-data-fn/index.js rename to packages/rspack-test-tools/tests/configCases/less-loader/additional-data-fn/index.js diff --git a/packages/rspack/tests/configCases/less-loader/additional-data-fn/index.less b/packages/rspack-test-tools/tests/configCases/less-loader/additional-data-fn/index.less similarity index 100% rename from packages/rspack/tests/configCases/less-loader/additional-data-fn/index.less rename to packages/rspack-test-tools/tests/configCases/less-loader/additional-data-fn/index.less diff --git a/packages/rspack/tests/configCases/less-loader/additional-data-fn/webpack.config.js b/packages/rspack-test-tools/tests/configCases/less-loader/additional-data-fn/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/less-loader/additional-data-fn/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/less-loader/additional-data-fn/webpack.config.js diff --git a/packages/rspack/tests/configCases/less-loader/additional-data-string/index.js b/packages/rspack-test-tools/tests/configCases/less-loader/additional-data-string/index.js similarity index 100% rename from packages/rspack/tests/configCases/less-loader/additional-data-string/index.js rename to packages/rspack-test-tools/tests/configCases/less-loader/additional-data-string/index.js diff --git a/packages/rspack/tests/configCases/less-loader/additional-data-string/index.less b/packages/rspack-test-tools/tests/configCases/less-loader/additional-data-string/index.less similarity index 100% rename from packages/rspack/tests/configCases/less-loader/additional-data-string/index.less rename to packages/rspack-test-tools/tests/configCases/less-loader/additional-data-string/index.less diff --git a/packages/rspack/tests/configCases/less-loader/additional-data-string/webpack.config.js b/packages/rspack-test-tools/tests/configCases/less-loader/additional-data-string/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/less-loader/additional-data-string/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/less-loader/additional-data-string/webpack.config.js diff --git a/packages/rspack/tests/configCases/less-loader/basic/index.js b/packages/rspack-test-tools/tests/configCases/less-loader/basic/index.js similarity index 100% rename from packages/rspack/tests/configCases/less-loader/basic/index.js rename to packages/rspack-test-tools/tests/configCases/less-loader/basic/index.js diff --git a/packages/rspack/tests/configCases/less-loader/basic/index.less b/packages/rspack-test-tools/tests/configCases/less-loader/basic/index.less similarity index 100% rename from packages/rspack/tests/configCases/less-loader/basic/index.less rename to packages/rspack-test-tools/tests/configCases/less-loader/basic/index.less diff --git a/packages/rspack/tests/configCases/less-loader/basic/webpack.config.js b/packages/rspack-test-tools/tests/configCases/less-loader/basic/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/less-loader/basic/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/less-loader/basic/webpack.config.js diff --git a/packages/rspack/tests/configCases/less-loader/resolve/.gitignore b/packages/rspack-test-tools/tests/configCases/less-loader/resolve/.gitignore similarity index 100% rename from packages/rspack/tests/configCases/less-loader/resolve/.gitignore rename to packages/rspack-test-tools/tests/configCases/less-loader/resolve/.gitignore diff --git a/packages/rspack/tests/configCases/less-loader/resolve/index.js b/packages/rspack-test-tools/tests/configCases/less-loader/resolve/index.js similarity index 100% rename from packages/rspack/tests/configCases/less-loader/resolve/index.js rename to packages/rspack-test-tools/tests/configCases/less-loader/resolve/index.js diff --git a/packages/rspack/tests/configCases/less-loader/resolve/index.less b/packages/rspack-test-tools/tests/configCases/less-loader/resolve/index.less similarity index 100% rename from packages/rspack/tests/configCases/less-loader/resolve/index.less rename to packages/rspack-test-tools/tests/configCases/less-loader/resolve/index.less diff --git a/packages/rspack/tests/configCases/less-loader/resolve/node_modules/universal-design/base.less b/packages/rspack-test-tools/tests/configCases/less-loader/resolve/node_modules/universal-design/base.less similarity index 100% rename from packages/rspack/tests/configCases/less-loader/resolve/node_modules/universal-design/base.less rename to packages/rspack-test-tools/tests/configCases/less-loader/resolve/node_modules/universal-design/base.less diff --git a/packages/rspack/tests/configCases/less-loader/resolve/node_modules/universal-design/common.less b/packages/rspack-test-tools/tests/configCases/less-loader/resolve/node_modules/universal-design/common.less similarity index 100% rename from packages/rspack/tests/configCases/less-loader/resolve/node_modules/universal-design/common.less rename to packages/rspack-test-tools/tests/configCases/less-loader/resolve/node_modules/universal-design/common.less diff --git a/packages/rspack/tests/configCases/less-loader/resolve/node_modules/universal-design/package.json b/packages/rspack-test-tools/tests/configCases/less-loader/resolve/node_modules/universal-design/package.json similarity index 100% rename from packages/rspack/tests/configCases/less-loader/resolve/node_modules/universal-design/package.json rename to packages/rspack-test-tools/tests/configCases/less-loader/resolve/node_modules/universal-design/package.json diff --git a/packages/rspack/tests/configCases/less-loader/resolve/webpack.config.js b/packages/rspack-test-tools/tests/configCases/less-loader/resolve/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/less-loader/resolve/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/less-loader/resolve/webpack.config.js diff --git a/packages/rspack/tests/configCases/less-loader/with-source-map/index.js b/packages/rspack-test-tools/tests/configCases/less-loader/with-source-map/index.js similarity index 100% rename from packages/rspack/tests/configCases/less-loader/with-source-map/index.js rename to packages/rspack-test-tools/tests/configCases/less-loader/with-source-map/index.js diff --git a/packages/rspack/tests/configCases/less-loader/with-source-map/index.less b/packages/rspack-test-tools/tests/configCases/less-loader/with-source-map/index.less similarity index 100% rename from packages/rspack/tests/configCases/less-loader/with-source-map/index.less rename to packages/rspack-test-tools/tests/configCases/less-loader/with-source-map/index.less diff --git a/packages/rspack/tests/configCases/less-loader/with-source-map/webpack.config.js b/packages/rspack-test-tools/tests/configCases/less-loader/with-source-map/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/less-loader/with-source-map/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/less-loader/with-source-map/webpack.config.js diff --git a/packages/rspack/tests/configCases/library/_0-create-library/a.js b/packages/rspack-test-tools/tests/configCases/library/_0-create-library/a.js similarity index 100% rename from packages/rspack/tests/configCases/library/_0-create-library/a.js rename to packages/rspack-test-tools/tests/configCases/library/_0-create-library/a.js diff --git a/packages/rspack/tests/configCases/library/_0-create-library/index.js b/packages/rspack-test-tools/tests/configCases/library/_0-create-library/index.js similarity index 100% rename from packages/rspack/tests/configCases/library/_0-create-library/index.js rename to packages/rspack-test-tools/tests/configCases/library/_0-create-library/index.js diff --git a/packages/rspack/tests/configCases/library/_0-create-library/nested.js b/packages/rspack-test-tools/tests/configCases/library/_0-create-library/nested.js similarity index 100% rename from packages/rspack/tests/configCases/library/_0-create-library/nested.js rename to packages/rspack-test-tools/tests/configCases/library/_0-create-library/nested.js diff --git a/packages/rspack/tests/configCases/library/_0-create-library/non-external.js b/packages/rspack-test-tools/tests/configCases/library/_0-create-library/non-external.js similarity index 100% rename from packages/rspack/tests/configCases/library/_0-create-library/non-external.js rename to packages/rspack-test-tools/tests/configCases/library/_0-create-library/non-external.js diff --git a/packages/rspack/tests/configCases/library/_0-create-library/test.config.js b/packages/rspack-test-tools/tests/configCases/library/_0-create-library/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/library/_0-create-library/test.config.js rename to packages/rspack-test-tools/tests/configCases/library/_0-create-library/test.config.js diff --git a/packages/rspack/tests/configCases/library/_0-create-library/webpack.config.js b/packages/rspack-test-tools/tests/configCases/library/_0-create-library/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/library/_0-create-library/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/library/_0-create-library/webpack.config.js diff --git a/packages/rspack/tests/configCases/library/_1-use-library/default-test.js b/packages/rspack-test-tools/tests/configCases/library/_1-use-library/default-test.js similarity index 100% rename from packages/rspack/tests/configCases/library/_1-use-library/default-test.js rename to packages/rspack-test-tools/tests/configCases/library/_1-use-library/default-test.js diff --git a/packages/rspack/tests/configCases/library/_1-use-library/index.js b/packages/rspack-test-tools/tests/configCases/library/_1-use-library/index.js similarity index 100% rename from packages/rspack/tests/configCases/library/_1-use-library/index.js rename to packages/rspack-test-tools/tests/configCases/library/_1-use-library/index.js diff --git a/packages/rspack/tests/configCases/library/_1-use-library/node_modules/external.js b/packages/rspack-test-tools/tests/configCases/library/_1-use-library/node_modules/external.js similarity index 100% rename from packages/rspack/tests/configCases/library/_1-use-library/node_modules/external.js rename to packages/rspack-test-tools/tests/configCases/library/_1-use-library/node_modules/external.js diff --git a/packages/rspack/tests/configCases/library/_1-use-library/test.config.js b/packages/rspack-test-tools/tests/configCases/library/_1-use-library/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/library/_1-use-library/test.config.js rename to packages/rspack-test-tools/tests/configCases/library/_1-use-library/test.config.js diff --git a/packages/rspack/tests/configCases/library/_1-use-library/this-test.js b/packages/rspack-test-tools/tests/configCases/library/_1-use-library/this-test.js similarity index 100% rename from packages/rspack/tests/configCases/library/_1-use-library/this-test.js rename to packages/rspack-test-tools/tests/configCases/library/_1-use-library/this-test.js diff --git a/packages/rspack/tests/configCases/library/_1-use-library/var-test.js b/packages/rspack-test-tools/tests/configCases/library/_1-use-library/var-test.js similarity index 100% rename from packages/rspack/tests/configCases/library/_1-use-library/var-test.js rename to packages/rspack-test-tools/tests/configCases/library/_1-use-library/var-test.js diff --git a/packages/rspack/tests/configCases/library/_1-use-library/webpack.config.js b/packages/rspack-test-tools/tests/configCases/library/_1-use-library/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/library/_1-use-library/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/library/_1-use-library/webpack.config.js diff --git a/packages/rspack/tests/configCases/library/_amd-require/index.js b/packages/rspack-test-tools/tests/configCases/library/_amd-require/index.js similarity index 100% rename from packages/rspack/tests/configCases/library/_amd-require/index.js rename to packages/rspack-test-tools/tests/configCases/library/_amd-require/index.js diff --git a/packages/rspack/tests/configCases/library/_amd-require/webpack.config.js b/packages/rspack-test-tools/tests/configCases/library/_amd-require/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/library/_amd-require/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/library/_amd-require/webpack.config.js diff --git a/packages/rspack/tests/configCases/library/amd-named/index.js b/packages/rspack-test-tools/tests/configCases/library/amd-named/index.js similarity index 100% rename from packages/rspack/tests/configCases/library/amd-named/index.js rename to packages/rspack-test-tools/tests/configCases/library/amd-named/index.js diff --git a/packages/rspack/tests/configCases/library/amd-named/webpack.config.js b/packages/rspack-test-tools/tests/configCases/library/amd-named/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/library/amd-named/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/library/amd-named/webpack.config.js diff --git a/packages/rspack/tests/configCases/library/amd-unnamed/index.js b/packages/rspack-test-tools/tests/configCases/library/amd-unnamed/index.js similarity index 100% rename from packages/rspack/tests/configCases/library/amd-unnamed/index.js rename to packages/rspack-test-tools/tests/configCases/library/amd-unnamed/index.js diff --git a/packages/rspack/tests/configCases/library/amd-unnamed/webpack.config.js b/packages/rspack-test-tools/tests/configCases/library/amd-unnamed/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/library/amd-unnamed/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/library/amd-unnamed/webpack.config.js diff --git a/packages/rspack/tests/configCases/library/array-this/index.js b/packages/rspack-test-tools/tests/configCases/library/array-this/index.js similarity index 100% rename from packages/rspack/tests/configCases/library/array-this/index.js rename to packages/rspack-test-tools/tests/configCases/library/array-this/index.js diff --git a/packages/rspack/tests/configCases/library/array-this/webpack.config.js b/packages/rspack-test-tools/tests/configCases/library/array-this/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/library/array-this/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/library/array-this/webpack.config.js diff --git a/packages/rspack/tests/configCases/library/commonjs/index.js b/packages/rspack-test-tools/tests/configCases/library/commonjs/index.js similarity index 100% rename from packages/rspack/tests/configCases/library/commonjs/index.js rename to packages/rspack-test-tools/tests/configCases/library/commonjs/index.js diff --git a/packages/rspack/tests/configCases/library/commonjs/webpack.config.js b/packages/rspack-test-tools/tests/configCases/library/commonjs/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/library/commonjs/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/library/commonjs/webpack.config.js diff --git a/packages/rspack/tests/configCases/library/duplicate-module-library/index.js b/packages/rspack-test-tools/tests/configCases/library/duplicate-module-library/index.js similarity index 100% rename from packages/rspack/tests/configCases/library/duplicate-module-library/index.js rename to packages/rspack-test-tools/tests/configCases/library/duplicate-module-library/index.js diff --git a/packages/rspack/tests/configCases/library/duplicate-module-library/test.config.js b/packages/rspack-test-tools/tests/configCases/library/duplicate-module-library/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/library/duplicate-module-library/test.config.js rename to packages/rspack-test-tools/tests/configCases/library/duplicate-module-library/test.config.js diff --git a/packages/rspack/tests/configCases/library/duplicate-module-library/webpack.config.js b/packages/rspack-test-tools/tests/configCases/library/duplicate-module-library/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/library/duplicate-module-library/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/library/duplicate-module-library/webpack.config.js diff --git a/packages/rspack/tests/configCases/library/esm-external/index.js b/packages/rspack-test-tools/tests/configCases/library/esm-external/index.js similarity index 100% rename from packages/rspack/tests/configCases/library/esm-external/index.js rename to packages/rspack-test-tools/tests/configCases/library/esm-external/index.js diff --git a/packages/rspack/tests/configCases/library/esm-external/webpack.config.js b/packages/rspack-test-tools/tests/configCases/library/esm-external/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/library/esm-external/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/library/esm-external/webpack.config.js diff --git a/packages/rspack/tests/configCases/library/esmodule/index.js b/packages/rspack-test-tools/tests/configCases/library/esmodule/index.js similarity index 100% rename from packages/rspack/tests/configCases/library/esmodule/index.js rename to packages/rspack-test-tools/tests/configCases/library/esmodule/index.js diff --git a/packages/rspack/tests/configCases/library/esmodule/webpack.config.js b/packages/rspack-test-tools/tests/configCases/library/esmodule/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/library/esmodule/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/library/esmodule/webpack.config.js diff --git a/packages/rspack/tests/configCases/library/umd-external/index.js b/packages/rspack-test-tools/tests/configCases/library/umd-external/index.js similarity index 100% rename from packages/rspack/tests/configCases/library/umd-external/index.js rename to packages/rspack-test-tools/tests/configCases/library/umd-external/index.js diff --git a/packages/rspack/tests/configCases/library/umd-external/webpack.config.js b/packages/rspack-test-tools/tests/configCases/library/umd-external/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/library/umd-external/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/library/umd-external/webpack.config.js diff --git a/packages/rspack/tests/configCases/library/umd-named-define-runtime-chunk/index.js b/packages/rspack-test-tools/tests/configCases/library/umd-named-define-runtime-chunk/index.js similarity index 100% rename from packages/rspack/tests/configCases/library/umd-named-define-runtime-chunk/index.js rename to packages/rspack-test-tools/tests/configCases/library/umd-named-define-runtime-chunk/index.js diff --git a/packages/rspack/tests/configCases/library/umd-named-define-runtime-chunk/test.config.js b/packages/rspack-test-tools/tests/configCases/library/umd-named-define-runtime-chunk/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/library/umd-named-define-runtime-chunk/test.config.js rename to packages/rspack-test-tools/tests/configCases/library/umd-named-define-runtime-chunk/test.config.js diff --git a/packages/rspack/tests/configCases/library/umd-named-define-runtime-chunk/webpack.config.js b/packages/rspack-test-tools/tests/configCases/library/umd-named-define-runtime-chunk/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/library/umd-named-define-runtime-chunk/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/library/umd-named-define-runtime-chunk/webpack.config.js diff --git a/packages/rspack/tests/configCases/library/umd-named-define/index.js b/packages/rspack-test-tools/tests/configCases/library/umd-named-define/index.js similarity index 100% rename from packages/rspack/tests/configCases/library/umd-named-define/index.js rename to packages/rspack-test-tools/tests/configCases/library/umd-named-define/index.js diff --git a/packages/rspack/tests/configCases/library/umd-named-define/webpack.config.js b/packages/rspack-test-tools/tests/configCases/library/umd-named-define/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/library/umd-named-define/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/library/umd-named-define/webpack.config.js diff --git a/packages/rspack/tests/configCases/library/var/index.js b/packages/rspack-test-tools/tests/configCases/library/var/index.js similarity index 100% rename from packages/rspack/tests/configCases/library/var/index.js rename to packages/rspack-test-tools/tests/configCases/library/var/index.js diff --git a/packages/rspack/tests/configCases/library/var/webpack.config.js b/packages/rspack-test-tools/tests/configCases/library/var/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/library/var/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/library/var/webpack.config.js diff --git a/packages/rspack/tests/configCases/loader-import-module/codegen-cache/app-proxy.js b/packages/rspack-test-tools/tests/configCases/loader-import-module/codegen-cache/app-proxy.js similarity index 100% rename from packages/rspack/tests/configCases/loader-import-module/codegen-cache/app-proxy.js rename to packages/rspack-test-tools/tests/configCases/loader-import-module/codegen-cache/app-proxy.js diff --git a/packages/rspack/tests/configCases/loader-import-module/codegen-cache/app.js b/packages/rspack-test-tools/tests/configCases/loader-import-module/codegen-cache/app.js similarity index 100% rename from packages/rspack/tests/configCases/loader-import-module/codegen-cache/app.js rename to packages/rspack-test-tools/tests/configCases/loader-import-module/codegen-cache/app.js diff --git a/packages/rspack/tests/configCases/loader-import-module/codegen-cache/foo.js b/packages/rspack-test-tools/tests/configCases/loader-import-module/codegen-cache/foo.js similarity index 100% rename from packages/rspack/tests/configCases/loader-import-module/codegen-cache/foo.js rename to packages/rspack-test-tools/tests/configCases/loader-import-module/codegen-cache/foo.js diff --git a/packages/rspack/tests/configCases/loader-import-module/codegen-cache/index.js b/packages/rspack-test-tools/tests/configCases/loader-import-module/codegen-cache/index.js similarity index 100% rename from packages/rspack/tests/configCases/loader-import-module/codegen-cache/index.js rename to packages/rspack-test-tools/tests/configCases/loader-import-module/codegen-cache/index.js diff --git a/packages/rspack/tests/configCases/loader-import-module/codegen-cache/loader.js b/packages/rspack-test-tools/tests/configCases/loader-import-module/codegen-cache/loader.js similarity index 100% rename from packages/rspack/tests/configCases/loader-import-module/codegen-cache/loader.js rename to packages/rspack-test-tools/tests/configCases/loader-import-module/codegen-cache/loader.js diff --git a/packages/rspack/tests/configCases/loader-import-module/codegen-cache/webpack.config.js b/packages/rspack-test-tools/tests/configCases/loader-import-module/codegen-cache/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/loader-import-module/codegen-cache/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/loader-import-module/codegen-cache/webpack.config.js diff --git a/packages/rspack/tests/configCases/loader-import-module/css/colors.js b/packages/rspack-test-tools/tests/configCases/loader-import-module/css/colors.js similarity index 100% rename from packages/rspack/tests/configCases/loader-import-module/css/colors.js rename to packages/rspack-test-tools/tests/configCases/loader-import-module/css/colors.js diff --git a/packages/rspack/tests/configCases/loader-import-module/css/file.jpg b/packages/rspack-test-tools/tests/configCases/loader-import-module/css/file.jpg similarity index 100% rename from packages/rspack/tests/configCases/loader-import-module/css/file.jpg rename to packages/rspack-test-tools/tests/configCases/loader-import-module/css/file.jpg diff --git a/packages/rspack/tests/configCases/loader-import-module/css/file.png b/packages/rspack-test-tools/tests/configCases/loader-import-module/css/file.png similarity index 100% rename from packages/rspack/tests/configCases/loader-import-module/css/file.png rename to packages/rspack-test-tools/tests/configCases/loader-import-module/css/file.png diff --git a/packages/rspack/tests/configCases/loader-import-module/css/index.js b/packages/rspack-test-tools/tests/configCases/loader-import-module/css/index.js similarity index 100% rename from packages/rspack/tests/configCases/loader-import-module/css/index.js rename to packages/rspack-test-tools/tests/configCases/loader-import-module/css/index.js diff --git a/packages/rspack/tests/configCases/loader-import-module/css/loader.js b/packages/rspack-test-tools/tests/configCases/loader-import-module/css/loader.js similarity index 100% rename from packages/rspack/tests/configCases/loader-import-module/css/loader.js rename to packages/rspack-test-tools/tests/configCases/loader-import-module/css/loader.js diff --git a/packages/rspack/tests/configCases/loader-import-module/css/other-stylesheet.js b/packages/rspack-test-tools/tests/configCases/loader-import-module/css/other-stylesheet.js similarity index 100% rename from packages/rspack/tests/configCases/loader-import-module/css/other-stylesheet.js rename to packages/rspack-test-tools/tests/configCases/loader-import-module/css/other-stylesheet.js diff --git a/packages/rspack/tests/configCases/loader-import-module/css/stylesheet.js b/packages/rspack-test-tools/tests/configCases/loader-import-module/css/stylesheet.js similarity index 100% rename from packages/rspack/tests/configCases/loader-import-module/css/stylesheet.js rename to packages/rspack-test-tools/tests/configCases/loader-import-module/css/stylesheet.js diff --git a/packages/rspack/tests/configCases/loader-import-module/css/webpack.config.js b/packages/rspack-test-tools/tests/configCases/loader-import-module/css/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/loader-import-module/css/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/loader-import-module/css/webpack.config.js diff --git a/packages/rspack/tests/configCases/loader-import-module/recursive-import-module/bar.js b/packages/rspack-test-tools/tests/configCases/loader-import-module/recursive-import-module/bar.js similarity index 100% rename from packages/rspack/tests/configCases/loader-import-module/recursive-import-module/bar.js rename to packages/rspack-test-tools/tests/configCases/loader-import-module/recursive-import-module/bar.js diff --git a/packages/rspack/tests/configCases/loader-import-module/recursive-import-module/bar.js.macro b/packages/rspack-test-tools/tests/configCases/loader-import-module/recursive-import-module/bar.js.macro similarity index 100% rename from packages/rspack/tests/configCases/loader-import-module/recursive-import-module/bar.js.macro rename to packages/rspack-test-tools/tests/configCases/loader-import-module/recursive-import-module/bar.js.macro diff --git a/packages/rspack/tests/configCases/loader-import-module/recursive-import-module/entry.js b/packages/rspack-test-tools/tests/configCases/loader-import-module/recursive-import-module/entry.js similarity index 100% rename from packages/rspack/tests/configCases/loader-import-module/recursive-import-module/entry.js rename to packages/rspack-test-tools/tests/configCases/loader-import-module/recursive-import-module/entry.js diff --git a/packages/rspack/tests/configCases/loader-import-module/recursive-import-module/index.js b/packages/rspack-test-tools/tests/configCases/loader-import-module/recursive-import-module/index.js similarity index 100% rename from packages/rspack/tests/configCases/loader-import-module/recursive-import-module/index.js rename to packages/rspack-test-tools/tests/configCases/loader-import-module/recursive-import-module/index.js diff --git a/packages/rspack/tests/configCases/loader-import-module/recursive-import-module/index.js.macro b/packages/rspack-test-tools/tests/configCases/loader-import-module/recursive-import-module/index.js.macro similarity index 100% rename from packages/rspack/tests/configCases/loader-import-module/recursive-import-module/index.js.macro rename to packages/rspack-test-tools/tests/configCases/loader-import-module/recursive-import-module/index.js.macro diff --git a/packages/rspack/tests/configCases/loader-import-module/recursive-import-module/loader.js b/packages/rspack-test-tools/tests/configCases/loader-import-module/recursive-import-module/loader.js similarity index 100% rename from packages/rspack/tests/configCases/loader-import-module/recursive-import-module/loader.js rename to packages/rspack-test-tools/tests/configCases/loader-import-module/recursive-import-module/loader.js diff --git a/packages/rspack/tests/configCases/loader-import-module/recursive-import-module/webpack.config.js b/packages/rspack-test-tools/tests/configCases/loader-import-module/recursive-import-module/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/loader-import-module/recursive-import-module/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/loader-import-module/recursive-import-module/webpack.config.js diff --git a/packages/rspack/tests/configCases/loader/additional-data/a.js b/packages/rspack-test-tools/tests/configCases/loader/additional-data/a.js similarity index 100% rename from packages/rspack/tests/configCases/loader/additional-data/a.js rename to packages/rspack-test-tools/tests/configCases/loader/additional-data/a.js diff --git a/packages/rspack/tests/configCases/loader/additional-data/index.js b/packages/rspack-test-tools/tests/configCases/loader/additional-data/index.js similarity index 100% rename from packages/rspack/tests/configCases/loader/additional-data/index.js rename to packages/rspack-test-tools/tests/configCases/loader/additional-data/index.js diff --git a/packages/rspack/tests/configCases/loader/additional-data/loader-1.js b/packages/rspack-test-tools/tests/configCases/loader/additional-data/loader-1.js similarity index 100% rename from packages/rspack/tests/configCases/loader/additional-data/loader-1.js rename to packages/rspack-test-tools/tests/configCases/loader/additional-data/loader-1.js diff --git a/packages/rspack/tests/configCases/loader/additional-data/loader-2.js b/packages/rspack-test-tools/tests/configCases/loader/additional-data/loader-2.js similarity index 100% rename from packages/rspack/tests/configCases/loader/additional-data/loader-2.js rename to packages/rspack-test-tools/tests/configCases/loader/additional-data/loader-2.js diff --git a/packages/rspack/tests/configCases/loader/additional-data/webpack.config.js b/packages/rspack-test-tools/tests/configCases/loader/additional-data/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/loader/additional-data/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/loader/additional-data/webpack.config.js diff --git a/packages/rspack/tests/configCases/loader/async/a.js b/packages/rspack-test-tools/tests/configCases/loader/async/a.js similarity index 100% rename from packages/rspack/tests/configCases/loader/async/a.js rename to packages/rspack-test-tools/tests/configCases/loader/async/a.js diff --git a/packages/rspack/tests/configCases/loader/async/asyncloader.js b/packages/rspack-test-tools/tests/configCases/loader/async/asyncloader.js similarity index 100% rename from packages/rspack/tests/configCases/loader/async/asyncloader.js rename to packages/rspack-test-tools/tests/configCases/loader/async/asyncloader.js diff --git a/packages/rspack/tests/configCases/loader/async/index.js b/packages/rspack-test-tools/tests/configCases/loader/async/index.js similarity index 100% rename from packages/rspack/tests/configCases/loader/async/index.js rename to packages/rspack-test-tools/tests/configCases/loader/async/index.js diff --git a/packages/rspack/tests/configCases/loader/async/syncloader.js b/packages/rspack-test-tools/tests/configCases/loader/async/syncloader.js similarity index 100% rename from packages/rspack/tests/configCases/loader/async/syncloader.js rename to packages/rspack-test-tools/tests/configCases/loader/async/syncloader.js diff --git a/packages/rspack/tests/configCases/loader/async/webpack.config.js b/packages/rspack-test-tools/tests/configCases/loader/async/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/loader/async/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/loader/async/webpack.config.js diff --git a/packages/rspack/tests/configCases/loader/binary-with-source-map/empty-loader.js b/packages/rspack-test-tools/tests/configCases/loader/binary-with-source-map/empty-loader.js similarity index 100% rename from packages/rspack/tests/configCases/loader/binary-with-source-map/empty-loader.js rename to packages/rspack-test-tools/tests/configCases/loader/binary-with-source-map/empty-loader.js diff --git a/packages/rspack/tests/configCases/loader/binary-with-source-map/index.js b/packages/rspack-test-tools/tests/configCases/loader/binary-with-source-map/index.js similarity index 100% rename from packages/rspack/tests/configCases/loader/binary-with-source-map/index.js rename to packages/rspack-test-tools/tests/configCases/loader/binary-with-source-map/index.js diff --git a/packages/rspack/tests/configCases/loader/binary-with-source-map/logo.png b/packages/rspack-test-tools/tests/configCases/loader/binary-with-source-map/logo.png similarity index 100% rename from packages/rspack/tests/configCases/loader/binary-with-source-map/logo.png rename to packages/rspack-test-tools/tests/configCases/loader/binary-with-source-map/logo.png diff --git a/packages/rspack/tests/configCases/loader/binary-with-source-map/webpack.config.js b/packages/rspack-test-tools/tests/configCases/loader/binary-with-source-map/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/loader/binary-with-source-map/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/loader/binary-with-source-map/webpack.config.js diff --git a/packages/rspack/tests/configCases/loader/builtin-loader-ident/index.js b/packages/rspack-test-tools/tests/configCases/loader/builtin-loader-ident/index.js similarity index 100% rename from packages/rspack/tests/configCases/loader/builtin-loader-ident/index.js rename to packages/rspack-test-tools/tests/configCases/loader/builtin-loader-ident/index.js diff --git a/packages/rspack/tests/configCases/loader/builtin-loader-ident/lib.ts b/packages/rspack-test-tools/tests/configCases/loader/builtin-loader-ident/lib.ts similarity index 100% rename from packages/rspack/tests/configCases/loader/builtin-loader-ident/lib.ts rename to packages/rspack-test-tools/tests/configCases/loader/builtin-loader-ident/lib.ts diff --git a/packages/rspack/tests/configCases/loader/builtin-loader-ident/webpack.config.js b/packages/rspack-test-tools/tests/configCases/loader/builtin-loader-ident/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/loader/builtin-loader-ident/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/loader/builtin-loader-ident/webpack.config.js diff --git a/packages/rspack/tests/configCases/loader/context-fragment/a.js b/packages/rspack-test-tools/tests/configCases/loader/context-fragment/a.js similarity index 100% rename from packages/rspack/tests/configCases/loader/context-fragment/a.js rename to packages/rspack-test-tools/tests/configCases/loader/context-fragment/a.js diff --git a/packages/rspack/tests/configCases/loader/context-fragment/b.js b/packages/rspack-test-tools/tests/configCases/loader/context-fragment/b.js similarity index 100% rename from packages/rspack/tests/configCases/loader/context-fragment/b.js rename to packages/rspack-test-tools/tests/configCases/loader/context-fragment/b.js diff --git a/packages/rspack/tests/configCases/loader/context-fragment/index.js b/packages/rspack-test-tools/tests/configCases/loader/context-fragment/index.js similarity index 100% rename from packages/rspack/tests/configCases/loader/context-fragment/index.js rename to packages/rspack-test-tools/tests/configCases/loader/context-fragment/index.js diff --git a/packages/rspack/tests/configCases/loader/context-fragment/my-loader.js b/packages/rspack-test-tools/tests/configCases/loader/context-fragment/my-loader.js similarity index 100% rename from packages/rspack/tests/configCases/loader/context-fragment/my-loader.js rename to packages/rspack-test-tools/tests/configCases/loader/context-fragment/my-loader.js diff --git a/packages/rspack/tests/configCases/loader/context-fragment/webpack.config.js b/packages/rspack-test-tools/tests/configCases/loader/context-fragment/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/loader/context-fragment/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/loader/context-fragment/webpack.config.js diff --git a/packages/rspack/tests/configCases/loader/context-path/a.js b/packages/rspack-test-tools/tests/configCases/loader/context-path/a.js similarity index 100% rename from packages/rspack/tests/configCases/loader/context-path/a.js rename to packages/rspack-test-tools/tests/configCases/loader/context-path/a.js diff --git a/packages/rspack/tests/configCases/loader/context-path/index.js b/packages/rspack-test-tools/tests/configCases/loader/context-path/index.js similarity index 100% rename from packages/rspack/tests/configCases/loader/context-path/index.js rename to packages/rspack-test-tools/tests/configCases/loader/context-path/index.js diff --git a/packages/rspack/tests/configCases/loader/context-path/my-loader.js b/packages/rspack-test-tools/tests/configCases/loader/context-path/my-loader.js similarity index 100% rename from packages/rspack/tests/configCases/loader/context-path/my-loader.js rename to packages/rspack-test-tools/tests/configCases/loader/context-path/my-loader.js diff --git a/packages/rspack/tests/configCases/loader/context-path/webpack.config.js b/packages/rspack-test-tools/tests/configCases/loader/context-path/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/loader/context-path/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/loader/context-path/webpack.config.js diff --git a/packages/rspack/tests/configCases/loader/context-query/a.js b/packages/rspack-test-tools/tests/configCases/loader/context-query/a.js similarity index 100% rename from packages/rspack/tests/configCases/loader/context-query/a.js rename to packages/rspack-test-tools/tests/configCases/loader/context-query/a.js diff --git a/packages/rspack/tests/configCases/loader/context-query/b.js b/packages/rspack-test-tools/tests/configCases/loader/context-query/b.js similarity index 100% rename from packages/rspack/tests/configCases/loader/context-query/b.js rename to packages/rspack-test-tools/tests/configCases/loader/context-query/b.js diff --git a/packages/rspack/tests/configCases/loader/context-query/index.js b/packages/rspack-test-tools/tests/configCases/loader/context-query/index.js similarity index 100% rename from packages/rspack/tests/configCases/loader/context-query/index.js rename to packages/rspack-test-tools/tests/configCases/loader/context-query/index.js diff --git a/packages/rspack/tests/configCases/loader/context-query/my-loader.js b/packages/rspack-test-tools/tests/configCases/loader/context-query/my-loader.js similarity index 100% rename from packages/rspack/tests/configCases/loader/context-query/my-loader.js rename to packages/rspack-test-tools/tests/configCases/loader/context-query/my-loader.js diff --git a/packages/rspack/tests/configCases/loader/context-query/webpack.config.js b/packages/rspack-test-tools/tests/configCases/loader/context-query/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/loader/context-query/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/loader/context-query/webpack.config.js diff --git a/packages/rspack/tests/configCases/loader/context-resource/a.js b/packages/rspack-test-tools/tests/configCases/loader/context-resource/a.js similarity index 100% rename from packages/rspack/tests/configCases/loader/context-resource/a.js rename to packages/rspack-test-tools/tests/configCases/loader/context-resource/a.js diff --git a/packages/rspack/tests/configCases/loader/context-resource/index.js b/packages/rspack-test-tools/tests/configCases/loader/context-resource/index.js similarity index 100% rename from packages/rspack/tests/configCases/loader/context-resource/index.js rename to packages/rspack-test-tools/tests/configCases/loader/context-resource/index.js diff --git a/packages/rspack/tests/configCases/loader/context-resource/my-loader.js b/packages/rspack-test-tools/tests/configCases/loader/context-resource/my-loader.js similarity index 100% rename from packages/rspack/tests/configCases/loader/context-resource/my-loader.js rename to packages/rspack-test-tools/tests/configCases/loader/context-resource/my-loader.js diff --git a/packages/rspack/tests/configCases/loader/context-resource/webpack.config.js b/packages/rspack-test-tools/tests/configCases/loader/context-resource/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/loader/context-resource/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/loader/context-resource/webpack.config.js diff --git a/packages/rspack/tests/configCases/loader/context/a.js b/packages/rspack-test-tools/tests/configCases/loader/context/a.js similarity index 100% rename from packages/rspack/tests/configCases/loader/context/a.js rename to packages/rspack-test-tools/tests/configCases/loader/context/a.js diff --git a/packages/rspack/tests/configCases/loader/context/index.js b/packages/rspack-test-tools/tests/configCases/loader/context/index.js similarity index 100% rename from packages/rspack/tests/configCases/loader/context/index.js rename to packages/rspack-test-tools/tests/configCases/loader/context/index.js diff --git a/packages/rspack/tests/configCases/loader/context/replace-loader.js b/packages/rspack-test-tools/tests/configCases/loader/context/replace-loader.js similarity index 100% rename from packages/rspack/tests/configCases/loader/context/replace-loader.js rename to packages/rspack-test-tools/tests/configCases/loader/context/replace-loader.js diff --git a/packages/rspack/tests/configCases/loader/context/webpack.config.js b/packages/rspack-test-tools/tests/configCases/loader/context/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/loader/context/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/loader/context/webpack.config.js diff --git a/packages/rspack/tests/configCases/loader/file-loader/index.js b/packages/rspack-test-tools/tests/configCases/loader/file-loader/index.js similarity index 100% rename from packages/rspack/tests/configCases/loader/file-loader/index.js rename to packages/rspack-test-tools/tests/configCases/loader/file-loader/index.js diff --git a/packages/rspack/tests/configCases/loader/file-loader/logo.png b/packages/rspack-test-tools/tests/configCases/loader/file-loader/logo.png similarity index 100% rename from packages/rspack/tests/configCases/loader/file-loader/logo.png rename to packages/rspack-test-tools/tests/configCases/loader/file-loader/logo.png diff --git a/packages/rspack/tests/configCases/loader/file-loader/webpack.config.js b/packages/rspack-test-tools/tests/configCases/loader/file-loader/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/loader/file-loader/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/loader/file-loader/webpack.config.js diff --git a/packages/rspack/tests/configCases/loader/hot/index.js b/packages/rspack-test-tools/tests/configCases/loader/hot/index.js similarity index 100% rename from packages/rspack/tests/configCases/loader/hot/index.js rename to packages/rspack-test-tools/tests/configCases/loader/hot/index.js diff --git a/packages/rspack/tests/configCases/loader/hot/loader.js b/packages/rspack-test-tools/tests/configCases/loader/hot/loader.js similarity index 100% rename from packages/rspack/tests/configCases/loader/hot/loader.js rename to packages/rspack-test-tools/tests/configCases/loader/hot/loader.js diff --git a/packages/rspack/tests/configCases/loader/hot/webpack.config.js b/packages/rspack-test-tools/tests/configCases/loader/hot/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/loader/hot/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/loader/hot/webpack.config.js diff --git a/packages/rspack/tests/configCases/loader/issue-webpack-9053/b.js b/packages/rspack-test-tools/tests/configCases/loader/issue-webpack-9053/b.js similarity index 100% rename from packages/rspack/tests/configCases/loader/issue-webpack-9053/b.js rename to packages/rspack-test-tools/tests/configCases/loader/issue-webpack-9053/b.js diff --git a/packages/rspack/tests/configCases/loader/issue-webpack-9053/c.js b/packages/rspack-test-tools/tests/configCases/loader/issue-webpack-9053/c.js similarity index 100% rename from packages/rspack/tests/configCases/loader/issue-webpack-9053/c.js rename to packages/rspack-test-tools/tests/configCases/loader/issue-webpack-9053/c.js diff --git a/packages/rspack/tests/configCases/loader/issue-webpack-9053/index.js b/packages/rspack-test-tools/tests/configCases/loader/issue-webpack-9053/index.js similarity index 100% rename from packages/rspack/tests/configCases/loader/issue-webpack-9053/index.js rename to packages/rspack-test-tools/tests/configCases/loader/issue-webpack-9053/index.js diff --git a/packages/rspack/tests/configCases/loader/issue-webpack-9053/node_modules/loader1.js b/packages/rspack-test-tools/tests/configCases/loader/issue-webpack-9053/node_modules/loader1.js similarity index 100% rename from packages/rspack/tests/configCases/loader/issue-webpack-9053/node_modules/loader1.js rename to packages/rspack-test-tools/tests/configCases/loader/issue-webpack-9053/node_modules/loader1.js diff --git a/packages/rspack/tests/configCases/loader/issue-webpack-9053/node_modules/loader2.js b/packages/rspack-test-tools/tests/configCases/loader/issue-webpack-9053/node_modules/loader2.js similarity index 100% rename from packages/rspack/tests/configCases/loader/issue-webpack-9053/node_modules/loader2.js rename to packages/rspack-test-tools/tests/configCases/loader/issue-webpack-9053/node_modules/loader2.js diff --git a/packages/rspack/tests/configCases/loader/issue-webpack-9053/node_modules/loader3.js b/packages/rspack-test-tools/tests/configCases/loader/issue-webpack-9053/node_modules/loader3.js similarity index 100% rename from packages/rspack/tests/configCases/loader/issue-webpack-9053/node_modules/loader3.js rename to packages/rspack-test-tools/tests/configCases/loader/issue-webpack-9053/node_modules/loader3.js diff --git a/packages/rspack/tests/configCases/loader/issue-webpack-9053/webpack.config.js b/packages/rspack-test-tools/tests/configCases/loader/issue-webpack-9053/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/loader/issue-webpack-9053/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/loader/issue-webpack-9053/webpack.config.js diff --git a/packages/rspack/tests/configCases/loader/loader-builtin-swc/index.js b/packages/rspack-test-tools/tests/configCases/loader/loader-builtin-swc/index.js similarity index 100% rename from packages/rspack/tests/configCases/loader/loader-builtin-swc/index.js rename to packages/rspack-test-tools/tests/configCases/loader/loader-builtin-swc/index.js diff --git a/packages/rspack/tests/configCases/loader/loader-builtin-swc/webpack.config.js b/packages/rspack-test-tools/tests/configCases/loader/loader-builtin-swc/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/loader/loader-builtin-swc/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/loader/loader-builtin-swc/webpack.config.js diff --git a/packages/rspack/tests/configCases/loader/loader-error-async/async.js b/packages/rspack-test-tools/tests/configCases/loader/loader-error-async/async.js similarity index 100% rename from packages/rspack/tests/configCases/loader/loader-error-async/async.js rename to packages/rspack-test-tools/tests/configCases/loader/loader-error-async/async.js diff --git a/packages/rspack/tests/configCases/loader/loader-error-async/callback.js b/packages/rspack-test-tools/tests/configCases/loader/loader-error-async/callback.js similarity index 100% rename from packages/rspack/tests/configCases/loader/loader-error-async/callback.js rename to packages/rspack-test-tools/tests/configCases/loader/loader-error-async/callback.js diff --git a/packages/rspack/tests/configCases/loader/loader-error-async/errors.js b/packages/rspack-test-tools/tests/configCases/loader/loader-error-async/errors.js similarity index 100% rename from packages/rspack/tests/configCases/loader/loader-error-async/errors.js rename to packages/rspack-test-tools/tests/configCases/loader/loader-error-async/errors.js diff --git a/packages/rspack/tests/configCases/loader/loader-error-async/index.js b/packages/rspack-test-tools/tests/configCases/loader/loader-error-async/index.js similarity index 100% rename from packages/rspack/tests/configCases/loader/loader-error-async/index.js rename to packages/rspack-test-tools/tests/configCases/loader/loader-error-async/index.js diff --git a/packages/rspack/tests/configCases/loader/loader-error-async/lib.js b/packages/rspack-test-tools/tests/configCases/loader/loader-error-async/lib.js similarity index 100% rename from packages/rspack/tests/configCases/loader/loader-error-async/lib.js rename to packages/rspack-test-tools/tests/configCases/loader/loader-error-async/lib.js diff --git a/packages/rspack/tests/configCases/loader/loader-error-async/webpack.config.js b/packages/rspack-test-tools/tests/configCases/loader/loader-error-async/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/loader/loader-error-async/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/loader/loader-error-async/webpack.config.js diff --git a/packages/rspack/tests/configCases/loader/loader-raw-string/index.js b/packages/rspack-test-tools/tests/configCases/loader/loader-raw-string/index.js similarity index 100% rename from packages/rspack/tests/configCases/loader/loader-raw-string/index.js rename to packages/rspack-test-tools/tests/configCases/loader/loader-raw-string/index.js diff --git a/packages/rspack/tests/configCases/loader/loader-raw-string/lib.js b/packages/rspack-test-tools/tests/configCases/loader/loader-raw-string/lib.js similarity index 100% rename from packages/rspack/tests/configCases/loader/loader-raw-string/lib.js rename to packages/rspack-test-tools/tests/configCases/loader/loader-raw-string/lib.js diff --git a/packages/rspack/tests/configCases/loader/loader-raw-string/loader-util.js b/packages/rspack-test-tools/tests/configCases/loader/loader-raw-string/loader-util.js similarity index 100% rename from packages/rspack/tests/configCases/loader/loader-raw-string/loader-util.js rename to packages/rspack-test-tools/tests/configCases/loader/loader-raw-string/loader-util.js diff --git a/packages/rspack/tests/configCases/loader/loader-raw-string/raw.js b/packages/rspack-test-tools/tests/configCases/loader/loader-raw-string/raw.js similarity index 100% rename from packages/rspack/tests/configCases/loader/loader-raw-string/raw.js rename to packages/rspack-test-tools/tests/configCases/loader/loader-raw-string/raw.js diff --git a/packages/rspack/tests/configCases/loader/loader-raw-string/string.js b/packages/rspack-test-tools/tests/configCases/loader/loader-raw-string/string.js similarity index 100% rename from packages/rspack/tests/configCases/loader/loader-raw-string/string.js rename to packages/rspack-test-tools/tests/configCases/loader/loader-raw-string/string.js diff --git a/packages/rspack/tests/configCases/loader/loader-raw-string/webpack.config.js b/packages/rspack-test-tools/tests/configCases/loader/loader-raw-string/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/loader/loader-raw-string/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/loader/loader-raw-string/webpack.config.js diff --git a/packages/rspack/tests/configCases/loader/loader-raw/index.js b/packages/rspack-test-tools/tests/configCases/loader/loader-raw/index.js similarity index 100% rename from packages/rspack/tests/configCases/loader/loader-raw/index.js rename to packages/rspack-test-tools/tests/configCases/loader/loader-raw/index.js diff --git a/packages/rspack/tests/configCases/loader/loader-raw/loader.js b/packages/rspack-test-tools/tests/configCases/loader/loader-raw/loader.js similarity index 100% rename from packages/rspack/tests/configCases/loader/loader-raw/loader.js rename to packages/rspack-test-tools/tests/configCases/loader/loader-raw/loader.js diff --git a/packages/rspack/tests/configCases/loader/loader-raw/logo.png b/packages/rspack-test-tools/tests/configCases/loader/loader-raw/logo.png similarity index 100% rename from packages/rspack/tests/configCases/loader/loader-raw/logo.png rename to packages/rspack-test-tools/tests/configCases/loader/loader-raw/logo.png diff --git a/packages/rspack/tests/configCases/loader/loader-raw/webpack.config.js b/packages/rspack-test-tools/tests/configCases/loader/loader-raw/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/loader/loader-raw/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/loader/loader-raw/webpack.config.js diff --git a/packages/rspack/tests/configCases/loader/loader-string/index.js b/packages/rspack-test-tools/tests/configCases/loader/loader-string/index.js similarity index 100% rename from packages/rspack/tests/configCases/loader/loader-string/index.js rename to packages/rspack-test-tools/tests/configCases/loader/loader-string/index.js diff --git a/packages/rspack/tests/configCases/loader/loader-string/lib.js b/packages/rspack-test-tools/tests/configCases/loader/loader-string/lib.js similarity index 100% rename from packages/rspack/tests/configCases/loader/loader-string/lib.js rename to packages/rspack-test-tools/tests/configCases/loader/loader-string/lib.js diff --git a/packages/rspack/tests/configCases/loader/loader-string/my-loader.js b/packages/rspack-test-tools/tests/configCases/loader/loader-string/my-loader.js similarity index 100% rename from packages/rspack/tests/configCases/loader/loader-string/my-loader.js rename to packages/rspack-test-tools/tests/configCases/loader/loader-string/my-loader.js diff --git a/packages/rspack/tests/configCases/loader/loader-string/webpack.config.js b/packages/rspack-test-tools/tests/configCases/loader/loader-string/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/loader/loader-string/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/loader/loader-string/webpack.config.js diff --git a/packages/rspack/tests/configCases/loader/match-module-type/foo.custom b/packages/rspack-test-tools/tests/configCases/loader/match-module-type/foo.custom similarity index 100% rename from packages/rspack/tests/configCases/loader/match-module-type/foo.custom rename to packages/rspack-test-tools/tests/configCases/loader/match-module-type/foo.custom diff --git a/packages/rspack/tests/configCases/loader/match-module-type/index.js b/packages/rspack-test-tools/tests/configCases/loader/match-module-type/index.js similarity index 100% rename from packages/rspack/tests/configCases/loader/match-module-type/index.js rename to packages/rspack-test-tools/tests/configCases/loader/match-module-type/index.js diff --git a/packages/rspack/tests/configCases/loader/match-module-type/loader-test.js b/packages/rspack-test-tools/tests/configCases/loader/match-module-type/loader-test.js similarity index 100% rename from packages/rspack/tests/configCases/loader/match-module-type/loader-test.js rename to packages/rspack-test-tools/tests/configCases/loader/match-module-type/loader-test.js diff --git a/packages/rspack/tests/configCases/loader/match-module-type/webpack.config.js b/packages/rspack-test-tools/tests/configCases/loader/match-module-type/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/loader/match-module-type/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/loader/match-module-type/webpack.config.js diff --git a/packages/rspack/tests/configCases/loader/module-build-error/errors.js b/packages/rspack-test-tools/tests/configCases/loader/module-build-error/errors.js similarity index 100% rename from packages/rspack/tests/configCases/loader/module-build-error/errors.js rename to packages/rspack-test-tools/tests/configCases/loader/module-build-error/errors.js diff --git a/packages/rspack/tests/configCases/loader/module-build-error/index.js b/packages/rspack-test-tools/tests/configCases/loader/module-build-error/index.js similarity index 100% rename from packages/rspack/tests/configCases/loader/module-build-error/index.js rename to packages/rspack-test-tools/tests/configCases/loader/module-build-error/index.js diff --git a/packages/rspack/tests/configCases/loader/module-build-error/index.scss b/packages/rspack-test-tools/tests/configCases/loader/module-build-error/index.scss similarity index 100% rename from packages/rspack/tests/configCases/loader/module-build-error/index.scss rename to packages/rspack-test-tools/tests/configCases/loader/module-build-error/index.scss diff --git a/packages/rspack/tests/configCases/loader/module-build-error/webpack.config.js b/packages/rspack-test-tools/tests/configCases/loader/module-build-error/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/loader/module-build-error/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/loader/module-build-error/webpack.config.js diff --git a/packages/rspack/tests/configCases/loader/options/a.js b/packages/rspack-test-tools/tests/configCases/loader/options/a.js similarity index 100% rename from packages/rspack/tests/configCases/loader/options/a.js rename to packages/rspack-test-tools/tests/configCases/loader/options/a.js diff --git a/packages/rspack/tests/configCases/loader/options/b.js b/packages/rspack-test-tools/tests/configCases/loader/options/b.js similarity index 100% rename from packages/rspack/tests/configCases/loader/options/b.js rename to packages/rspack-test-tools/tests/configCases/loader/options/b.js diff --git a/packages/rspack/tests/configCases/loader/options/c.js b/packages/rspack-test-tools/tests/configCases/loader/options/c.js similarity index 100% rename from packages/rspack/tests/configCases/loader/options/c.js rename to packages/rspack-test-tools/tests/configCases/loader/options/c.js diff --git a/packages/rspack/tests/configCases/loader/options/d.js b/packages/rspack-test-tools/tests/configCases/loader/options/d.js similarity index 100% rename from packages/rspack/tests/configCases/loader/options/d.js rename to packages/rspack-test-tools/tests/configCases/loader/options/d.js diff --git a/packages/rspack/tests/configCases/loader/options/e.js b/packages/rspack-test-tools/tests/configCases/loader/options/e.js similarity index 100% rename from packages/rspack/tests/configCases/loader/options/e.js rename to packages/rspack-test-tools/tests/configCases/loader/options/e.js diff --git a/packages/rspack/tests/configCases/loader/options/error1.js b/packages/rspack-test-tools/tests/configCases/loader/options/error1.js similarity index 100% rename from packages/rspack/tests/configCases/loader/options/error1.js rename to packages/rspack-test-tools/tests/configCases/loader/options/error1.js diff --git a/packages/rspack/tests/configCases/loader/options/error2.js b/packages/rspack-test-tools/tests/configCases/loader/options/error2.js similarity index 100% rename from packages/rspack/tests/configCases/loader/options/error2.js rename to packages/rspack-test-tools/tests/configCases/loader/options/error2.js diff --git a/packages/rspack/tests/configCases/loader/options/f.js b/packages/rspack-test-tools/tests/configCases/loader/options/f.js similarity index 100% rename from packages/rspack/tests/configCases/loader/options/f.js rename to packages/rspack-test-tools/tests/configCases/loader/options/f.js diff --git a/packages/rspack/tests/configCases/loader/options/g.js b/packages/rspack-test-tools/tests/configCases/loader/options/g.js similarity index 100% rename from packages/rspack/tests/configCases/loader/options/g.js rename to packages/rspack-test-tools/tests/configCases/loader/options/g.js diff --git a/packages/rspack/tests/configCases/loader/options/h.js b/packages/rspack-test-tools/tests/configCases/loader/options/h.js similarity index 100% rename from packages/rspack/tests/configCases/loader/options/h.js rename to packages/rspack-test-tools/tests/configCases/loader/options/h.js diff --git a/packages/rspack/tests/configCases/loader/options/i.js b/packages/rspack-test-tools/tests/configCases/loader/options/i.js similarity index 100% rename from packages/rspack/tests/configCases/loader/options/i.js rename to packages/rspack-test-tools/tests/configCases/loader/options/i.js diff --git a/packages/rspack/tests/configCases/loader/options/index.js b/packages/rspack-test-tools/tests/configCases/loader/options/index.js similarity index 100% rename from packages/rspack/tests/configCases/loader/options/index.js rename to packages/rspack-test-tools/tests/configCases/loader/options/index.js diff --git a/packages/rspack/tests/configCases/loader/options/infrastructure-log.js b/packages/rspack-test-tools/tests/configCases/loader/options/infrastructure-log.js similarity index 100% rename from packages/rspack/tests/configCases/loader/options/infrastructure-log.js rename to packages/rspack-test-tools/tests/configCases/loader/options/infrastructure-log.js diff --git a/packages/rspack/tests/configCases/loader/options/loader-1.js b/packages/rspack-test-tools/tests/configCases/loader/options/loader-1.js similarity index 100% rename from packages/rspack/tests/configCases/loader/options/loader-1.js rename to packages/rspack-test-tools/tests/configCases/loader/options/loader-1.js diff --git a/packages/rspack/tests/configCases/loader/options/loader-1.options.json b/packages/rspack-test-tools/tests/configCases/loader/options/loader-1.options.json similarity index 100% rename from packages/rspack/tests/configCases/loader/options/loader-1.options.json rename to packages/rspack-test-tools/tests/configCases/loader/options/loader-1.options.json diff --git a/packages/rspack/tests/configCases/loader/options/loader-2.js b/packages/rspack-test-tools/tests/configCases/loader/options/loader-2.js similarity index 100% rename from packages/rspack/tests/configCases/loader/options/loader-2.js rename to packages/rspack-test-tools/tests/configCases/loader/options/loader-2.js diff --git a/packages/rspack/tests/configCases/loader/options/loader-2.options.json b/packages/rspack-test-tools/tests/configCases/loader/options/loader-2.options.json similarity index 100% rename from packages/rspack/tests/configCases/loader/options/loader-2.options.json rename to packages/rspack-test-tools/tests/configCases/loader/options/loader-2.options.json diff --git a/packages/rspack/tests/configCases/loader/options/loader.js b/packages/rspack-test-tools/tests/configCases/loader/options/loader.js similarity index 100% rename from packages/rspack/tests/configCases/loader/options/loader.js rename to packages/rspack-test-tools/tests/configCases/loader/options/loader.js diff --git a/packages/rspack/tests/configCases/loader/options/webpack.config.js b/packages/rspack-test-tools/tests/configCases/loader/options/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/loader/options/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/loader/options/webpack.config.js diff --git a/packages/rspack/tests/configCases/loader/pitching/index.js b/packages/rspack-test-tools/tests/configCases/loader/pitching/index.js similarity index 100% rename from packages/rspack/tests/configCases/loader/pitching/index.js rename to packages/rspack-test-tools/tests/configCases/loader/pitching/index.js diff --git a/packages/rspack/tests/configCases/loader/pitching/lib.js b/packages/rspack-test-tools/tests/configCases/loader/pitching/lib.js similarity index 100% rename from packages/rspack/tests/configCases/loader/pitching/lib.js rename to packages/rspack-test-tools/tests/configCases/loader/pitching/lib.js diff --git a/packages/rspack/tests/configCases/loader/pitching/pitching-loader.js b/packages/rspack-test-tools/tests/configCases/loader/pitching/pitching-loader.js similarity index 100% rename from packages/rspack/tests/configCases/loader/pitching/pitching-loader.js rename to packages/rspack-test-tools/tests/configCases/loader/pitching/pitching-loader.js diff --git a/packages/rspack/tests/configCases/loader/pitching/simple-async-loader.js b/packages/rspack-test-tools/tests/configCases/loader/pitching/simple-async-loader.js similarity index 100% rename from packages/rspack/tests/configCases/loader/pitching/simple-async-loader.js rename to packages/rspack-test-tools/tests/configCases/loader/pitching/simple-async-loader.js diff --git a/packages/rspack/tests/configCases/loader/pitching/simple-loader.js b/packages/rspack-test-tools/tests/configCases/loader/pitching/simple-loader.js similarity index 100% rename from packages/rspack/tests/configCases/loader/pitching/simple-loader.js rename to packages/rspack-test-tools/tests/configCases/loader/pitching/simple-loader.js diff --git a/packages/rspack/tests/configCases/loader/pitching/webpack.config.js b/packages/rspack-test-tools/tests/configCases/loader/pitching/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/loader/pitching/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/loader/pitching/webpack.config.js diff --git a/packages/rspack/tests/configCases/loader/pre-post-loader/a.js b/packages/rspack-test-tools/tests/configCases/loader/pre-post-loader/a.js similarity index 100% rename from packages/rspack/tests/configCases/loader/pre-post-loader/a.js rename to packages/rspack-test-tools/tests/configCases/loader/pre-post-loader/a.js diff --git a/packages/rspack/tests/configCases/loader/pre-post-loader/index.js b/packages/rspack-test-tools/tests/configCases/loader/pre-post-loader/index.js similarity index 100% rename from packages/rspack/tests/configCases/loader/pre-post-loader/index.js rename to packages/rspack-test-tools/tests/configCases/loader/pre-post-loader/index.js diff --git a/packages/rspack/tests/configCases/loader/pre-post-loader/loader1.js b/packages/rspack-test-tools/tests/configCases/loader/pre-post-loader/loader1.js similarity index 100% rename from packages/rspack/tests/configCases/loader/pre-post-loader/loader1.js rename to packages/rspack-test-tools/tests/configCases/loader/pre-post-loader/loader1.js diff --git a/packages/rspack/tests/configCases/loader/pre-post-loader/loader2.js b/packages/rspack-test-tools/tests/configCases/loader/pre-post-loader/loader2.js similarity index 100% rename from packages/rspack/tests/configCases/loader/pre-post-loader/loader2.js rename to packages/rspack-test-tools/tests/configCases/loader/pre-post-loader/loader2.js diff --git a/packages/rspack/tests/configCases/loader/pre-post-loader/loader3.js b/packages/rspack-test-tools/tests/configCases/loader/pre-post-loader/loader3.js similarity index 100% rename from packages/rspack/tests/configCases/loader/pre-post-loader/loader3.js rename to packages/rspack-test-tools/tests/configCases/loader/pre-post-loader/loader3.js diff --git a/packages/rspack/tests/configCases/loader/pre-post-loader/webpack.config.js b/packages/rspack-test-tools/tests/configCases/loader/pre-post-loader/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/loader/pre-post-loader/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/loader/pre-post-loader/webpack.config.js diff --git a/packages/rspack/tests/configCases/loader/rspack-issue-3418/index.js b/packages/rspack-test-tools/tests/configCases/loader/rspack-issue-3418/index.js similarity index 100% rename from packages/rspack/tests/configCases/loader/rspack-issue-3418/index.js rename to packages/rspack-test-tools/tests/configCases/loader/rspack-issue-3418/index.js diff --git a/packages/rspack/tests/configCases/loader/rspack-issue-3418/lib.js b/packages/rspack-test-tools/tests/configCases/loader/rspack-issue-3418/lib.js similarity index 100% rename from packages/rspack/tests/configCases/loader/rspack-issue-3418/lib.js rename to packages/rspack-test-tools/tests/configCases/loader/rspack-issue-3418/lib.js diff --git a/packages/rspack/tests/configCases/loader/rspack-issue-3418/loader.js b/packages/rspack-test-tools/tests/configCases/loader/rspack-issue-3418/loader.js similarity index 100% rename from packages/rspack/tests/configCases/loader/rspack-issue-3418/loader.js rename to packages/rspack-test-tools/tests/configCases/loader/rspack-issue-3418/loader.js diff --git a/packages/rspack/tests/configCases/loader/rspack-issue-3418/webpack.config.js b/packages/rspack-test-tools/tests/configCases/loader/rspack-issue-3418/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/loader/rspack-issue-3418/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/loader/rspack-issue-3418/webpack.config.js diff --git a/packages/rspack/tests/configCases/loader/rspack-issue-4297/fragmentloader.js b/packages/rspack-test-tools/tests/configCases/loader/rspack-issue-4297/fragmentloader.js similarity index 100% rename from packages/rspack/tests/configCases/loader/rspack-issue-4297/fragmentloader.js rename to packages/rspack-test-tools/tests/configCases/loader/rspack-issue-4297/fragmentloader.js diff --git a/packages/rspack/tests/configCases/loader/rspack-issue-4297/index.js b/packages/rspack-test-tools/tests/configCases/loader/rspack-issue-4297/index.js similarity index 100% rename from packages/rspack/tests/configCases/loader/rspack-issue-4297/index.js rename to packages/rspack-test-tools/tests/configCases/loader/rspack-issue-4297/index.js diff --git a/packages/rspack/tests/configCases/loader/rspack-issue-4297/lib.js b/packages/rspack-test-tools/tests/configCases/loader/rspack-issue-4297/lib.js similarity index 100% rename from packages/rspack/tests/configCases/loader/rspack-issue-4297/lib.js rename to packages/rspack-test-tools/tests/configCases/loader/rspack-issue-4297/lib.js diff --git a/packages/rspack/tests/configCases/loader/rspack-issue-4297/queryloader.js b/packages/rspack-test-tools/tests/configCases/loader/rspack-issue-4297/queryloader.js similarity index 100% rename from packages/rspack/tests/configCases/loader/rspack-issue-4297/queryloader.js rename to packages/rspack-test-tools/tests/configCases/loader/rspack-issue-4297/queryloader.js diff --git a/packages/rspack/tests/configCases/loader/rspack-issue-4297/webpack.config.js b/packages/rspack-test-tools/tests/configCases/loader/rspack-issue-4297/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/loader/rspack-issue-4297/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/loader/rspack-issue-4297/webpack.config.js diff --git a/packages/rspack/tests/configCases/loader/rspack-issue-4630/index.js b/packages/rspack-test-tools/tests/configCases/loader/rspack-issue-4630/index.js similarity index 100% rename from packages/rspack/tests/configCases/loader/rspack-issue-4630/index.js rename to packages/rspack-test-tools/tests/configCases/loader/rspack-issue-4630/index.js diff --git a/packages/rspack/tests/configCases/loader/rspack-issue-4630/webpack.config.js b/packages/rspack-test-tools/tests/configCases/loader/rspack-issue-4630/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/loader/rspack-issue-4630/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/loader/rspack-issue-4630/webpack.config.js diff --git "a/packages/rspack/tests/configCases/loader/rspack-issue-4630/\343\201\223\343\202\223\343\201\253\343\201\241\343\201\257\344\270\226\347\225\214.js" "b/packages/rspack-test-tools/tests/configCases/loader/rspack-issue-4630/\343\201\223\343\202\223\343\201\253\343\201\241\343\201\257\344\270\226\347\225\214.js" similarity index 100% rename from "packages/rspack/tests/configCases/loader/rspack-issue-4630/\343\201\223\343\202\223\343\201\253\343\201\241\343\201\257\344\270\226\347\225\214.js" rename to "packages/rspack-test-tools/tests/configCases/loader/rspack-issue-4630/\343\201\223\343\202\223\343\201\253\343\201\241\343\201\257\344\270\226\347\225\214.js" diff --git "a/packages/rspack/tests/configCases/loader/rspack-issue-4630/\344\275\240\345\245\275\344\270\226\347\225\214.js" "b/packages/rspack-test-tools/tests/configCases/loader/rspack-issue-4630/\344\275\240\345\245\275\344\270\226\347\225\214.js" similarity index 100% rename from "packages/rspack/tests/configCases/loader/rspack-issue-4630/\344\275\240\345\245\275\344\270\226\347\225\214.js" rename to "packages/rspack-test-tools/tests/configCases/loader/rspack-issue-4630/\344\275\240\345\245\275\344\270\226\347\225\214.js" diff --git "a/packages/rspack/tests/configCases/loader/rspack-issue-4630/\353\260\230\352\260\221\352\265\254\353\202\230\354\204\270\354\203\201\354\225\204.js" "b/packages/rspack-test-tools/tests/configCases/loader/rspack-issue-4630/\353\260\230\352\260\221\352\265\254\353\202\230\354\204\270\354\203\201\354\225\204.js" similarity index 100% rename from "packages/rspack/tests/configCases/loader/rspack-issue-4630/\353\260\230\352\260\221\352\265\254\353\202\230\354\204\270\354\203\201\354\225\204.js" rename to "packages/rspack-test-tools/tests/configCases/loader/rspack-issue-4630/\353\260\230\352\260\221\352\265\254\353\202\230\354\204\270\354\203\201\354\225\204.js" diff --git a/packages/rspack/tests/configCases/loader/rspack-issue-4838/a.js b/packages/rspack-test-tools/tests/configCases/loader/rspack-issue-4838/a.js similarity index 100% rename from packages/rspack/tests/configCases/loader/rspack-issue-4838/a.js rename to packages/rspack-test-tools/tests/configCases/loader/rspack-issue-4838/a.js diff --git a/packages/rspack/tests/configCases/loader/rspack-issue-4838/b.js b/packages/rspack-test-tools/tests/configCases/loader/rspack-issue-4838/b.js similarity index 100% rename from packages/rspack/tests/configCases/loader/rspack-issue-4838/b.js rename to packages/rspack-test-tools/tests/configCases/loader/rspack-issue-4838/b.js diff --git a/packages/rspack/tests/configCases/loader/rspack-issue-4838/index.js b/packages/rspack-test-tools/tests/configCases/loader/rspack-issue-4838/index.js similarity index 100% rename from packages/rspack/tests/configCases/loader/rspack-issue-4838/index.js rename to packages/rspack-test-tools/tests/configCases/loader/rspack-issue-4838/index.js diff --git a/packages/rspack/tests/configCases/loader/rspack-issue-4838/node_modules/loader1.js b/packages/rspack-test-tools/tests/configCases/loader/rspack-issue-4838/node_modules/loader1.js similarity index 100% rename from packages/rspack/tests/configCases/loader/rspack-issue-4838/node_modules/loader1.js rename to packages/rspack-test-tools/tests/configCases/loader/rspack-issue-4838/node_modules/loader1.js diff --git a/packages/rspack/tests/configCases/loader/rspack-issue-4838/webpack.config.js b/packages/rspack-test-tools/tests/configCases/loader/rspack-issue-4838/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/loader/rspack-issue-4838/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/loader/rspack-issue-4838/webpack.config.js diff --git a/packages/rspack/tests/configCases/loader/rspack-issue-5600/a.js b/packages/rspack-test-tools/tests/configCases/loader/rspack-issue-5600/a.js similarity index 100% rename from packages/rspack/tests/configCases/loader/rspack-issue-5600/a.js rename to packages/rspack-test-tools/tests/configCases/loader/rspack-issue-5600/a.js diff --git a/packages/rspack/tests/configCases/loader/rspack-issue-5600/index.js b/packages/rspack-test-tools/tests/configCases/loader/rspack-issue-5600/index.js similarity index 100% rename from packages/rspack/tests/configCases/loader/rspack-issue-5600/index.js rename to packages/rspack-test-tools/tests/configCases/loader/rspack-issue-5600/index.js diff --git a/packages/rspack/tests/configCases/loader/rspack-issue-5600/loader-a.js b/packages/rspack-test-tools/tests/configCases/loader/rspack-issue-5600/loader-a.js similarity index 100% rename from packages/rspack/tests/configCases/loader/rspack-issue-5600/loader-a.js rename to packages/rspack-test-tools/tests/configCases/loader/rspack-issue-5600/loader-a.js diff --git a/packages/rspack/tests/configCases/loader/rspack-issue-5600/loader-b.js b/packages/rspack-test-tools/tests/configCases/loader/rspack-issue-5600/loader-b.js similarity index 100% rename from packages/rspack/tests/configCases/loader/rspack-issue-5600/loader-b.js rename to packages/rspack-test-tools/tests/configCases/loader/rspack-issue-5600/loader-b.js diff --git a/packages/rspack/tests/configCases/loader/rspack-issue-5600/webpack.config.js b/packages/rspack-test-tools/tests/configCases/loader/rspack-issue-5600/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/loader/rspack-issue-5600/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/loader/rspack-issue-5600/webpack.config.js diff --git a/packages/rspack/tests/configCases/loader/rspack-issue-6068/a.js b/packages/rspack-test-tools/tests/configCases/loader/rspack-issue-6068/a.js similarity index 100% rename from packages/rspack/tests/configCases/loader/rspack-issue-6068/a.js rename to packages/rspack-test-tools/tests/configCases/loader/rspack-issue-6068/a.js diff --git a/packages/rspack/tests/configCases/loader/rspack-issue-6068/index.js b/packages/rspack-test-tools/tests/configCases/loader/rspack-issue-6068/index.js similarity index 100% rename from packages/rspack/tests/configCases/loader/rspack-issue-6068/index.js rename to packages/rspack-test-tools/tests/configCases/loader/rspack-issue-6068/index.js diff --git a/packages/rspack/tests/configCases/loader/rspack-issue-6068/loader1.js b/packages/rspack-test-tools/tests/configCases/loader/rspack-issue-6068/loader1.js similarity index 100% rename from packages/rspack/tests/configCases/loader/rspack-issue-6068/loader1.js rename to packages/rspack-test-tools/tests/configCases/loader/rspack-issue-6068/loader1.js diff --git a/packages/rspack/tests/configCases/loader/rspack-issue-6068/loader2.js b/packages/rspack-test-tools/tests/configCases/loader/rspack-issue-6068/loader2.js similarity index 100% rename from packages/rspack/tests/configCases/loader/rspack-issue-6068/loader2.js rename to packages/rspack-test-tools/tests/configCases/loader/rspack-issue-6068/loader2.js diff --git a/packages/rspack/tests/configCases/loader/rspack-issue-6068/loader3.js b/packages/rspack-test-tools/tests/configCases/loader/rspack-issue-6068/loader3.js similarity index 100% rename from packages/rspack/tests/configCases/loader/rspack-issue-6068/loader3.js rename to packages/rspack-test-tools/tests/configCases/loader/rspack-issue-6068/loader3.js diff --git a/packages/rspack/tests/configCases/loader/rspack-issue-6068/webpack.config.js b/packages/rspack-test-tools/tests/configCases/loader/rspack-issue-6068/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/loader/rspack-issue-6068/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/loader/rspack-issue-6068/webpack.config.js diff --git a/packages/rspack/tests/configCases/loader/source-map/a.js b/packages/rspack-test-tools/tests/configCases/loader/source-map/a.js similarity index 100% rename from packages/rspack/tests/configCases/loader/source-map/a.js rename to packages/rspack-test-tools/tests/configCases/loader/source-map/a.js diff --git a/packages/rspack/tests/configCases/loader/source-map/index.js b/packages/rspack-test-tools/tests/configCases/loader/source-map/index.js similarity index 100% rename from packages/rspack/tests/configCases/loader/source-map/index.js rename to packages/rspack-test-tools/tests/configCases/loader/source-map/index.js diff --git a/packages/rspack/tests/configCases/loader/source-map/loader-1.js b/packages/rspack-test-tools/tests/configCases/loader/source-map/loader-1.js similarity index 100% rename from packages/rspack/tests/configCases/loader/source-map/loader-1.js rename to packages/rspack-test-tools/tests/configCases/loader/source-map/loader-1.js diff --git a/packages/rspack/tests/configCases/loader/source-map/loader-2.js b/packages/rspack-test-tools/tests/configCases/loader/source-map/loader-2.js similarity index 100% rename from packages/rspack/tests/configCases/loader/source-map/loader-2.js rename to packages/rspack-test-tools/tests/configCases/loader/source-map/loader-2.js diff --git a/packages/rspack/tests/configCases/loader/source-map/webpack.config.js b/packages/rspack-test-tools/tests/configCases/loader/source-map/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/loader/source-map/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/loader/source-map/webpack.config.js diff --git a/packages/rspack/tests/configCases/loader/sync/a.js b/packages/rspack-test-tools/tests/configCases/loader/sync/a.js similarity index 100% rename from packages/rspack/tests/configCases/loader/sync/a.js rename to packages/rspack-test-tools/tests/configCases/loader/sync/a.js diff --git a/packages/rspack/tests/configCases/loader/sync/asyncloader.js b/packages/rspack-test-tools/tests/configCases/loader/sync/asyncloader.js similarity index 100% rename from packages/rspack/tests/configCases/loader/sync/asyncloader.js rename to packages/rspack-test-tools/tests/configCases/loader/sync/asyncloader.js diff --git a/packages/rspack/tests/configCases/loader/sync/index.js b/packages/rspack-test-tools/tests/configCases/loader/sync/index.js similarity index 100% rename from packages/rspack/tests/configCases/loader/sync/index.js rename to packages/rspack-test-tools/tests/configCases/loader/sync/index.js diff --git a/packages/rspack/tests/configCases/loader/sync/syncloader.js b/packages/rspack-test-tools/tests/configCases/loader/sync/syncloader.js similarity index 100% rename from packages/rspack/tests/configCases/loader/sync/syncloader.js rename to packages/rspack-test-tools/tests/configCases/loader/sync/syncloader.js diff --git a/packages/rspack/tests/configCases/loader/sync/webpack.config.js b/packages/rspack-test-tools/tests/configCases/loader/sync/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/loader/sync/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/loader/sync/webpack.config.js diff --git a/packages/rspack/tests/configCases/mangle-exports/skipping-mangle-css-modules/index.js b/packages/rspack-test-tools/tests/configCases/mangle-exports/skipping-mangle-css-modules/index.js similarity index 100% rename from packages/rspack/tests/configCases/mangle-exports/skipping-mangle-css-modules/index.js rename to packages/rspack-test-tools/tests/configCases/mangle-exports/skipping-mangle-css-modules/index.js diff --git a/packages/rspack/tests/configCases/mangle-exports/skipping-mangle-css-modules/index.module.css b/packages/rspack-test-tools/tests/configCases/mangle-exports/skipping-mangle-css-modules/index.module.css similarity index 100% rename from packages/rspack/tests/configCases/mangle-exports/skipping-mangle-css-modules/index.module.css rename to packages/rspack-test-tools/tests/configCases/mangle-exports/skipping-mangle-css-modules/index.module.css diff --git a/packages/rspack/tests/configCases/mangle-exports/skipping-mangle-css-modules/lib.js b/packages/rspack-test-tools/tests/configCases/mangle-exports/skipping-mangle-css-modules/lib.js similarity index 100% rename from packages/rspack/tests/configCases/mangle-exports/skipping-mangle-css-modules/lib.js rename to packages/rspack-test-tools/tests/configCases/mangle-exports/skipping-mangle-css-modules/lib.js diff --git a/packages/rspack/tests/configCases/mangle-exports/skipping-mangle-css-modules/package.json b/packages/rspack-test-tools/tests/configCases/mangle-exports/skipping-mangle-css-modules/package.json similarity index 100% rename from packages/rspack/tests/configCases/mangle-exports/skipping-mangle-css-modules/package.json rename to packages/rspack-test-tools/tests/configCases/mangle-exports/skipping-mangle-css-modules/package.json diff --git a/packages/rspack/tests/configCases/mangle-exports/skipping-mangle-css-modules/webpack.config.js b/packages/rspack-test-tools/tests/configCases/mangle-exports/skipping-mangle-css-modules/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/mangle-exports/skipping-mangle-css-modules/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/mangle-exports/skipping-mangle-css-modules/webpack.config.js diff --git a/packages/rspack/tests/configCases/module-variables/dirname-mock/index.js b/packages/rspack-test-tools/tests/configCases/module-variables/dirname-mock/index.js similarity index 100% rename from packages/rspack/tests/configCases/module-variables/dirname-mock/index.js rename to packages/rspack-test-tools/tests/configCases/module-variables/dirname-mock/index.js diff --git a/packages/rspack/tests/configCases/module-variables/dirname-mock/webpack.config.js b/packages/rspack-test-tools/tests/configCases/module-variables/dirname-mock/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/module-variables/dirname-mock/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/module-variables/dirname-mock/webpack.config.js diff --git a/packages/rspack/tests/configCases/module-variables/dirname-true/child/child.js b/packages/rspack-test-tools/tests/configCases/module-variables/dirname-true/child/child.js similarity index 100% rename from packages/rspack/tests/configCases/module-variables/dirname-true/child/child.js rename to packages/rspack-test-tools/tests/configCases/module-variables/dirname-true/child/child.js diff --git a/packages/rspack/tests/configCases/module-variables/dirname-true/index.js b/packages/rspack-test-tools/tests/configCases/module-variables/dirname-true/index.js similarity index 100% rename from packages/rspack/tests/configCases/module-variables/dirname-true/index.js rename to packages/rspack-test-tools/tests/configCases/module-variables/dirname-true/index.js diff --git a/packages/rspack/tests/configCases/module-variables/dirname-true/webpack.config.js b/packages/rspack-test-tools/tests/configCases/module-variables/dirname-true/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/module-variables/dirname-true/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/module-variables/dirname-true/webpack.config.js diff --git a/packages/rspack/tests/configCases/module-variables/dirname-web-default/index.js b/packages/rspack-test-tools/tests/configCases/module-variables/dirname-web-default/index.js similarity index 100% rename from packages/rspack/tests/configCases/module-variables/dirname-web-default/index.js rename to packages/rspack-test-tools/tests/configCases/module-variables/dirname-web-default/index.js diff --git a/packages/rspack/tests/configCases/module-variables/dirname-web-default/webpack.config.js b/packages/rspack-test-tools/tests/configCases/module-variables/dirname-web-default/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/module-variables/dirname-web-default/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/module-variables/dirname-web-default/webpack.config.js diff --git a/packages/rspack/tests/configCases/module-variables/global-false/index.js b/packages/rspack-test-tools/tests/configCases/module-variables/global-false/index.js similarity index 100% rename from packages/rspack/tests/configCases/module-variables/global-false/index.js rename to packages/rspack-test-tools/tests/configCases/module-variables/global-false/index.js diff --git a/packages/rspack/tests/configCases/module-variables/global-false/webpack.config.js b/packages/rspack-test-tools/tests/configCases/module-variables/global-false/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/module-variables/global-false/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/module-variables/global-false/webpack.config.js diff --git a/packages/rspack/tests/configCases/module-variables/global-true/index.js b/packages/rspack-test-tools/tests/configCases/module-variables/global-true/index.js similarity index 100% rename from packages/rspack/tests/configCases/module-variables/global-true/index.js rename to packages/rspack-test-tools/tests/configCases/module-variables/global-true/index.js diff --git a/packages/rspack/tests/configCases/module-variables/global-true/webpack.config.js b/packages/rspack-test-tools/tests/configCases/module-variables/global-true/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/module-variables/global-true/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/module-variables/global-true/webpack.config.js diff --git a/packages/rspack/tests/configCases/module-variables/global-warn/index.js b/packages/rspack-test-tools/tests/configCases/module-variables/global-warn/index.js similarity index 100% rename from packages/rspack/tests/configCases/module-variables/global-warn/index.js rename to packages/rspack-test-tools/tests/configCases/module-variables/global-warn/index.js diff --git a/packages/rspack/tests/configCases/module-variables/global-warn/webpack.config.js b/packages/rspack-test-tools/tests/configCases/module-variables/global-warn/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/module-variables/global-warn/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/module-variables/global-warn/webpack.config.js diff --git a/packages/rspack/tests/configCases/module-variables/resource-query/index.js b/packages/rspack-test-tools/tests/configCases/module-variables/resource-query/index.js similarity index 100% rename from packages/rspack/tests/configCases/module-variables/resource-query/index.js rename to packages/rspack-test-tools/tests/configCases/module-variables/resource-query/index.js diff --git a/packages/rspack/tests/configCases/module-variables/resource-query/webpack.config.js b/packages/rspack-test-tools/tests/configCases/module-variables/resource-query/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/module-variables/resource-query/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/module-variables/resource-query/webpack.config.js diff --git a/packages/rspack/tests/configCases/module-variables/webpack-hash/index.js b/packages/rspack-test-tools/tests/configCases/module-variables/webpack-hash/index.js similarity index 100% rename from packages/rspack/tests/configCases/module-variables/webpack-hash/index.js rename to packages/rspack-test-tools/tests/configCases/module-variables/webpack-hash/index.js diff --git a/packages/rspack/tests/configCases/module-variables/webpack-hash/webpack.config.js b/packages/rspack-test-tools/tests/configCases/module-variables/webpack-hash/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/module-variables/webpack-hash/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/module-variables/webpack-hash/webpack.config.js diff --git a/packages/rspack/tests/configCases/module-variables/webpack-modules/index.js b/packages/rspack-test-tools/tests/configCases/module-variables/webpack-modules/index.js similarity index 100% rename from packages/rspack/tests/configCases/module-variables/webpack-modules/index.js rename to packages/rspack-test-tools/tests/configCases/module-variables/webpack-modules/index.js diff --git a/packages/rspack/tests/configCases/module-variables/webpack-modules/webpack.config.js b/packages/rspack-test-tools/tests/configCases/module-variables/webpack-modules/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/module-variables/webpack-modules/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/module-variables/webpack-modules/webpack.config.js diff --git a/packages/rspack/tests/configCases/module-variables/webpack-public-path/index.js b/packages/rspack-test-tools/tests/configCases/module-variables/webpack-public-path/index.js similarity index 100% rename from packages/rspack/tests/configCases/module-variables/webpack-public-path/index.js rename to packages/rspack-test-tools/tests/configCases/module-variables/webpack-public-path/index.js diff --git a/packages/rspack/tests/configCases/module-variables/webpack-public-path/webpack.config.js b/packages/rspack-test-tools/tests/configCases/module-variables/webpack-public-path/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/module-variables/webpack-public-path/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/module-variables/webpack-public-path/webpack.config.js diff --git a/packages/rspack/tests/configCases/module-variables/webpack_chunk_load/index.js b/packages/rspack-test-tools/tests/configCases/module-variables/webpack_chunk_load/index.js similarity index 100% rename from packages/rspack/tests/configCases/module-variables/webpack_chunk_load/index.js rename to packages/rspack-test-tools/tests/configCases/module-variables/webpack_chunk_load/index.js diff --git a/packages/rspack/tests/configCases/module-variables/webpack_chunk_load/webpack.config.js b/packages/rspack-test-tools/tests/configCases/module-variables/webpack_chunk_load/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/module-variables/webpack_chunk_load/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/module-variables/webpack_chunk_load/webpack.config.js diff --git a/packages/rspack/tests/configCases/module/exclude/index.js b/packages/rspack-test-tools/tests/configCases/module/exclude/index.js similarity index 100% rename from packages/rspack/tests/configCases/module/exclude/index.js rename to packages/rspack-test-tools/tests/configCases/module/exclude/index.js diff --git a/packages/rspack/tests/configCases/module/exclude/lib.js b/packages/rspack-test-tools/tests/configCases/module/exclude/lib.js similarity index 100% rename from packages/rspack/tests/configCases/module/exclude/lib.js rename to packages/rspack-test-tools/tests/configCases/module/exclude/lib.js diff --git a/packages/rspack/tests/configCases/module/exclude/loader.js b/packages/rspack-test-tools/tests/configCases/module/exclude/loader.js similarity index 100% rename from packages/rspack/tests/configCases/module/exclude/loader.js rename to packages/rspack-test-tools/tests/configCases/module/exclude/loader.js diff --git a/packages/rspack/tests/configCases/module/exclude/webpack.config.js b/packages/rspack-test-tools/tests/configCases/module/exclude/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/module/exclude/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/module/exclude/webpack.config.js diff --git a/packages/rspack/tests/configCases/module/function-use/index.js b/packages/rspack-test-tools/tests/configCases/module/function-use/index.js similarity index 100% rename from packages/rspack/tests/configCases/module/function-use/index.js rename to packages/rspack-test-tools/tests/configCases/module/function-use/index.js diff --git a/packages/rspack/tests/configCases/module/function-use/index.less b/packages/rspack-test-tools/tests/configCases/module/function-use/index.less similarity index 100% rename from packages/rspack/tests/configCases/module/function-use/index.less rename to packages/rspack-test-tools/tests/configCases/module/function-use/index.less diff --git a/packages/rspack/tests/configCases/module/function-use/loader.js b/packages/rspack-test-tools/tests/configCases/module/function-use/loader.js similarity index 100% rename from packages/rspack/tests/configCases/module/function-use/loader.js rename to packages/rspack-test-tools/tests/configCases/module/function-use/loader.js diff --git a/packages/rspack/tests/configCases/module/function-use/webpack.config.js b/packages/rspack-test-tools/tests/configCases/module/function-use/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/module/function-use/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/module/function-use/webpack.config.js diff --git a/packages/rspack/tests/configCases/module/generator/index.js b/packages/rspack-test-tools/tests/configCases/module/generator/index.js similarity index 100% rename from packages/rspack/tests/configCases/module/generator/index.js rename to packages/rspack-test-tools/tests/configCases/module/generator/index.js diff --git a/packages/rspack/tests/configCases/module/generator/logo.png b/packages/rspack-test-tools/tests/configCases/module/generator/logo.png similarity index 100% rename from packages/rspack/tests/configCases/module/generator/logo.png rename to packages/rspack-test-tools/tests/configCases/module/generator/logo.png diff --git a/packages/rspack/tests/configCases/module/generator/logo.svg b/packages/rspack-test-tools/tests/configCases/module/generator/logo.svg similarity index 100% rename from packages/rspack/tests/configCases/module/generator/logo.svg rename to packages/rspack-test-tools/tests/configCases/module/generator/logo.svg diff --git a/packages/rspack/tests/configCases/module/generator/webpack.config.js b/packages/rspack-test-tools/tests/configCases/module/generator/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/module/generator/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/module/generator/webpack.config.js diff --git a/packages/rspack/tests/configCases/module/include/index.js b/packages/rspack-test-tools/tests/configCases/module/include/index.js similarity index 100% rename from packages/rspack/tests/configCases/module/include/index.js rename to packages/rspack-test-tools/tests/configCases/module/include/index.js diff --git a/packages/rspack/tests/configCases/module/include/lib.js b/packages/rspack-test-tools/tests/configCases/module/include/lib.js similarity index 100% rename from packages/rspack/tests/configCases/module/include/lib.js rename to packages/rspack-test-tools/tests/configCases/module/include/lib.js diff --git a/packages/rspack/tests/configCases/module/include/loader-1.js b/packages/rspack-test-tools/tests/configCases/module/include/loader-1.js similarity index 100% rename from packages/rspack/tests/configCases/module/include/loader-1.js rename to packages/rspack-test-tools/tests/configCases/module/include/loader-1.js diff --git a/packages/rspack/tests/configCases/module/include/loader-2.js b/packages/rspack-test-tools/tests/configCases/module/include/loader-2.js similarity index 100% rename from packages/rspack/tests/configCases/module/include/loader-2.js rename to packages/rspack-test-tools/tests/configCases/module/include/loader-2.js diff --git a/packages/rspack/tests/configCases/module/include/loader-3.js b/packages/rspack-test-tools/tests/configCases/module/include/loader-3.js similarity index 100% rename from packages/rspack/tests/configCases/module/include/loader-3.js rename to packages/rspack-test-tools/tests/configCases/module/include/loader-3.js diff --git a/packages/rspack/tests/configCases/module/include/webpack.config.js b/packages/rspack-test-tools/tests/configCases/module/include/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/module/include/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/module/include/webpack.config.js diff --git a/packages/rspack/tests/configCases/module/issuer/index.js b/packages/rspack-test-tools/tests/configCases/module/issuer/index.js similarity index 100% rename from packages/rspack/tests/configCases/module/issuer/index.js rename to packages/rspack-test-tools/tests/configCases/module/issuer/index.js diff --git a/packages/rspack/tests/configCases/module/issuer/lib0.js b/packages/rspack-test-tools/tests/configCases/module/issuer/lib0.js similarity index 100% rename from packages/rspack/tests/configCases/module/issuer/lib0.js rename to packages/rspack-test-tools/tests/configCases/module/issuer/lib0.js diff --git a/packages/rspack/tests/configCases/module/issuer/lib1.js b/packages/rspack-test-tools/tests/configCases/module/issuer/lib1.js similarity index 100% rename from packages/rspack/tests/configCases/module/issuer/lib1.js rename to packages/rspack-test-tools/tests/configCases/module/issuer/lib1.js diff --git a/packages/rspack/tests/configCases/module/issuer/lib2.js b/packages/rspack-test-tools/tests/configCases/module/issuer/lib2.js similarity index 100% rename from packages/rspack/tests/configCases/module/issuer/lib2.js rename to packages/rspack-test-tools/tests/configCases/module/issuer/lib2.js diff --git a/packages/rspack/tests/configCases/module/issuer/lib3.js b/packages/rspack-test-tools/tests/configCases/module/issuer/lib3.js similarity index 100% rename from packages/rspack/tests/configCases/module/issuer/lib3.js rename to packages/rspack-test-tools/tests/configCases/module/issuer/lib3.js diff --git a/packages/rspack/tests/configCases/module/issuer/loader0.js b/packages/rspack-test-tools/tests/configCases/module/issuer/loader0.js similarity index 100% rename from packages/rspack/tests/configCases/module/issuer/loader0.js rename to packages/rspack-test-tools/tests/configCases/module/issuer/loader0.js diff --git a/packages/rspack/tests/configCases/module/issuer/loader1.js b/packages/rspack-test-tools/tests/configCases/module/issuer/loader1.js similarity index 100% rename from packages/rspack/tests/configCases/module/issuer/loader1.js rename to packages/rspack-test-tools/tests/configCases/module/issuer/loader1.js diff --git a/packages/rspack/tests/configCases/module/issuer/loader2.js b/packages/rspack-test-tools/tests/configCases/module/issuer/loader2.js similarity index 100% rename from packages/rspack/tests/configCases/module/issuer/loader2.js rename to packages/rspack-test-tools/tests/configCases/module/issuer/loader2.js diff --git a/packages/rspack/tests/configCases/module/issuer/loader3.js b/packages/rspack-test-tools/tests/configCases/module/issuer/loader3.js similarity index 100% rename from packages/rspack/tests/configCases/module/issuer/loader3.js rename to packages/rspack-test-tools/tests/configCases/module/issuer/loader3.js diff --git a/packages/rspack/tests/configCases/module/issuer/webpack.config.js b/packages/rspack-test-tools/tests/configCases/module/issuer/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/module/issuer/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/module/issuer/webpack.config.js diff --git a/packages/rspack/tests/configCases/module/keep-order/file.js b/packages/rspack-test-tools/tests/configCases/module/keep-order/file.js similarity index 100% rename from packages/rspack/tests/configCases/module/keep-order/file.js rename to packages/rspack-test-tools/tests/configCases/module/keep-order/file.js diff --git a/packages/rspack/tests/configCases/module/keep-order/index.js b/packages/rspack-test-tools/tests/configCases/module/keep-order/index.js similarity index 100% rename from packages/rspack/tests/configCases/module/keep-order/index.js rename to packages/rspack-test-tools/tests/configCases/module/keep-order/index.js diff --git a/packages/rspack/tests/configCases/module/keep-order/test-loader.js b/packages/rspack-test-tools/tests/configCases/module/keep-order/test-loader.js similarity index 100% rename from packages/rspack/tests/configCases/module/keep-order/test-loader.js rename to packages/rspack-test-tools/tests/configCases/module/keep-order/test-loader.js diff --git a/packages/rspack/tests/configCases/module/keep-order/webpack.config.js b/packages/rspack-test-tools/tests/configCases/module/keep-order/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/module/keep-order/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/module/keep-order/webpack.config.js diff --git a/packages/rspack/tests/configCases/module/match-all/img.svg b/packages/rspack-test-tools/tests/configCases/module/match-all/img.svg similarity index 100% rename from packages/rspack/tests/configCases/module/match-all/img.svg rename to packages/rspack-test-tools/tests/configCases/module/match-all/img.svg diff --git a/packages/rspack/tests/configCases/module/match-all/index.js b/packages/rspack-test-tools/tests/configCases/module/match-all/index.js similarity index 100% rename from packages/rspack/tests/configCases/module/match-all/index.js rename to packages/rspack-test-tools/tests/configCases/module/match-all/index.js diff --git a/packages/rspack/tests/configCases/module/match-all/webpack.config.js b/packages/rspack-test-tools/tests/configCases/module/match-all/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/module/match-all/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/module/match-all/webpack.config.js diff --git a/packages/rspack/tests/configCases/module/match-module-type/img.png b/packages/rspack-test-tools/tests/configCases/module/match-module-type/img.png similarity index 100% rename from packages/rspack/tests/configCases/module/match-module-type/img.png rename to packages/rspack-test-tools/tests/configCases/module/match-module-type/img.png diff --git a/packages/rspack/tests/configCases/module/match-module-type/img.svg b/packages/rspack-test-tools/tests/configCases/module/match-module-type/img.svg similarity index 100% rename from packages/rspack/tests/configCases/module/match-module-type/img.svg rename to packages/rspack-test-tools/tests/configCases/module/match-module-type/img.svg diff --git a/packages/rspack/tests/configCases/module/match-module-type/index.js b/packages/rspack-test-tools/tests/configCases/module/match-module-type/index.js similarity index 100% rename from packages/rspack/tests/configCases/module/match-module-type/index.js rename to packages/rspack-test-tools/tests/configCases/module/match-module-type/index.js diff --git a/packages/rspack/tests/configCases/module/match-module-type/webpack.config.js b/packages/rspack-test-tools/tests/configCases/module/match-module-type/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/module/match-module-type/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/module/match-module-type/webpack.config.js diff --git a/packages/rspack/tests/configCases/module/merge-global-generator/index.js b/packages/rspack-test-tools/tests/configCases/module/merge-global-generator/index.js similarity index 100% rename from packages/rspack/tests/configCases/module/merge-global-generator/index.js rename to packages/rspack-test-tools/tests/configCases/module/merge-global-generator/index.js diff --git a/packages/rspack/tests/configCases/module/merge-global-generator/index.module.css b/packages/rspack-test-tools/tests/configCases/module/merge-global-generator/index.module.css similarity index 100% rename from packages/rspack/tests/configCases/module/merge-global-generator/index.module.css rename to packages/rspack-test-tools/tests/configCases/module/merge-global-generator/index.module.css diff --git a/packages/rspack/tests/configCases/module/merge-global-generator/webpack.config.js b/packages/rspack-test-tools/tests/configCases/module/merge-global-generator/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/module/merge-global-generator/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/module/merge-global-generator/webpack.config.js diff --git a/packages/rspack/tests/configCases/module/no-parse/foo.js b/packages/rspack-test-tools/tests/configCases/module/no-parse/foo.js similarity index 100% rename from packages/rspack/tests/configCases/module/no-parse/foo.js rename to packages/rspack-test-tools/tests/configCases/module/no-parse/foo.js diff --git a/packages/rspack/tests/configCases/module/no-parse/index.js b/packages/rspack-test-tools/tests/configCases/module/no-parse/index.js similarity index 100% rename from packages/rspack/tests/configCases/module/no-parse/index.js rename to packages/rspack-test-tools/tests/configCases/module/no-parse/index.js diff --git a/packages/rspack/tests/configCases/module/no-parse/not-parsed-a.js b/packages/rspack-test-tools/tests/configCases/module/no-parse/not-parsed-a.js similarity index 100% rename from packages/rspack/tests/configCases/module/no-parse/not-parsed-a.js rename to packages/rspack-test-tools/tests/configCases/module/no-parse/not-parsed-a.js diff --git a/packages/rspack/tests/configCases/module/no-parse/webpack.config.js b/packages/rspack-test-tools/tests/configCases/module/no-parse/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/module/no-parse/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/module/no-parse/webpack.config.js diff --git a/packages/rspack/tests/configCases/module/one-of-nested/index.js b/packages/rspack-test-tools/tests/configCases/module/one-of-nested/index.js similarity index 100% rename from packages/rspack/tests/configCases/module/one-of-nested/index.js rename to packages/rspack-test-tools/tests/configCases/module/one-of-nested/index.js diff --git a/packages/rspack/tests/configCases/module/one-of-nested/lib.js b/packages/rspack-test-tools/tests/configCases/module/one-of-nested/lib.js similarity index 100% rename from packages/rspack/tests/configCases/module/one-of-nested/lib.js rename to packages/rspack-test-tools/tests/configCases/module/one-of-nested/lib.js diff --git a/packages/rspack/tests/configCases/module/one-of-nested/loader.js b/packages/rspack-test-tools/tests/configCases/module/one-of-nested/loader.js similarity index 100% rename from packages/rspack/tests/configCases/module/one-of-nested/loader.js rename to packages/rspack-test-tools/tests/configCases/module/one-of-nested/loader.js diff --git a/packages/rspack/tests/configCases/module/one-of-nested/loader1.js b/packages/rspack-test-tools/tests/configCases/module/one-of-nested/loader1.js similarity index 100% rename from packages/rspack/tests/configCases/module/one-of-nested/loader1.js rename to packages/rspack-test-tools/tests/configCases/module/one-of-nested/loader1.js diff --git a/packages/rspack/tests/configCases/module/one-of-nested/loader2.js b/packages/rspack-test-tools/tests/configCases/module/one-of-nested/loader2.js similarity index 100% rename from packages/rspack/tests/configCases/module/one-of-nested/loader2.js rename to packages/rspack-test-tools/tests/configCases/module/one-of-nested/loader2.js diff --git a/packages/rspack/tests/configCases/module/one-of-nested/webpack.config.js b/packages/rspack-test-tools/tests/configCases/module/one-of-nested/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/module/one-of-nested/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/module/one-of-nested/webpack.config.js diff --git a/packages/rspack/tests/configCases/module/one-of/index.js b/packages/rspack-test-tools/tests/configCases/module/one-of/index.js similarity index 100% rename from packages/rspack/tests/configCases/module/one-of/index.js rename to packages/rspack-test-tools/tests/configCases/module/one-of/index.js diff --git a/packages/rspack/tests/configCases/module/one-of/lib.js b/packages/rspack-test-tools/tests/configCases/module/one-of/lib.js similarity index 100% rename from packages/rspack/tests/configCases/module/one-of/lib.js rename to packages/rspack-test-tools/tests/configCases/module/one-of/lib.js diff --git a/packages/rspack/tests/configCases/module/one-of/loader.js b/packages/rspack-test-tools/tests/configCases/module/one-of/loader.js similarity index 100% rename from packages/rspack/tests/configCases/module/one-of/loader.js rename to packages/rspack-test-tools/tests/configCases/module/one-of/loader.js diff --git a/packages/rspack/tests/configCases/module/one-of/loader1.js b/packages/rspack-test-tools/tests/configCases/module/one-of/loader1.js similarity index 100% rename from packages/rspack/tests/configCases/module/one-of/loader1.js rename to packages/rspack-test-tools/tests/configCases/module/one-of/loader1.js diff --git a/packages/rspack/tests/configCases/module/one-of/loader2.js b/packages/rspack-test-tools/tests/configCases/module/one-of/loader2.js similarity index 100% rename from packages/rspack/tests/configCases/module/one-of/loader2.js rename to packages/rspack-test-tools/tests/configCases/module/one-of/loader2.js diff --git a/packages/rspack/tests/configCases/module/one-of/webpack.config.js b/packages/rspack-test-tools/tests/configCases/module/one-of/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/module/one-of/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/module/one-of/webpack.config.js diff --git a/packages/rspack/tests/configCases/module/order-nested/index.js b/packages/rspack-test-tools/tests/configCases/module/order-nested/index.js similarity index 100% rename from packages/rspack/tests/configCases/module/order-nested/index.js rename to packages/rspack-test-tools/tests/configCases/module/order-nested/index.js diff --git a/packages/rspack/tests/configCases/module/order-nested/lib.js b/packages/rspack-test-tools/tests/configCases/module/order-nested/lib.js similarity index 100% rename from packages/rspack/tests/configCases/module/order-nested/lib.js rename to packages/rspack-test-tools/tests/configCases/module/order-nested/lib.js diff --git a/packages/rspack/tests/configCases/module/order-nested/loader.js b/packages/rspack-test-tools/tests/configCases/module/order-nested/loader.js similarity index 100% rename from packages/rspack/tests/configCases/module/order-nested/loader.js rename to packages/rspack-test-tools/tests/configCases/module/order-nested/loader.js diff --git a/packages/rspack/tests/configCases/module/order-nested/loader1.js b/packages/rspack-test-tools/tests/configCases/module/order-nested/loader1.js similarity index 100% rename from packages/rspack/tests/configCases/module/order-nested/loader1.js rename to packages/rspack-test-tools/tests/configCases/module/order-nested/loader1.js diff --git a/packages/rspack/tests/configCases/module/order-nested/loader2.js b/packages/rspack-test-tools/tests/configCases/module/order-nested/loader2.js similarity index 100% rename from packages/rspack/tests/configCases/module/order-nested/loader2.js rename to packages/rspack-test-tools/tests/configCases/module/order-nested/loader2.js diff --git a/packages/rspack/tests/configCases/module/order-nested/webpack.config.js b/packages/rspack-test-tools/tests/configCases/module/order-nested/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/module/order-nested/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/module/order-nested/webpack.config.js diff --git a/packages/rspack/tests/configCases/module/order-under-import/file.js b/packages/rspack-test-tools/tests/configCases/module/order-under-import/file.js similarity index 100% rename from packages/rspack/tests/configCases/module/order-under-import/file.js rename to packages/rspack-test-tools/tests/configCases/module/order-under-import/file.js diff --git a/packages/rspack/tests/configCases/module/order-under-import/index.js b/packages/rspack-test-tools/tests/configCases/module/order-under-import/index.js similarity index 100% rename from packages/rspack/tests/configCases/module/order-under-import/index.js rename to packages/rspack-test-tools/tests/configCases/module/order-under-import/index.js diff --git a/packages/rspack/tests/configCases/module/order-under-import/test-loader.js b/packages/rspack-test-tools/tests/configCases/module/order-under-import/test-loader.js similarity index 100% rename from packages/rspack/tests/configCases/module/order-under-import/test-loader.js rename to packages/rspack-test-tools/tests/configCases/module/order-under-import/test-loader.js diff --git a/packages/rspack/tests/configCases/module/order-under-import/webpack.config.js b/packages/rspack-test-tools/tests/configCases/module/order-under-import/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/module/order-under-import/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/module/order-under-import/webpack.config.js diff --git a/packages/rspack/tests/configCases/module/parser/index.js b/packages/rspack-test-tools/tests/configCases/module/parser/index.js similarity index 100% rename from packages/rspack/tests/configCases/module/parser/index.js rename to packages/rspack-test-tools/tests/configCases/module/parser/index.js diff --git a/packages/rspack/tests/configCases/module/parser/logo.png b/packages/rspack-test-tools/tests/configCases/module/parser/logo.png similarity index 100% rename from packages/rspack/tests/configCases/module/parser/logo.png rename to packages/rspack-test-tools/tests/configCases/module/parser/logo.png diff --git a/packages/rspack/tests/configCases/module/parser/webpack.config.js b/packages/rspack-test-tools/tests/configCases/module/parser/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/module/parser/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/module/parser/webpack.config.js diff --git a/packages/rspack/tests/configCases/module/resolve/images/logo.png b/packages/rspack-test-tools/tests/configCases/module/resolve/images/logo.png similarity index 100% rename from packages/rspack/tests/configCases/module/resolve/images/logo.png rename to packages/rspack-test-tools/tests/configCases/module/resolve/images/logo.png diff --git a/packages/rspack/tests/configCases/module/resolve/index.css b/packages/rspack-test-tools/tests/configCases/module/resolve/index.css similarity index 100% rename from packages/rspack/tests/configCases/module/resolve/index.css rename to packages/rspack-test-tools/tests/configCases/module/resolve/index.css diff --git a/packages/rspack/tests/configCases/module/resolve/index.js b/packages/rspack-test-tools/tests/configCases/module/resolve/index.js similarity index 100% rename from packages/rspack/tests/configCases/module/resolve/index.js rename to packages/rspack-test-tools/tests/configCases/module/resolve/index.js diff --git a/packages/rspack/tests/configCases/module/resolve/webpack.config.js b/packages/rspack-test-tools/tests/configCases/module/resolve/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/module/resolve/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/module/resolve/webpack.config.js diff --git a/packages/rspack/tests/configCases/module/resource/index.js b/packages/rspack-test-tools/tests/configCases/module/resource/index.js similarity index 100% rename from packages/rspack/tests/configCases/module/resource/index.js rename to packages/rspack-test-tools/tests/configCases/module/resource/index.js diff --git a/packages/rspack/tests/configCases/module/resource/lib.js b/packages/rspack-test-tools/tests/configCases/module/resource/lib.js similarity index 100% rename from packages/rspack/tests/configCases/module/resource/lib.js rename to packages/rspack-test-tools/tests/configCases/module/resource/lib.js diff --git a/packages/rspack/tests/configCases/module/resource/loader-1.js b/packages/rspack-test-tools/tests/configCases/module/resource/loader-1.js similarity index 100% rename from packages/rspack/tests/configCases/module/resource/loader-1.js rename to packages/rspack-test-tools/tests/configCases/module/resource/loader-1.js diff --git a/packages/rspack/tests/configCases/module/resource/loader-2.js b/packages/rspack-test-tools/tests/configCases/module/resource/loader-2.js similarity index 100% rename from packages/rspack/tests/configCases/module/resource/loader-2.js rename to packages/rspack-test-tools/tests/configCases/module/resource/loader-2.js diff --git a/packages/rspack/tests/configCases/module/resource/webpack.config.js b/packages/rspack-test-tools/tests/configCases/module/resource/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/module/resource/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/module/resource/webpack.config.js diff --git a/packages/rspack/tests/configCases/module/rspack-issue-1652/dynamic.js b/packages/rspack-test-tools/tests/configCases/module/rspack-issue-1652/dynamic.js similarity index 100% rename from packages/rspack/tests/configCases/module/rspack-issue-1652/dynamic.js rename to packages/rspack-test-tools/tests/configCases/module/rspack-issue-1652/dynamic.js diff --git a/packages/rspack/tests/configCases/module/rspack-issue-1652/index.js b/packages/rspack-test-tools/tests/configCases/module/rspack-issue-1652/index.js similarity index 100% rename from packages/rspack/tests/configCases/module/rspack-issue-1652/index.js rename to packages/rspack-test-tools/tests/configCases/module/rspack-issue-1652/index.js diff --git a/packages/rspack/tests/configCases/module/rspack-issue-1652/webpack.config.js b/packages/rspack-test-tools/tests/configCases/module/rspack-issue-1652/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/module/rspack-issue-1652/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/module/rspack-issue-1652/webpack.config.js diff --git a/packages/rspack/tests/configCases/module/rspack-issue-2791/answer.js b/packages/rspack-test-tools/tests/configCases/module/rspack-issue-2791/answer.js similarity index 100% rename from packages/rspack/tests/configCases/module/rspack-issue-2791/answer.js rename to packages/rspack-test-tools/tests/configCases/module/rspack-issue-2791/answer.js diff --git a/packages/rspack/tests/configCases/module/rspack-issue-2791/index.js b/packages/rspack-test-tools/tests/configCases/module/rspack-issue-2791/index.js similarity index 100% rename from packages/rspack/tests/configCases/module/rspack-issue-2791/index.js rename to packages/rspack-test-tools/tests/configCases/module/rspack-issue-2791/index.js diff --git a/packages/rspack/tests/configCases/module/rspack-issue-2791/webpack.config.js b/packages/rspack-test-tools/tests/configCases/module/rspack-issue-2791/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/module/rspack-issue-2791/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/module/rspack-issue-2791/webpack.config.js diff --git a/packages/rspack/tests/configCases/module/rspack-issue-4224/index.js b/packages/rspack-test-tools/tests/configCases/module/rspack-issue-4224/index.js similarity index 100% rename from packages/rspack/tests/configCases/module/rspack-issue-4224/index.js rename to packages/rspack-test-tools/tests/configCases/module/rspack-issue-4224/index.js diff --git a/packages/rspack/tests/configCases/module/rspack-issue-4224/index.scss b/packages/rspack-test-tools/tests/configCases/module/rspack-issue-4224/index.scss similarity index 100% rename from packages/rspack/tests/configCases/module/rspack-issue-4224/index.scss rename to packages/rspack-test-tools/tests/configCases/module/rspack-issue-4224/index.scss diff --git a/packages/rspack/tests/configCases/module/rspack-issue-4224/webpack.config.js b/packages/rspack-test-tools/tests/configCases/module/rspack-issue-4224/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/module/rspack-issue-4224/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/module/rspack-issue-4224/webpack.config.js diff --git a/packages/rspack/tests/configCases/module/rspack-issue-4777/index.js b/packages/rspack-test-tools/tests/configCases/module/rspack-issue-4777/index.js similarity index 100% rename from packages/rspack/tests/configCases/module/rspack-issue-4777/index.js rename to packages/rspack-test-tools/tests/configCases/module/rspack-issue-4777/index.js diff --git a/packages/rspack/tests/configCases/module/rspack-issue-4777/loader.js b/packages/rspack-test-tools/tests/configCases/module/rspack-issue-4777/loader.js similarity index 100% rename from packages/rspack/tests/configCases/module/rspack-issue-4777/loader.js rename to packages/rspack-test-tools/tests/configCases/module/rspack-issue-4777/loader.js diff --git a/packages/rspack/tests/configCases/module/rspack-issue-4777/sub/a.js b/packages/rspack-test-tools/tests/configCases/module/rspack-issue-4777/sub/a.js similarity index 100% rename from packages/rspack/tests/configCases/module/rspack-issue-4777/sub/a.js rename to packages/rspack-test-tools/tests/configCases/module/rspack-issue-4777/sub/a.js diff --git a/packages/rspack/tests/configCases/module/rspack-issue-4777/sub/b.js b/packages/rspack-test-tools/tests/configCases/module/rspack-issue-4777/sub/b.js similarity index 100% rename from packages/rspack/tests/configCases/module/rspack-issue-4777/sub/b.js rename to packages/rspack-test-tools/tests/configCases/module/rspack-issue-4777/sub/b.js diff --git a/packages/rspack/tests/configCases/module/rspack-issue-4777/sub/c.js b/packages/rspack-test-tools/tests/configCases/module/rspack-issue-4777/sub/c.js similarity index 100% rename from packages/rspack/tests/configCases/module/rspack-issue-4777/sub/c.js rename to packages/rspack-test-tools/tests/configCases/module/rspack-issue-4777/sub/c.js diff --git a/packages/rspack/tests/configCases/module/rspack-issue-4777/sub/d.js b/packages/rspack-test-tools/tests/configCases/module/rspack-issue-4777/sub/d.js similarity index 100% rename from packages/rspack/tests/configCases/module/rspack-issue-4777/sub/d.js rename to packages/rspack-test-tools/tests/configCases/module/rspack-issue-4777/sub/d.js diff --git a/packages/rspack/tests/configCases/module/rspack-issue-4777/sub/e.js b/packages/rspack-test-tools/tests/configCases/module/rspack-issue-4777/sub/e.js similarity index 100% rename from packages/rspack/tests/configCases/module/rspack-issue-4777/sub/e.js rename to packages/rspack-test-tools/tests/configCases/module/rspack-issue-4777/sub/e.js diff --git a/packages/rspack/tests/configCases/module/rspack-issue-4777/sub/f.js b/packages/rspack-test-tools/tests/configCases/module/rspack-issue-4777/sub/f.js similarity index 100% rename from packages/rspack/tests/configCases/module/rspack-issue-4777/sub/f.js rename to packages/rspack-test-tools/tests/configCases/module/rspack-issue-4777/sub/f.js diff --git a/packages/rspack/tests/configCases/module/rspack-issue-4777/sub/g.js b/packages/rspack-test-tools/tests/configCases/module/rspack-issue-4777/sub/g.js similarity index 100% rename from packages/rspack/tests/configCases/module/rspack-issue-4777/sub/g.js rename to packages/rspack-test-tools/tests/configCases/module/rspack-issue-4777/sub/g.js diff --git a/packages/rspack/tests/configCases/module/rspack-issue-4777/sub/h.js b/packages/rspack-test-tools/tests/configCases/module/rspack-issue-4777/sub/h.js similarity index 100% rename from packages/rspack/tests/configCases/module/rspack-issue-4777/sub/h.js rename to packages/rspack-test-tools/tests/configCases/module/rspack-issue-4777/sub/h.js diff --git a/packages/rspack/tests/configCases/module/rspack-issue-4777/webpack.config.js b/packages/rspack-test-tools/tests/configCases/module/rspack-issue-4777/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/module/rspack-issue-4777/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/module/rspack-issue-4777/webpack.config.js diff --git a/packages/rspack/tests/configCases/module/rspack-issue-5548/dynamic.js b/packages/rspack-test-tools/tests/configCases/module/rspack-issue-5548/dynamic.js similarity index 100% rename from packages/rspack/tests/configCases/module/rspack-issue-5548/dynamic.js rename to packages/rspack-test-tools/tests/configCases/module/rspack-issue-5548/dynamic.js diff --git a/packages/rspack/tests/configCases/module/rspack-issue-5548/index.js b/packages/rspack-test-tools/tests/configCases/module/rspack-issue-5548/index.js similarity index 100% rename from packages/rspack/tests/configCases/module/rspack-issue-5548/index.js rename to packages/rspack-test-tools/tests/configCases/module/rspack-issue-5548/index.js diff --git a/packages/rspack/tests/configCases/module/rspack-issue-5548/webpack.config.js b/packages/rspack-test-tools/tests/configCases/module/rspack-issue-5548/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/module/rspack-issue-5548/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/module/rspack-issue-5548/webpack.config.js diff --git a/packages/rspack/tests/configCases/module/test/a.SVG b/packages/rspack-test-tools/tests/configCases/module/test/a.SVG similarity index 100% rename from packages/rspack/tests/configCases/module/test/a.SVG rename to packages/rspack-test-tools/tests/configCases/module/test/a.SVG diff --git a/packages/rspack/tests/configCases/module/test/a.less b/packages/rspack-test-tools/tests/configCases/module/test/a.less similarity index 100% rename from packages/rspack/tests/configCases/module/test/a.less rename to packages/rspack-test-tools/tests/configCases/module/test/a.less diff --git a/packages/rspack/tests/configCases/module/test/a.module.less b/packages/rspack-test-tools/tests/configCases/module/test/a.module.less similarity index 100% rename from packages/rspack/tests/configCases/module/test/a.module.less rename to packages/rspack-test-tools/tests/configCases/module/test/a.module.less diff --git a/packages/rspack/tests/configCases/module/test/index.js b/packages/rspack-test-tools/tests/configCases/module/test/index.js similarity index 100% rename from packages/rspack/tests/configCases/module/test/index.js rename to packages/rspack-test-tools/tests/configCases/module/test/index.js diff --git a/packages/rspack/tests/configCases/module/test/lib.js b/packages/rspack-test-tools/tests/configCases/module/test/lib.js similarity index 100% rename from packages/rspack/tests/configCases/module/test/lib.js rename to packages/rspack-test-tools/tests/configCases/module/test/lib.js diff --git a/packages/rspack/tests/configCases/module/test/loader-1.js b/packages/rspack-test-tools/tests/configCases/module/test/loader-1.js similarity index 100% rename from packages/rspack/tests/configCases/module/test/loader-1.js rename to packages/rspack-test-tools/tests/configCases/module/test/loader-1.js diff --git a/packages/rspack/tests/configCases/module/test/loader-2.js b/packages/rspack-test-tools/tests/configCases/module/test/loader-2.js similarity index 100% rename from packages/rspack/tests/configCases/module/test/loader-2.js rename to packages/rspack-test-tools/tests/configCases/module/test/loader-2.js diff --git a/packages/rspack/tests/configCases/module/test/webpack.config.js b/packages/rspack-test-tools/tests/configCases/module/test/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/module/test/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/module/test/webpack.config.js diff --git a/packages/rspack/tests/configCases/nonce/not-set-nonce/empty.js b/packages/rspack-test-tools/tests/configCases/nonce/not-set-nonce/empty.js similarity index 100% rename from packages/rspack/tests/configCases/nonce/not-set-nonce/empty.js rename to packages/rspack-test-tools/tests/configCases/nonce/not-set-nonce/empty.js diff --git a/packages/rspack/tests/configCases/nonce/not-set-nonce/index.js b/packages/rspack-test-tools/tests/configCases/nonce/not-set-nonce/index.js similarity index 100% rename from packages/rspack/tests/configCases/nonce/not-set-nonce/index.js rename to packages/rspack-test-tools/tests/configCases/nonce/not-set-nonce/index.js diff --git a/packages/rspack/tests/configCases/nonce/not-set-nonce/webpack.config.js b/packages/rspack-test-tools/tests/configCases/nonce/not-set-nonce/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/nonce/not-set-nonce/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/nonce/not-set-nonce/webpack.config.js diff --git a/packages/rspack/tests/configCases/nonce/set-nonce/empty.js b/packages/rspack-test-tools/tests/configCases/nonce/set-nonce/empty.js similarity index 100% rename from packages/rspack/tests/configCases/nonce/set-nonce/empty.js rename to packages/rspack-test-tools/tests/configCases/nonce/set-nonce/empty.js diff --git a/packages/rspack/tests/configCases/nonce/set-nonce/index.js b/packages/rspack-test-tools/tests/configCases/nonce/set-nonce/index.js similarity index 100% rename from packages/rspack/tests/configCases/nonce/set-nonce/index.js rename to packages/rspack-test-tools/tests/configCases/nonce/set-nonce/index.js diff --git a/packages/rspack/tests/configCases/nonce/set-nonce/webpack.config.js b/packages/rspack-test-tools/tests/configCases/nonce/set-nonce/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/nonce/set-nonce/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/nonce/set-nonce/webpack.config.js diff --git a/packages/rspack/tests/configCases/output-hot-config/hot-update-global/a.js b/packages/rspack-test-tools/tests/configCases/output-hot-config/hot-update-global/a.js similarity index 100% rename from packages/rspack/tests/configCases/output-hot-config/hot-update-global/a.js rename to packages/rspack-test-tools/tests/configCases/output-hot-config/hot-update-global/a.js diff --git a/packages/rspack/tests/configCases/output-hot-config/hot-update-global/b.js b/packages/rspack-test-tools/tests/configCases/output-hot-config/hot-update-global/b.js similarity index 100% rename from packages/rspack/tests/configCases/output-hot-config/hot-update-global/b.js rename to packages/rspack-test-tools/tests/configCases/output-hot-config/hot-update-global/b.js diff --git a/packages/rspack/tests/configCases/output-hot-config/hot-update-global/index.js b/packages/rspack-test-tools/tests/configCases/output-hot-config/hot-update-global/index.js similarity index 100% rename from packages/rspack/tests/configCases/output-hot-config/hot-update-global/index.js rename to packages/rspack-test-tools/tests/configCases/output-hot-config/hot-update-global/index.js diff --git a/packages/rspack/tests/configCases/output-hot-config/hot-update-global/test.config.js b/packages/rspack-test-tools/tests/configCases/output-hot-config/hot-update-global/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/output-hot-config/hot-update-global/test.config.js rename to packages/rspack-test-tools/tests/configCases/output-hot-config/hot-update-global/test.config.js diff --git a/packages/rspack/tests/configCases/output-hot-config/hot-update-global/webpack.config.js b/packages/rspack-test-tools/tests/configCases/output-hot-config/hot-update-global/webpack.config.js similarity index 85% rename from packages/rspack/tests/configCases/output-hot-config/hot-update-global/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/output-hot-config/hot-update-global/webpack.config.js index 989a914c159..f90bba66b83 100644 --- a/packages/rspack/tests/configCases/output-hot-config/hot-update-global/webpack.config.js +++ b/packages/rspack-test-tools/tests/configCases/output-hot-config/hot-update-global/webpack.config.js @@ -1,4 +1,4 @@ -const { HotModuleReplacementPlugin } = require("../../../../"); +const { HotModuleReplacementPlugin } = require("@rspack/core"); module.exports = [ { diff --git a/packages/rspack/tests/configCases/output-module/only-non-webpack-require/index.js b/packages/rspack-test-tools/tests/configCases/output-module/only-non-webpack-require/index.js similarity index 100% rename from packages/rspack/tests/configCases/output-module/only-non-webpack-require/index.js rename to packages/rspack-test-tools/tests/configCases/output-module/only-non-webpack-require/index.js diff --git a/packages/rspack/tests/configCases/output-module/only-non-webpack-require/webpack.config.js b/packages/rspack-test-tools/tests/configCases/output-module/only-non-webpack-require/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/output-module/only-non-webpack-require/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/output-module/only-non-webpack-require/webpack.config.js diff --git a/packages/rspack/tests/configCases/output-module/rspack-issue-4784/index.js b/packages/rspack-test-tools/tests/configCases/output-module/rspack-issue-4784/index.js similarity index 100% rename from packages/rspack/tests/configCases/output-module/rspack-issue-4784/index.js rename to packages/rspack-test-tools/tests/configCases/output-module/rspack-issue-4784/index.js diff --git a/packages/rspack/tests/configCases/output-module/rspack-issue-4784/m.js b/packages/rspack-test-tools/tests/configCases/output-module/rspack-issue-4784/m.js similarity index 100% rename from packages/rspack/tests/configCases/output-module/rspack-issue-4784/m.js rename to packages/rspack-test-tools/tests/configCases/output-module/rspack-issue-4784/m.js diff --git a/packages/rspack/tests/configCases/output-module/rspack-issue-4784/test.config.js b/packages/rspack-test-tools/tests/configCases/output-module/rspack-issue-4784/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/output-module/rspack-issue-4784/test.config.js rename to packages/rspack-test-tools/tests/configCases/output-module/rspack-issue-4784/test.config.js diff --git a/packages/rspack/tests/configCases/output-module/rspack-issue-4784/webpack.config.js b/packages/rspack-test-tools/tests/configCases/output-module/rspack-issue-4784/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/output-module/rspack-issue-4784/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/output-module/rspack-issue-4784/webpack.config.js diff --git a/packages/rspack/tests/configCases/output-module/single-runtime/chunk.js b/packages/rspack-test-tools/tests/configCases/output-module/single-runtime/chunk.js similarity index 100% rename from packages/rspack/tests/configCases/output-module/single-runtime/chunk.js rename to packages/rspack-test-tools/tests/configCases/output-module/single-runtime/chunk.js diff --git a/packages/rspack/tests/configCases/output-module/single-runtime/index.js b/packages/rspack-test-tools/tests/configCases/output-module/single-runtime/index.js similarity index 100% rename from packages/rspack/tests/configCases/output-module/single-runtime/index.js rename to packages/rspack-test-tools/tests/configCases/output-module/single-runtime/index.js diff --git a/packages/rspack/tests/configCases/output-module/single-runtime/test.config.js b/packages/rspack-test-tools/tests/configCases/output-module/single-runtime/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/output-module/single-runtime/test.config.js rename to packages/rspack-test-tools/tests/configCases/output-module/single-runtime/test.config.js diff --git a/packages/rspack/tests/configCases/output-module/single-runtime/webpack.config.js b/packages/rspack-test-tools/tests/configCases/output-module/single-runtime/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/output-module/single-runtime/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/output-module/single-runtime/webpack.config.js diff --git a/packages/rspack/tests/configCases/output/chunk-filename/index.js b/packages/rspack-test-tools/tests/configCases/output/chunk-filename/index.js similarity index 100% rename from packages/rspack/tests/configCases/output/chunk-filename/index.js rename to packages/rspack-test-tools/tests/configCases/output/chunk-filename/index.js diff --git a/packages/rspack/tests/configCases/output/chunk-filename/test.config.js b/packages/rspack-test-tools/tests/configCases/output/chunk-filename/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/output/chunk-filename/test.config.js rename to packages/rspack-test-tools/tests/configCases/output/chunk-filename/test.config.js diff --git a/packages/rspack/tests/configCases/output/chunk-filename/two.js b/packages/rspack-test-tools/tests/configCases/output/chunk-filename/two.js similarity index 100% rename from packages/rspack/tests/configCases/output/chunk-filename/two.js rename to packages/rspack-test-tools/tests/configCases/output/chunk-filename/two.js diff --git a/packages/rspack/tests/configCases/output/chunk-filename/webpack.config.js b/packages/rspack-test-tools/tests/configCases/output/chunk-filename/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/output/chunk-filename/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/output/chunk-filename/webpack.config.js diff --git a/packages/rspack/tests/configCases/output/rspack-issue-4338/a/index.js b/packages/rspack-test-tools/tests/configCases/output/rspack-issue-4338/a/index.js similarity index 100% rename from packages/rspack/tests/configCases/output/rspack-issue-4338/a/index.js rename to packages/rspack-test-tools/tests/configCases/output/rspack-issue-4338/a/index.js diff --git a/packages/rspack/tests/configCases/output/rspack-issue-4338/a/local/one.js b/packages/rspack-test-tools/tests/configCases/output/rspack-issue-4338/a/local/one.js similarity index 100% rename from packages/rspack/tests/configCases/output/rspack-issue-4338/a/local/one.js rename to packages/rspack-test-tools/tests/configCases/output/rspack-issue-4338/a/local/one.js diff --git a/packages/rspack/tests/configCases/output/rspack-issue-4338/a/local/two.js b/packages/rspack-test-tools/tests/configCases/output/rspack-issue-4338/a/local/two.js similarity index 100% rename from packages/rspack/tests/configCases/output/rspack-issue-4338/a/local/two.js rename to packages/rspack-test-tools/tests/configCases/output/rspack-issue-4338/a/local/two.js diff --git a/packages/rspack/tests/configCases/output/rspack-issue-4338/b/index.js b/packages/rspack-test-tools/tests/configCases/output/rspack-issue-4338/b/index.js similarity index 100% rename from packages/rspack/tests/configCases/output/rspack-issue-4338/b/index.js rename to packages/rspack-test-tools/tests/configCases/output/rspack-issue-4338/b/index.js diff --git a/packages/rspack/tests/configCases/output/rspack-issue-4338/b/local/one.js b/packages/rspack-test-tools/tests/configCases/output/rspack-issue-4338/b/local/one.js similarity index 100% rename from packages/rspack/tests/configCases/output/rspack-issue-4338/b/local/one.js rename to packages/rspack-test-tools/tests/configCases/output/rspack-issue-4338/b/local/one.js diff --git a/packages/rspack/tests/configCases/output/rspack-issue-4338/b/local/two.js b/packages/rspack-test-tools/tests/configCases/output/rspack-issue-4338/b/local/two.js similarity index 100% rename from packages/rspack/tests/configCases/output/rspack-issue-4338/b/local/two.js rename to packages/rspack-test-tools/tests/configCases/output/rspack-issue-4338/b/local/two.js diff --git a/packages/rspack/tests/configCases/output/rspack-issue-4338/c/index.js b/packages/rspack-test-tools/tests/configCases/output/rspack-issue-4338/c/index.js similarity index 100% rename from packages/rspack/tests/configCases/output/rspack-issue-4338/c/index.js rename to packages/rspack-test-tools/tests/configCases/output/rspack-issue-4338/c/index.js diff --git a/packages/rspack/tests/configCases/output/rspack-issue-4338/c/local/one.js b/packages/rspack-test-tools/tests/configCases/output/rspack-issue-4338/c/local/one.js similarity index 100% rename from packages/rspack/tests/configCases/output/rspack-issue-4338/c/local/one.js rename to packages/rspack-test-tools/tests/configCases/output/rspack-issue-4338/c/local/one.js diff --git a/packages/rspack/tests/configCases/output/rspack-issue-4338/c/local/two.js b/packages/rspack-test-tools/tests/configCases/output/rspack-issue-4338/c/local/two.js similarity index 100% rename from packages/rspack/tests/configCases/output/rspack-issue-4338/c/local/two.js rename to packages/rspack-test-tools/tests/configCases/output/rspack-issue-4338/c/local/two.js diff --git a/packages/rspack/tests/configCases/output/rspack-issue-4338/index.js b/packages/rspack-test-tools/tests/configCases/output/rspack-issue-4338/index.js similarity index 100% rename from packages/rspack/tests/configCases/output/rspack-issue-4338/index.js rename to packages/rspack-test-tools/tests/configCases/output/rspack-issue-4338/index.js diff --git a/packages/rspack/tests/configCases/output/rspack-issue-4338/webpack.config.js b/packages/rspack-test-tools/tests/configCases/output/rspack-issue-4338/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/output/rspack-issue-4338/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/output/rspack-issue-4338/webpack.config.js diff --git a/packages/rspack/tests/configCases/output/script-type/a.js b/packages/rspack-test-tools/tests/configCases/output/script-type/a.js similarity index 100% rename from packages/rspack/tests/configCases/output/script-type/a.js rename to packages/rspack-test-tools/tests/configCases/output/script-type/a.js diff --git a/packages/rspack/tests/configCases/output/script-type/b.png b/packages/rspack-test-tools/tests/configCases/output/script-type/b.png similarity index 100% rename from packages/rspack/tests/configCases/output/script-type/b.png rename to packages/rspack-test-tools/tests/configCases/output/script-type/b.png diff --git a/packages/rspack/tests/configCases/output/script-type/index.js b/packages/rspack-test-tools/tests/configCases/output/script-type/index.js similarity index 100% rename from packages/rspack/tests/configCases/output/script-type/index.js rename to packages/rspack-test-tools/tests/configCases/output/script-type/index.js diff --git a/packages/rspack/tests/configCases/output/script-type/test.config.js b/packages/rspack-test-tools/tests/configCases/output/script-type/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/output/script-type/test.config.js rename to packages/rspack-test-tools/tests/configCases/output/script-type/test.config.js diff --git a/packages/rspack/tests/configCases/output/script-type/webpack.config.js b/packages/rspack-test-tools/tests/configCases/output/script-type/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/output/script-type/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/output/script-type/webpack.config.js diff --git a/packages/rspack/tests/configCases/output/source-map-filename/index.js b/packages/rspack-test-tools/tests/configCases/output/source-map-filename/index.js similarity index 100% rename from packages/rspack/tests/configCases/output/source-map-filename/index.js rename to packages/rspack-test-tools/tests/configCases/output/source-map-filename/index.js diff --git a/packages/rspack/tests/configCases/output/source-map-filename/test.config.js b/packages/rspack-test-tools/tests/configCases/output/source-map-filename/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/output/source-map-filename/test.config.js rename to packages/rspack-test-tools/tests/configCases/output/source-map-filename/test.config.js diff --git a/packages/rspack/tests/configCases/output/source-map-filename/two.js b/packages/rspack-test-tools/tests/configCases/output/source-map-filename/two.js similarity index 100% rename from packages/rspack/tests/configCases/output/source-map-filename/two.js rename to packages/rspack-test-tools/tests/configCases/output/source-map-filename/two.js diff --git a/packages/rspack/tests/configCases/output/source-map-filename/webpack.config.js b/packages/rspack-test-tools/tests/configCases/output/source-map-filename/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/output/source-map-filename/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/output/source-map-filename/webpack.config.js diff --git a/packages/rspack/tests/configCases/parsing/class-method-parameters/foo.js b/packages/rspack-test-tools/tests/configCases/parsing/class-method-parameters/foo.js similarity index 100% rename from packages/rspack/tests/configCases/parsing/class-method-parameters/foo.js rename to packages/rspack-test-tools/tests/configCases/parsing/class-method-parameters/foo.js diff --git a/packages/rspack/tests/configCases/parsing/class-method-parameters/index.js b/packages/rspack-test-tools/tests/configCases/parsing/class-method-parameters/index.js similarity index 100% rename from packages/rspack/tests/configCases/parsing/class-method-parameters/index.js rename to packages/rspack-test-tools/tests/configCases/parsing/class-method-parameters/index.js diff --git a/packages/rspack/tests/configCases/parsing/class-method-parameters/webpack.config.js b/packages/rspack-test-tools/tests/configCases/parsing/class-method-parameters/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/parsing/class-method-parameters/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/parsing/class-method-parameters/webpack.config.js diff --git a/packages/rspack/tests/configCases/parsing/eval-null-in-none-mode/a.js b/packages/rspack-test-tools/tests/configCases/parsing/eval-null-in-none-mode/a.js similarity index 100% rename from packages/rspack/tests/configCases/parsing/eval-null-in-none-mode/a.js rename to packages/rspack-test-tools/tests/configCases/parsing/eval-null-in-none-mode/a.js diff --git a/packages/rspack/tests/configCases/parsing/eval-null-in-none-mode/index.js b/packages/rspack-test-tools/tests/configCases/parsing/eval-null-in-none-mode/index.js similarity index 100% rename from packages/rspack/tests/configCases/parsing/eval-null-in-none-mode/index.js rename to packages/rspack-test-tools/tests/configCases/parsing/eval-null-in-none-mode/index.js diff --git a/packages/rspack/tests/configCases/parsing/eval-null-in-none-mode/webpack.config.js b/packages/rspack-test-tools/tests/configCases/parsing/eval-null-in-none-mode/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/parsing/eval-null-in-none-mode/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/parsing/eval-null-in-none-mode/webpack.config.js diff --git a/packages/rspack/tests/configCases/parsing/eval-undefined-in-none-mode/a.js b/packages/rspack-test-tools/tests/configCases/parsing/eval-undefined-in-none-mode/a.js similarity index 100% rename from packages/rspack/tests/configCases/parsing/eval-undefined-in-none-mode/a.js rename to packages/rspack-test-tools/tests/configCases/parsing/eval-undefined-in-none-mode/a.js diff --git a/packages/rspack/tests/configCases/parsing/eval-undefined-in-none-mode/index.js b/packages/rspack-test-tools/tests/configCases/parsing/eval-undefined-in-none-mode/index.js similarity index 100% rename from packages/rspack/tests/configCases/parsing/eval-undefined-in-none-mode/index.js rename to packages/rspack-test-tools/tests/configCases/parsing/eval-undefined-in-none-mode/index.js diff --git a/packages/rspack/tests/configCases/parsing/eval-undefined-in-none-mode/webpack.config.js b/packages/rspack-test-tools/tests/configCases/parsing/eval-undefined-in-none-mode/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/parsing/eval-undefined-in-none-mode/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/parsing/eval-undefined-in-none-mode/webpack.config.js diff --git a/packages/rspack/tests/configCases/parsing/getter-import-specifier/a.js b/packages/rspack-test-tools/tests/configCases/parsing/getter-import-specifier/a.js similarity index 100% rename from packages/rspack/tests/configCases/parsing/getter-import-specifier/a.js rename to packages/rspack-test-tools/tests/configCases/parsing/getter-import-specifier/a.js diff --git a/packages/rspack/tests/configCases/parsing/getter-import-specifier/index.js b/packages/rspack-test-tools/tests/configCases/parsing/getter-import-specifier/index.js similarity index 100% rename from packages/rspack/tests/configCases/parsing/getter-import-specifier/index.js rename to packages/rspack-test-tools/tests/configCases/parsing/getter-import-specifier/index.js diff --git a/packages/rspack/tests/configCases/parsing/getter-import-specifier/webpack.config.js b/packages/rspack-test-tools/tests/configCases/parsing/getter-import-specifier/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/parsing/getter-import-specifier/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/parsing/getter-import-specifier/webpack.config.js diff --git a/packages/rspack/tests/configCases/parsing/import-eager/index.js b/packages/rspack-test-tools/tests/configCases/parsing/import-eager/index.js similarity index 100% rename from packages/rspack/tests/configCases/parsing/import-eager/index.js rename to packages/rspack-test-tools/tests/configCases/parsing/import-eager/index.js diff --git a/packages/rspack/tests/configCases/parsing/import-eager/two.js b/packages/rspack-test-tools/tests/configCases/parsing/import-eager/two.js similarity index 100% rename from packages/rspack/tests/configCases/parsing/import-eager/two.js rename to packages/rspack-test-tools/tests/configCases/parsing/import-eager/two.js diff --git a/packages/rspack/tests/configCases/parsing/import-eager/webpack.config.js b/packages/rspack-test-tools/tests/configCases/parsing/import-eager/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/parsing/import-eager/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/parsing/import-eager/webpack.config.js diff --git a/packages/rspack/tests/configCases/parsing/rspack-issue-5120-binding/errors.js b/packages/rspack-test-tools/tests/configCases/parsing/rspack-issue-5120-binding/errors.js similarity index 100% rename from packages/rspack/tests/configCases/parsing/rspack-issue-5120-binding/errors.js rename to packages/rspack-test-tools/tests/configCases/parsing/rspack-issue-5120-binding/errors.js diff --git a/packages/rspack/tests/configCases/parsing/rspack-issue-5120-binding/fail.js b/packages/rspack-test-tools/tests/configCases/parsing/rspack-issue-5120-binding/fail.js similarity index 100% rename from packages/rspack/tests/configCases/parsing/rspack-issue-5120-binding/fail.js rename to packages/rspack-test-tools/tests/configCases/parsing/rspack-issue-5120-binding/fail.js diff --git a/packages/rspack/tests/configCases/parsing/rspack-issue-5120-binding/index.js b/packages/rspack-test-tools/tests/configCases/parsing/rspack-issue-5120-binding/index.js similarity index 100% rename from packages/rspack/tests/configCases/parsing/rspack-issue-5120-binding/index.js rename to packages/rspack-test-tools/tests/configCases/parsing/rspack-issue-5120-binding/index.js diff --git a/packages/rspack/tests/configCases/parsing/rspack-issue-5120-binding/webpack.config.js b/packages/rspack-test-tools/tests/configCases/parsing/rspack-issue-5120-binding/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/parsing/rspack-issue-5120-binding/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/parsing/rspack-issue-5120-binding/webpack.config.js diff --git a/packages/rspack/tests/configCases/parsing/rspack-issue-5120-strict-block/errors.js b/packages/rspack-test-tools/tests/configCases/parsing/rspack-issue-5120-strict-block/errors.js similarity index 100% rename from packages/rspack/tests/configCases/parsing/rspack-issue-5120-strict-block/errors.js rename to packages/rspack-test-tools/tests/configCases/parsing/rspack-issue-5120-strict-block/errors.js diff --git a/packages/rspack/tests/configCases/parsing/rspack-issue-5120-strict-block/fail.js b/packages/rspack-test-tools/tests/configCases/parsing/rspack-issue-5120-strict-block/fail.js similarity index 100% rename from packages/rspack/tests/configCases/parsing/rspack-issue-5120-strict-block/fail.js rename to packages/rspack-test-tools/tests/configCases/parsing/rspack-issue-5120-strict-block/fail.js diff --git a/packages/rspack/tests/configCases/parsing/rspack-issue-5120-strict-block/index.js b/packages/rspack-test-tools/tests/configCases/parsing/rspack-issue-5120-strict-block/index.js similarity index 100% rename from packages/rspack/tests/configCases/parsing/rspack-issue-5120-strict-block/index.js rename to packages/rspack-test-tools/tests/configCases/parsing/rspack-issue-5120-strict-block/index.js diff --git a/packages/rspack/tests/configCases/parsing/rspack-issue-5120-strict-block/webpack.config.js b/packages/rspack-test-tools/tests/configCases/parsing/rspack-issue-5120-strict-block/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/parsing/rspack-issue-5120-strict-block/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/parsing/rspack-issue-5120-strict-block/webpack.config.js diff --git a/packages/rspack/tests/configCases/parsing/rspack-issue-5120-strict/errors.js b/packages/rspack-test-tools/tests/configCases/parsing/rspack-issue-5120-strict/errors.js similarity index 100% rename from packages/rspack/tests/configCases/parsing/rspack-issue-5120-strict/errors.js rename to packages/rspack-test-tools/tests/configCases/parsing/rspack-issue-5120-strict/errors.js diff --git a/packages/rspack/tests/configCases/parsing/rspack-issue-5120-strict/fail.js b/packages/rspack-test-tools/tests/configCases/parsing/rspack-issue-5120-strict/fail.js similarity index 100% rename from packages/rspack/tests/configCases/parsing/rspack-issue-5120-strict/fail.js rename to packages/rspack-test-tools/tests/configCases/parsing/rspack-issue-5120-strict/fail.js diff --git a/packages/rspack/tests/configCases/parsing/rspack-issue-5120-strict/index.js b/packages/rspack-test-tools/tests/configCases/parsing/rspack-issue-5120-strict/index.js similarity index 100% rename from packages/rspack/tests/configCases/parsing/rspack-issue-5120-strict/index.js rename to packages/rspack-test-tools/tests/configCases/parsing/rspack-issue-5120-strict/index.js diff --git a/packages/rspack/tests/configCases/parsing/rspack-issue-5120-strict/webpack.config.js b/packages/rspack-test-tools/tests/configCases/parsing/rspack-issue-5120-strict/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/parsing/rspack-issue-5120-strict/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/parsing/rspack-issue-5120-strict/webpack.config.js diff --git a/packages/rspack/tests/configCases/parsing/rspack-issue-5120-var/index.js b/packages/rspack-test-tools/tests/configCases/parsing/rspack-issue-5120-var/index.js similarity index 100% rename from packages/rspack/tests/configCases/parsing/rspack-issue-5120-var/index.js rename to packages/rspack-test-tools/tests/configCases/parsing/rspack-issue-5120-var/index.js diff --git a/packages/rspack/tests/configCases/parsing/rspack-issue-5120-var/webpack.config.js b/packages/rspack-test-tools/tests/configCases/parsing/rspack-issue-5120-var/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/parsing/rspack-issue-5120-var/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/parsing/rspack-issue-5120-var/webpack.config.js diff --git a/packages/rspack/tests/configCases/parsing/rspack-issue-5197/a.mjs b/packages/rspack-test-tools/tests/configCases/parsing/rspack-issue-5197/a.mjs similarity index 100% rename from packages/rspack/tests/configCases/parsing/rspack-issue-5197/a.mjs rename to packages/rspack-test-tools/tests/configCases/parsing/rspack-issue-5197/a.mjs diff --git a/packages/rspack/tests/configCases/parsing/rspack-issue-5197/index.js b/packages/rspack-test-tools/tests/configCases/parsing/rspack-issue-5197/index.js similarity index 100% rename from packages/rspack/tests/configCases/parsing/rspack-issue-5197/index.js rename to packages/rspack-test-tools/tests/configCases/parsing/rspack-issue-5197/index.js diff --git a/packages/rspack/tests/configCases/parsing/rspack-issue-5197/webpack.config.js b/packages/rspack-test-tools/tests/configCases/parsing/rspack-issue-5197/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/parsing/rspack-issue-5197/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/parsing/rspack-issue-5197/webpack.config.js diff --git a/packages/rspack/tests/configCases/parsring/eval-null-in-none-mode/a.js b/packages/rspack-test-tools/tests/configCases/parsring/eval-null-in-none-mode/a.js similarity index 100% rename from packages/rspack/tests/configCases/parsring/eval-null-in-none-mode/a.js rename to packages/rspack-test-tools/tests/configCases/parsring/eval-null-in-none-mode/a.js diff --git a/packages/rspack/tests/configCases/parsring/eval-null-in-none-mode/index.js b/packages/rspack-test-tools/tests/configCases/parsring/eval-null-in-none-mode/index.js similarity index 100% rename from packages/rspack/tests/configCases/parsring/eval-null-in-none-mode/index.js rename to packages/rspack-test-tools/tests/configCases/parsring/eval-null-in-none-mode/index.js diff --git a/packages/rspack/tests/configCases/parsring/eval-null-in-none-mode/webpack.config.js b/packages/rspack-test-tools/tests/configCases/parsring/eval-null-in-none-mode/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/parsring/eval-null-in-none-mode/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/parsring/eval-null-in-none-mode/webpack.config.js diff --git a/packages/rspack/tests/configCases/plugins/chunk-modules/async.js b/packages/rspack-test-tools/tests/configCases/plugins/chunk-modules/async.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/chunk-modules/async.js rename to packages/rspack-test-tools/tests/configCases/plugins/chunk-modules/async.js diff --git a/packages/rspack/tests/configCases/plugins/chunk-modules/index.js b/packages/rspack-test-tools/tests/configCases/plugins/chunk-modules/index.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/chunk-modules/index.js rename to packages/rspack-test-tools/tests/configCases/plugins/chunk-modules/index.js diff --git a/packages/rspack/tests/configCases/plugins/chunk-modules/webpack.config.js b/packages/rspack-test-tools/tests/configCases/plugins/chunk-modules/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/chunk-modules/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/plugins/chunk-modules/webpack.config.js diff --git a/packages/rspack/tests/configCases/plugins/copy-webpack-plugin-v5/index.js b/packages/rspack-test-tools/tests/configCases/plugins/copy-webpack-plugin-v5/index.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/copy-webpack-plugin-v5/index.js rename to packages/rspack-test-tools/tests/configCases/plugins/copy-webpack-plugin-v5/index.js diff --git a/packages/rspack/tests/configCases/plugins/copy-webpack-plugin-v5/stuff.txt b/packages/rspack-test-tools/tests/configCases/plugins/copy-webpack-plugin-v5/stuff.txt similarity index 100% rename from packages/rspack/tests/configCases/plugins/copy-webpack-plugin-v5/stuff.txt rename to packages/rspack-test-tools/tests/configCases/plugins/copy-webpack-plugin-v5/stuff.txt diff --git a/packages/rspack/tests/configCases/plugins/copy-webpack-plugin-v5/webpack.config.js b/packages/rspack-test-tools/tests/configCases/plugins/copy-webpack-plugin-v5/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/copy-webpack-plugin-v5/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/plugins/copy-webpack-plugin-v5/webpack.config.js diff --git a/packages/rspack/tests/configCases/plugins/get-runtime-chunk/entry1.js b/packages/rspack-test-tools/tests/configCases/plugins/get-runtime-chunk/entry1.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/get-runtime-chunk/entry1.js rename to packages/rspack-test-tools/tests/configCases/plugins/get-runtime-chunk/entry1.js diff --git a/packages/rspack/tests/configCases/plugins/get-runtime-chunk/entry2.js b/packages/rspack-test-tools/tests/configCases/plugins/get-runtime-chunk/entry2.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/get-runtime-chunk/entry2.js rename to packages/rspack-test-tools/tests/configCases/plugins/get-runtime-chunk/entry2.js diff --git a/packages/rspack/tests/configCases/plugins/get-runtime-chunk/test.config.js b/packages/rspack-test-tools/tests/configCases/plugins/get-runtime-chunk/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/get-runtime-chunk/test.config.js rename to packages/rspack-test-tools/tests/configCases/plugins/get-runtime-chunk/test.config.js diff --git a/packages/rspack/tests/configCases/plugins/get-runtime-chunk/webpack.config.js b/packages/rspack-test-tools/tests/configCases/plugins/get-runtime-chunk/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/get-runtime-chunk/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/plugins/get-runtime-chunk/webpack.config.js diff --git a/packages/rspack/tests/configCases/plugins/html-define/document.ejs b/packages/rspack-test-tools/tests/configCases/plugins/html-define/document.ejs similarity index 100% rename from packages/rspack/tests/configCases/plugins/html-define/document.ejs rename to packages/rspack-test-tools/tests/configCases/plugins/html-define/document.ejs diff --git a/packages/rspack/tests/configCases/plugins/html-define/index.js b/packages/rspack-test-tools/tests/configCases/plugins/html-define/index.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/html-define/index.js rename to packages/rspack-test-tools/tests/configCases/plugins/html-define/index.js diff --git a/packages/rspack/tests/configCases/plugins/html-define/webpack.config.js b/packages/rspack-test-tools/tests/configCases/plugins/html-define/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/html-define/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/plugins/html-define/webpack.config.js diff --git a/packages/rspack/tests/configCases/plugins/html-webpack-plugin/index.js b/packages/rspack-test-tools/tests/configCases/plugins/html-webpack-plugin/index.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/html-webpack-plugin/index.js rename to packages/rspack-test-tools/tests/configCases/plugins/html-webpack-plugin/index.js diff --git a/packages/rspack/tests/configCases/plugins/html-webpack-plugin/template.html b/packages/rspack-test-tools/tests/configCases/plugins/html-webpack-plugin/template.html similarity index 100% rename from packages/rspack/tests/configCases/plugins/html-webpack-plugin/template.html rename to packages/rspack-test-tools/tests/configCases/plugins/html-webpack-plugin/template.html diff --git a/packages/rspack/tests/configCases/plugins/html-webpack-plugin/template.pug b/packages/rspack-test-tools/tests/configCases/plugins/html-webpack-plugin/template.pug similarity index 100% rename from packages/rspack/tests/configCases/plugins/html-webpack-plugin/template.pug rename to packages/rspack-test-tools/tests/configCases/plugins/html-webpack-plugin/template.pug diff --git a/packages/rspack/tests/configCases/plugins/html-webpack-plugin/webpack.config.js b/packages/rspack-test-tools/tests/configCases/plugins/html-webpack-plugin/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/html-webpack-plugin/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/plugins/html-webpack-plugin/webpack.config.js diff --git a/packages/rspack/tests/configCases/plugins/internal-entrypoints/index.js b/packages/rspack-test-tools/tests/configCases/plugins/internal-entrypoints/index.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/internal-entrypoints/index.js rename to packages/rspack-test-tools/tests/configCases/plugins/internal-entrypoints/index.js diff --git a/packages/rspack/tests/configCases/plugins/internal-entrypoints/webpack.config.js b/packages/rspack-test-tools/tests/configCases/plugins/internal-entrypoints/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/internal-entrypoints/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/plugins/internal-entrypoints/webpack.config.js diff --git a/packages/rspack/tests/configCases/plugins/internal-processAssets-param-assets/index.js b/packages/rspack-test-tools/tests/configCases/plugins/internal-processAssets-param-assets/index.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/internal-processAssets-param-assets/index.js rename to packages/rspack-test-tools/tests/configCases/plugins/internal-processAssets-param-assets/index.js diff --git a/packages/rspack/tests/configCases/plugins/internal-processAssets-param-assets/webpack.config.js b/packages/rspack-test-tools/tests/configCases/plugins/internal-processAssets-param-assets/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/internal-processAssets-param-assets/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/plugins/internal-processAssets-param-assets/webpack.config.js diff --git a/packages/rspack/tests/configCases/plugins/internal-processAssets/index.js b/packages/rspack-test-tools/tests/configCases/plugins/internal-processAssets/index.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/internal-processAssets/index.js rename to packages/rspack-test-tools/tests/configCases/plugins/internal-processAssets/index.js diff --git a/packages/rspack/tests/configCases/plugins/internal-processAssets/webpack.config.js b/packages/rspack-test-tools/tests/configCases/plugins/internal-processAssets/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/internal-processAssets/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/plugins/internal-processAssets/webpack.config.js diff --git a/packages/rspack/tests/configCases/plugins/minify-ascii-only/a.js b/packages/rspack-test-tools/tests/configCases/plugins/minify-ascii-only/a.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/minify-ascii-only/a.js rename to packages/rspack-test-tools/tests/configCases/plugins/minify-ascii-only/a.js diff --git a/packages/rspack/tests/configCases/plugins/minify-ascii-only/index.js b/packages/rspack-test-tools/tests/configCases/plugins/minify-ascii-only/index.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/minify-ascii-only/index.js rename to packages/rspack-test-tools/tests/configCases/plugins/minify-ascii-only/index.js diff --git a/packages/rspack/tests/configCases/plugins/minify-ascii-only/test.config.js b/packages/rspack-test-tools/tests/configCases/plugins/minify-ascii-only/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/minify-ascii-only/test.config.js rename to packages/rspack-test-tools/tests/configCases/plugins/minify-ascii-only/test.config.js diff --git a/packages/rspack/tests/configCases/plugins/minify-ascii-only/webpack.config.js b/packages/rspack-test-tools/tests/configCases/plugins/minify-ascii-only/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/minify-ascii-only/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/plugins/minify-ascii-only/webpack.config.js diff --git a/packages/rspack/tests/configCases/plugins/minify-comment-all/a.js b/packages/rspack-test-tools/tests/configCases/plugins/minify-comment-all/a.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/minify-comment-all/a.js rename to packages/rspack-test-tools/tests/configCases/plugins/minify-comment-all/a.js diff --git a/packages/rspack/tests/configCases/plugins/minify-comment-all/index.js b/packages/rspack-test-tools/tests/configCases/plugins/minify-comment-all/index.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/minify-comment-all/index.js rename to packages/rspack-test-tools/tests/configCases/plugins/minify-comment-all/index.js diff --git a/packages/rspack/tests/configCases/plugins/minify-comment-all/test.config.js b/packages/rspack-test-tools/tests/configCases/plugins/minify-comment-all/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/minify-comment-all/test.config.js rename to packages/rspack-test-tools/tests/configCases/plugins/minify-comment-all/test.config.js diff --git a/packages/rspack/tests/configCases/plugins/minify-comment-all/webpack.config.js b/packages/rspack-test-tools/tests/configCases/plugins/minify-comment-all/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/minify-comment-all/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/plugins/minify-comment-all/webpack.config.js diff --git a/packages/rspack/tests/configCases/plugins/minify-comment-some/a.js b/packages/rspack-test-tools/tests/configCases/plugins/minify-comment-some/a.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/minify-comment-some/a.js rename to packages/rspack-test-tools/tests/configCases/plugins/minify-comment-some/a.js diff --git a/packages/rspack/tests/configCases/plugins/minify-comment-some/index.js b/packages/rspack-test-tools/tests/configCases/plugins/minify-comment-some/index.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/minify-comment-some/index.js rename to packages/rspack-test-tools/tests/configCases/plugins/minify-comment-some/index.js diff --git a/packages/rspack/tests/configCases/plugins/minify-comment-some/test.config.js b/packages/rspack-test-tools/tests/configCases/plugins/minify-comment-some/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/minify-comment-some/test.config.js rename to packages/rspack-test-tools/tests/configCases/plugins/minify-comment-some/test.config.js diff --git a/packages/rspack/tests/configCases/plugins/minify-comment-some/webpack.config.js b/packages/rspack-test-tools/tests/configCases/plugins/minify-comment-some/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/minify-comment-some/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/plugins/minify-comment-some/webpack.config.js diff --git a/packages/rspack/tests/configCases/plugins/minify-disable-mangle-compress/a.js b/packages/rspack-test-tools/tests/configCases/plugins/minify-disable-mangle-compress/a.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/minify-disable-mangle-compress/a.js rename to packages/rspack-test-tools/tests/configCases/plugins/minify-disable-mangle-compress/a.js diff --git a/packages/rspack/tests/configCases/plugins/minify-disable-mangle-compress/index.js b/packages/rspack-test-tools/tests/configCases/plugins/minify-disable-mangle-compress/index.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/minify-disable-mangle-compress/index.js rename to packages/rspack-test-tools/tests/configCases/plugins/minify-disable-mangle-compress/index.js diff --git a/packages/rspack/tests/configCases/plugins/minify-disable-mangle-compress/test.config.js b/packages/rspack-test-tools/tests/configCases/plugins/minify-disable-mangle-compress/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/minify-disable-mangle-compress/test.config.js rename to packages/rspack-test-tools/tests/configCases/plugins/minify-disable-mangle-compress/test.config.js diff --git a/packages/rspack/tests/configCases/plugins/minify-disable-mangle-compress/webpack.config.js b/packages/rspack-test-tools/tests/configCases/plugins/minify-disable-mangle-compress/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/minify-disable-mangle-compress/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/plugins/minify-disable-mangle-compress/webpack.config.js diff --git a/packages/rspack/tests/configCases/plugins/minify-disabled-on-empty-array/index.css b/packages/rspack-test-tools/tests/configCases/plugins/minify-disabled-on-empty-array/index.css similarity index 100% rename from packages/rspack/tests/configCases/plugins/minify-disabled-on-empty-array/index.css rename to packages/rspack-test-tools/tests/configCases/plugins/minify-disabled-on-empty-array/index.css diff --git a/packages/rspack/tests/configCases/plugins/minify-disabled-on-empty-array/index.js b/packages/rspack-test-tools/tests/configCases/plugins/minify-disabled-on-empty-array/index.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/minify-disabled-on-empty-array/index.js rename to packages/rspack-test-tools/tests/configCases/plugins/minify-disabled-on-empty-array/index.js diff --git a/packages/rspack/tests/configCases/plugins/minify-disabled-on-empty-array/webpack.config.js b/packages/rspack-test-tools/tests/configCases/plugins/minify-disabled-on-empty-array/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/minify-disabled-on-empty-array/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/plugins/minify-disabled-on-empty-array/webpack.config.js diff --git a/packages/rspack/tests/configCases/plugins/minify-drop-console/index.js b/packages/rspack-test-tools/tests/configCases/plugins/minify-drop-console/index.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/minify-drop-console/index.js rename to packages/rspack-test-tools/tests/configCases/plugins/minify-drop-console/index.js diff --git a/packages/rspack/tests/configCases/plugins/minify-drop-console/webpack.config.js b/packages/rspack-test-tools/tests/configCases/plugins/minify-drop-console/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/minify-drop-console/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/plugins/minify-drop-console/webpack.config.js diff --git a/packages/rspack/tests/configCases/plugins/minify-esbuild/index.js b/packages/rspack-test-tools/tests/configCases/plugins/minify-esbuild/index.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/minify-esbuild/index.js rename to packages/rspack-test-tools/tests/configCases/plugins/minify-esbuild/index.js diff --git a/packages/rspack/tests/configCases/plugins/minify-esbuild/lib.js b/packages/rspack-test-tools/tests/configCases/plugins/minify-esbuild/lib.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/minify-esbuild/lib.js rename to packages/rspack-test-tools/tests/configCases/plugins/minify-esbuild/lib.js diff --git a/packages/rspack/tests/configCases/plugins/minify-esbuild/webpack.config.js b/packages/rspack-test-tools/tests/configCases/plugins/minify-esbuild/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/minify-esbuild/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/plugins/minify-esbuild/webpack.config.js diff --git a/packages/rspack/tests/configCases/plugins/minify-exclude/a.js b/packages/rspack-test-tools/tests/configCases/plugins/minify-exclude/a.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/minify-exclude/a.js rename to packages/rspack-test-tools/tests/configCases/plugins/minify-exclude/a.js diff --git a/packages/rspack/tests/configCases/plugins/minify-exclude/b.js b/packages/rspack-test-tools/tests/configCases/plugins/minify-exclude/b.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/minify-exclude/b.js rename to packages/rspack-test-tools/tests/configCases/plugins/minify-exclude/b.js diff --git a/packages/rspack/tests/configCases/plugins/minify-exclude/index.js b/packages/rspack-test-tools/tests/configCases/plugins/minify-exclude/index.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/minify-exclude/index.js rename to packages/rspack-test-tools/tests/configCases/plugins/minify-exclude/index.js diff --git a/packages/rspack/tests/configCases/plugins/minify-exclude/test.config.js b/packages/rspack-test-tools/tests/configCases/plugins/minify-exclude/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/minify-exclude/test.config.js rename to packages/rspack-test-tools/tests/configCases/plugins/minify-exclude/test.config.js diff --git a/packages/rspack/tests/configCases/plugins/minify-exclude/webpack.config.js b/packages/rspack-test-tools/tests/configCases/plugins/minify-exclude/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/minify-exclude/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/plugins/minify-exclude/webpack.config.js diff --git a/packages/rspack/tests/configCases/plugins/minify-extract-comments/index.js b/packages/rspack-test-tools/tests/configCases/plugins/minify-extract-comments/index.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/minify-extract-comments/index.js rename to packages/rspack-test-tools/tests/configCases/plugins/minify-extract-comments/index.js diff --git a/packages/rspack/tests/configCases/plugins/minify-extract-comments/webpack.config.js b/packages/rspack-test-tools/tests/configCases/plugins/minify-extract-comments/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/minify-extract-comments/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/plugins/minify-extract-comments/webpack.config.js diff --git a/packages/rspack/tests/configCases/plugins/minify-keep-classnames/index.js b/packages/rspack-test-tools/tests/configCases/plugins/minify-keep-classnames/index.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/minify-keep-classnames/index.js rename to packages/rspack-test-tools/tests/configCases/plugins/minify-keep-classnames/index.js diff --git a/packages/rspack/tests/configCases/plugins/minify-keep-classnames/webpack.config.js b/packages/rspack-test-tools/tests/configCases/plugins/minify-keep-classnames/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/minify-keep-classnames/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/plugins/minify-keep-classnames/webpack.config.js diff --git a/packages/rspack/tests/configCases/plugins/minify-keep-fn-names/index.js b/packages/rspack-test-tools/tests/configCases/plugins/minify-keep-fn-names/index.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/minify-keep-fn-names/index.js rename to packages/rspack-test-tools/tests/configCases/plugins/minify-keep-fn-names/index.js diff --git a/packages/rspack/tests/configCases/plugins/minify-keep-fn-names/webpack.config.js b/packages/rspack-test-tools/tests/configCases/plugins/minify-keep-fn-names/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/minify-keep-fn-names/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/plugins/minify-keep-fn-names/webpack.config.js diff --git a/packages/rspack/tests/configCases/plugins/minify-module/index.js b/packages/rspack-test-tools/tests/configCases/plugins/minify-module/index.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/minify-module/index.js rename to packages/rspack-test-tools/tests/configCases/plugins/minify-module/index.js diff --git a/packages/rspack/tests/configCases/plugins/minify-module/module-entry.js b/packages/rspack-test-tools/tests/configCases/plugins/minify-module/module-entry.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/minify-module/module-entry.js rename to packages/rspack-test-tools/tests/configCases/plugins/minify-module/module-entry.js diff --git a/packages/rspack/tests/configCases/plugins/minify-module/module.js b/packages/rspack-test-tools/tests/configCases/plugins/minify-module/module.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/minify-module/module.js rename to packages/rspack-test-tools/tests/configCases/plugins/minify-module/module.js diff --git a/packages/rspack/tests/configCases/plugins/minify-module/test.config.js b/packages/rspack-test-tools/tests/configCases/plugins/minify-module/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/minify-module/test.config.js rename to packages/rspack-test-tools/tests/configCases/plugins/minify-module/test.config.js diff --git a/packages/rspack/tests/configCases/plugins/minify-module/webpack.config.js b/packages/rspack-test-tools/tests/configCases/plugins/minify-module/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/minify-module/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/plugins/minify-module/webpack.config.js diff --git a/packages/rspack/tests/configCases/plugins/minify-pure-funcs/index.js b/packages/rspack-test-tools/tests/configCases/plugins/minify-pure-funcs/index.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/minify-pure-funcs/index.js rename to packages/rspack-test-tools/tests/configCases/plugins/minify-pure-funcs/index.js diff --git a/packages/rspack/tests/configCases/plugins/minify-pure-funcs/webpack.config.js b/packages/rspack-test-tools/tests/configCases/plugins/minify-pure-funcs/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/minify-pure-funcs/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/plugins/minify-pure-funcs/webpack.config.js diff --git a/packages/rspack/tests/configCases/plugins/minify-terser/index.js b/packages/rspack-test-tools/tests/configCases/plugins/minify-terser/index.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/minify-terser/index.js rename to packages/rspack-test-tools/tests/configCases/plugins/minify-terser/index.js diff --git a/packages/rspack/tests/configCases/plugins/minify-terser/lib.js b/packages/rspack-test-tools/tests/configCases/plugins/minify-terser/lib.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/minify-terser/lib.js rename to packages/rspack-test-tools/tests/configCases/plugins/minify-terser/lib.js diff --git a/packages/rspack/tests/configCases/plugins/minify-terser/webpack.config.js b/packages/rspack-test-tools/tests/configCases/plugins/minify-terser/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/minify-terser/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/plugins/minify-terser/webpack.config.js diff --git a/packages/rspack/tests/configCases/plugins/minify-test/a.js b/packages/rspack-test-tools/tests/configCases/plugins/minify-test/a.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/minify-test/a.js rename to packages/rspack-test-tools/tests/configCases/plugins/minify-test/a.js diff --git a/packages/rspack/tests/configCases/plugins/minify-test/a2.js b/packages/rspack-test-tools/tests/configCases/plugins/minify-test/a2.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/minify-test/a2.js rename to packages/rspack-test-tools/tests/configCases/plugins/minify-test/a2.js diff --git a/packages/rspack/tests/configCases/plugins/minify-test/b.js b/packages/rspack-test-tools/tests/configCases/plugins/minify-test/b.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/minify-test/b.js rename to packages/rspack-test-tools/tests/configCases/plugins/minify-test/b.js diff --git a/packages/rspack/tests/configCases/plugins/minify-test/c.js b/packages/rspack-test-tools/tests/configCases/plugins/minify-test/c.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/minify-test/c.js rename to packages/rspack-test-tools/tests/configCases/plugins/minify-test/c.js diff --git a/packages/rspack/tests/configCases/plugins/minify-test/index.js b/packages/rspack-test-tools/tests/configCases/plugins/minify-test/index.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/minify-test/index.js rename to packages/rspack-test-tools/tests/configCases/plugins/minify-test/index.js diff --git a/packages/rspack/tests/configCases/plugins/minify-test/test.config.js b/packages/rspack-test-tools/tests/configCases/plugins/minify-test/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/minify-test/test.config.js rename to packages/rspack-test-tools/tests/configCases/plugins/minify-test/test.config.js diff --git a/packages/rspack/tests/configCases/plugins/minify-test/webpack.config.js b/packages/rspack-test-tools/tests/configCases/plugins/minify-test/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/minify-test/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/plugins/minify-test/webpack.config.js diff --git a/packages/rspack/tests/configCases/plugins/minify-with-devtool-false/index.js b/packages/rspack-test-tools/tests/configCases/plugins/minify-with-devtool-false/index.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/minify-with-devtool-false/index.js rename to packages/rspack-test-tools/tests/configCases/plugins/minify-with-devtool-false/index.js diff --git a/packages/rspack/tests/configCases/plugins/minify-with-devtool-false/lib.js b/packages/rspack-test-tools/tests/configCases/plugins/minify-with-devtool-false/lib.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/minify-with-devtool-false/lib.js rename to packages/rspack-test-tools/tests/configCases/plugins/minify-with-devtool-false/lib.js diff --git a/packages/rspack/tests/configCases/plugins/minify-with-devtool-false/webpack.config.js b/packages/rspack-test-tools/tests/configCases/plugins/minify-with-devtool-false/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/minify-with-devtool-false/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/plugins/minify-with-devtool-false/webpack.config.js diff --git a/packages/rspack/tests/configCases/plugins/normal-module-replacement-plugin/index.js b/packages/rspack-test-tools/tests/configCases/plugins/normal-module-replacement-plugin/index.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/normal-module-replacement-plugin/index.js rename to packages/rspack-test-tools/tests/configCases/plugins/normal-module-replacement-plugin/index.js diff --git a/packages/rspack/tests/configCases/plugins/normal-module-replacement-plugin/request.v1.js b/packages/rspack-test-tools/tests/configCases/plugins/normal-module-replacement-plugin/request.v1.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/normal-module-replacement-plugin/request.v1.js rename to packages/rspack-test-tools/tests/configCases/plugins/normal-module-replacement-plugin/request.v1.js diff --git a/packages/rspack/tests/configCases/plugins/normal-module-replacement-plugin/request.v2.js b/packages/rspack-test-tools/tests/configCases/plugins/normal-module-replacement-plugin/request.v2.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/normal-module-replacement-plugin/request.v2.js rename to packages/rspack-test-tools/tests/configCases/plugins/normal-module-replacement-plugin/request.v2.js diff --git a/packages/rspack/tests/configCases/plugins/normal-module-replacement-plugin/resource.bar.js b/packages/rspack-test-tools/tests/configCases/plugins/normal-module-replacement-plugin/resource.bar.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/normal-module-replacement-plugin/resource.bar.js rename to packages/rspack-test-tools/tests/configCases/plugins/normal-module-replacement-plugin/resource.bar.js diff --git a/packages/rspack/tests/configCases/plugins/normal-module-replacement-plugin/resource.foo.js b/packages/rspack-test-tools/tests/configCases/plugins/normal-module-replacement-plugin/resource.foo.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/normal-module-replacement-plugin/resource.foo.js rename to packages/rspack-test-tools/tests/configCases/plugins/normal-module-replacement-plugin/resource.foo.js diff --git a/packages/rspack/tests/configCases/plugins/normal-module-replacement-plugin/webpack.config.js b/packages/rspack-test-tools/tests/configCases/plugins/normal-module-replacement-plugin/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/normal-module-replacement-plugin/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/plugins/normal-module-replacement-plugin/webpack.config.js diff --git a/packages/rspack/tests/configCases/plugins/plugins-falsy/a.js b/packages/rspack-test-tools/tests/configCases/plugins/plugins-falsy/a.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/plugins-falsy/a.js rename to packages/rspack-test-tools/tests/configCases/plugins/plugins-falsy/a.js diff --git a/packages/rspack/tests/configCases/plugins/plugins-falsy/index.js b/packages/rspack-test-tools/tests/configCases/plugins/plugins-falsy/index.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/plugins-falsy/index.js rename to packages/rspack-test-tools/tests/configCases/plugins/plugins-falsy/index.js diff --git a/packages/rspack/tests/configCases/plugins/plugins-falsy/webpack.config.js b/packages/rspack-test-tools/tests/configCases/plugins/plugins-falsy/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/plugins-falsy/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/plugins/plugins-falsy/webpack.config.js diff --git a/packages/rspack/tests/configCases/plugins/provide-plugin-issue-5994/default.js b/packages/rspack-test-tools/tests/configCases/plugins/provide-plugin-issue-5994/default.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/provide-plugin-issue-5994/default.js rename to packages/rspack-test-tools/tests/configCases/plugins/provide-plugin-issue-5994/default.js diff --git a/packages/rspack/tests/configCases/plugins/provide-plugin-issue-5994/harmony.js b/packages/rspack-test-tools/tests/configCases/plugins/provide-plugin-issue-5994/harmony.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/provide-plugin-issue-5994/harmony.js rename to packages/rspack-test-tools/tests/configCases/plugins/provide-plugin-issue-5994/harmony.js diff --git a/packages/rspack/tests/configCases/plugins/provide-plugin-issue-5994/index.js b/packages/rspack-test-tools/tests/configCases/plugins/provide-plugin-issue-5994/index.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/provide-plugin-issue-5994/index.js rename to packages/rspack-test-tools/tests/configCases/plugins/provide-plugin-issue-5994/index.js diff --git a/packages/rspack/tests/configCases/plugins/provide-plugin-issue-5994/mod.js b/packages/rspack-test-tools/tests/configCases/plugins/provide-plugin-issue-5994/mod.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/provide-plugin-issue-5994/mod.js rename to packages/rspack-test-tools/tests/configCases/plugins/provide-plugin-issue-5994/mod.js diff --git a/packages/rspack/tests/configCases/plugins/provide-plugin-issue-5994/webpack.config.js b/packages/rspack-test-tools/tests/configCases/plugins/provide-plugin-issue-5994/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/provide-plugin-issue-5994/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/plugins/provide-plugin-issue-5994/webpack.config.js diff --git a/packages/rspack/tests/configCases/plugins/rspack-issue-4757/index.js b/packages/rspack-test-tools/tests/configCases/plugins/rspack-issue-4757/index.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/rspack-issue-4757/index.js rename to packages/rspack-test-tools/tests/configCases/plugins/rspack-issue-4757/index.js diff --git a/packages/rspack/tests/configCases/plugins/rspack-issue-4757/webpack.config.js b/packages/rspack-test-tools/tests/configCases/plugins/rspack-issue-4757/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/rspack-issue-4757/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/plugins/rspack-issue-4757/webpack.config.js diff --git a/packages/rspack/tests/configCases/plugins/rspack-issue-4797/index.js b/packages/rspack-test-tools/tests/configCases/plugins/rspack-issue-4797/index.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/rspack-issue-4797/index.js rename to packages/rspack-test-tools/tests/configCases/plugins/rspack-issue-4797/index.js diff --git a/packages/rspack/tests/configCases/plugins/rspack-issue-4797/webpack.config.js b/packages/rspack-test-tools/tests/configCases/plugins/rspack-issue-4797/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/rspack-issue-4797/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/plugins/rspack-issue-4797/webpack.config.js diff --git a/packages/rspack/tests/configCases/plugins/rspack-issue-4982/child.js b/packages/rspack-test-tools/tests/configCases/plugins/rspack-issue-4982/child.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/rspack-issue-4982/child.js rename to packages/rspack-test-tools/tests/configCases/plugins/rspack-issue-4982/child.js diff --git a/packages/rspack/tests/configCases/plugins/rspack-issue-4982/index.js b/packages/rspack-test-tools/tests/configCases/plugins/rspack-issue-4982/index.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/rspack-issue-4982/index.js rename to packages/rspack-test-tools/tests/configCases/plugins/rspack-issue-4982/index.js diff --git a/packages/rspack/tests/configCases/plugins/rspack-issue-4982/webpack.config.js b/packages/rspack-test-tools/tests/configCases/plugins/rspack-issue-4982/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/rspack-issue-4982/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/plugins/rspack-issue-4982/webpack.config.js diff --git a/packages/rspack/tests/configCases/plugins/rspack-issue-5068-1/index.js b/packages/rspack-test-tools/tests/configCases/plugins/rspack-issue-5068-1/index.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/rspack-issue-5068-1/index.js rename to packages/rspack-test-tools/tests/configCases/plugins/rspack-issue-5068-1/index.js diff --git a/packages/rspack/tests/configCases/plugins/rspack-issue-5068-1/webpack.config.js b/packages/rspack-test-tools/tests/configCases/plugins/rspack-issue-5068-1/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/rspack-issue-5068-1/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/plugins/rspack-issue-5068-1/webpack.config.js diff --git a/packages/rspack/tests/configCases/plugins/rspack-issue-5068-2/index.js b/packages/rspack-test-tools/tests/configCases/plugins/rspack-issue-5068-2/index.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/rspack-issue-5068-2/index.js rename to packages/rspack-test-tools/tests/configCases/plugins/rspack-issue-5068-2/index.js diff --git a/packages/rspack/tests/configCases/plugins/rspack-issue-5068-2/webpack.config.js b/packages/rspack-test-tools/tests/configCases/plugins/rspack-issue-5068-2/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/rspack-issue-5068-2/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/plugins/rspack-issue-5068-2/webpack.config.js diff --git a/packages/rspack/tests/configCases/plugins/source-map-dev-tool-plugin-source-root/index.js b/packages/rspack-test-tools/tests/configCases/plugins/source-map-dev-tool-plugin-source-root/index.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/source-map-dev-tool-plugin-source-root/index.js rename to packages/rspack-test-tools/tests/configCases/plugins/source-map-dev-tool-plugin-source-root/index.js diff --git a/packages/rspack/tests/configCases/plugins/source-map-dev-tool-plugin-source-root/test.config.js b/packages/rspack-test-tools/tests/configCases/plugins/source-map-dev-tool-plugin-source-root/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/source-map-dev-tool-plugin-source-root/test.config.js rename to packages/rspack-test-tools/tests/configCases/plugins/source-map-dev-tool-plugin-source-root/test.config.js diff --git a/packages/rspack/tests/configCases/plugins/source-map-dev-tool-plugin-source-root/webpack.config.js b/packages/rspack-test-tools/tests/configCases/plugins/source-map-dev-tool-plugin-source-root/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/source-map-dev-tool-plugin-source-root/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/plugins/source-map-dev-tool-plugin-source-root/webpack.config.js diff --git a/packages/rspack/tests/configCases/plugins/swc-js-minifier/extract.js b/packages/rspack-test-tools/tests/configCases/plugins/swc-js-minifier/extract.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/swc-js-minifier/extract.js rename to packages/rspack-test-tools/tests/configCases/plugins/swc-js-minifier/extract.js diff --git a/packages/rspack/tests/configCases/plugins/swc-js-minifier/index.js b/packages/rspack-test-tools/tests/configCases/plugins/swc-js-minifier/index.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/swc-js-minifier/index.js rename to packages/rspack-test-tools/tests/configCases/plugins/swc-js-minifier/index.js diff --git a/packages/rspack/tests/configCases/plugins/swc-js-minifier/no-extract.js b/packages/rspack-test-tools/tests/configCases/plugins/swc-js-minifier/no-extract.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/swc-js-minifier/no-extract.js rename to packages/rspack-test-tools/tests/configCases/plugins/swc-js-minifier/no-extract.js diff --git a/packages/rspack/tests/configCases/plugins/swc-js-minifier/test.config.js b/packages/rspack-test-tools/tests/configCases/plugins/swc-js-minifier/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/swc-js-minifier/test.config.js rename to packages/rspack-test-tools/tests/configCases/plugins/swc-js-minifier/test.config.js diff --git a/packages/rspack/tests/configCases/plugins/swc-js-minifier/webpack.config.js b/packages/rspack-test-tools/tests/configCases/plugins/swc-js-minifier/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/plugins/swc-js-minifier/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/plugins/swc-js-minifier/webpack.config.js diff --git a/packages/rspack/tests/configCases/postcss-loader/pxtorem/index.css b/packages/rspack-test-tools/tests/configCases/postcss-loader/pxtorem/index.css similarity index 100% rename from packages/rspack/tests/configCases/postcss-loader/pxtorem/index.css rename to packages/rspack-test-tools/tests/configCases/postcss-loader/pxtorem/index.css diff --git a/packages/rspack/tests/configCases/postcss-loader/pxtorem/index.js b/packages/rspack-test-tools/tests/configCases/postcss-loader/pxtorem/index.js similarity index 100% rename from packages/rspack/tests/configCases/postcss-loader/pxtorem/index.js rename to packages/rspack-test-tools/tests/configCases/postcss-loader/pxtorem/index.js diff --git a/packages/rspack/tests/configCases/postcss-loader/pxtorem/webpack.config.js b/packages/rspack-test-tools/tests/configCases/postcss-loader/pxtorem/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/postcss-loader/pxtorem/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/postcss-loader/pxtorem/webpack.config.js diff --git a/packages/rspack/tests/configCases/postcss-loader/with-previous-source-map/index.js b/packages/rspack-test-tools/tests/configCases/postcss-loader/with-previous-source-map/index.js similarity index 100% rename from packages/rspack/tests/configCases/postcss-loader/with-previous-source-map/index.js rename to packages/rspack-test-tools/tests/configCases/postcss-loader/with-previous-source-map/index.js diff --git a/packages/rspack/tests/configCases/postcss-loader/with-previous-source-map/index.scss b/packages/rspack-test-tools/tests/configCases/postcss-loader/with-previous-source-map/index.scss similarity index 100% rename from packages/rspack/tests/configCases/postcss-loader/with-previous-source-map/index.scss rename to packages/rspack-test-tools/tests/configCases/postcss-loader/with-previous-source-map/index.scss diff --git a/packages/rspack/tests/configCases/postcss-loader/with-previous-source-map/webpack.config.js b/packages/rspack-test-tools/tests/configCases/postcss-loader/with-previous-source-map/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/postcss-loader/with-previous-source-map/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/postcss-loader/with-previous-source-map/webpack.config.js diff --git a/packages/rspack/tests/configCases/postcss-loader/with-source-map/index.css b/packages/rspack-test-tools/tests/configCases/postcss-loader/with-source-map/index.css similarity index 100% rename from packages/rspack/tests/configCases/postcss-loader/with-source-map/index.css rename to packages/rspack-test-tools/tests/configCases/postcss-loader/with-source-map/index.css diff --git a/packages/rspack/tests/configCases/postcss-loader/with-source-map/index.js b/packages/rspack-test-tools/tests/configCases/postcss-loader/with-source-map/index.js similarity index 100% rename from packages/rspack/tests/configCases/postcss-loader/with-source-map/index.js rename to packages/rspack-test-tools/tests/configCases/postcss-loader/with-source-map/index.js diff --git a/packages/rspack/tests/configCases/postcss-loader/with-source-map/webpack.config.js b/packages/rspack-test-tools/tests/configCases/postcss-loader/with-source-map/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/postcss-loader/with-source-map/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/postcss-loader/with-source-map/webpack.config.js diff --git a/packages/rspack/tests/configCases/resolve/alias-order/b.js b/packages/rspack-test-tools/tests/configCases/resolve/alias-order/b.js similarity index 100% rename from packages/rspack/tests/configCases/resolve/alias-order/b.js rename to packages/rspack-test-tools/tests/configCases/resolve/alias-order/b.js diff --git a/packages/rspack/tests/configCases/resolve/alias-order/index.js b/packages/rspack-test-tools/tests/configCases/resolve/alias-order/index.js similarity index 100% rename from packages/rspack/tests/configCases/resolve/alias-order/index.js rename to packages/rspack-test-tools/tests/configCases/resolve/alias-order/index.js diff --git a/packages/rspack/tests/configCases/resolve/alias-order/webpack.config.js b/packages/rspack-test-tools/tests/configCases/resolve/alias-order/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/resolve/alias-order/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/resolve/alias-order/webpack.config.js diff --git a/packages/rspack/tests/configCases/resolve/alias/a.js b/packages/rspack-test-tools/tests/configCases/resolve/alias/a.js similarity index 100% rename from packages/rspack/tests/configCases/resolve/alias/a.js rename to packages/rspack-test-tools/tests/configCases/resolve/alias/a.js diff --git a/packages/rspack/tests/configCases/resolve/alias/index.js b/packages/rspack-test-tools/tests/configCases/resolve/alias/index.js similarity index 100% rename from packages/rspack/tests/configCases/resolve/alias/index.js rename to packages/rspack-test-tools/tests/configCases/resolve/alias/index.js diff --git a/packages/rspack/tests/configCases/resolve/alias/node_modules/alias/index.js b/packages/rspack-test-tools/tests/configCases/resolve/alias/node_modules/alias/index.js similarity index 100% rename from packages/rspack/tests/configCases/resolve/alias/node_modules/alias/index.js rename to packages/rspack-test-tools/tests/configCases/resolve/alias/node_modules/alias/index.js diff --git a/packages/rspack/tests/configCases/resolve/alias/webpack.config.js b/packages/rspack-test-tools/tests/configCases/resolve/alias/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/resolve/alias/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/resolve/alias/webpack.config.js diff --git a/packages/rspack/tests/configCases/resolve/by-dependency/baz.js b/packages/rspack-test-tools/tests/configCases/resolve/by-dependency/baz.js similarity index 100% rename from packages/rspack/tests/configCases/resolve/by-dependency/baz.js rename to packages/rspack-test-tools/tests/configCases/resolve/by-dependency/baz.js diff --git a/packages/rspack/tests/configCases/resolve/by-dependency/foo.bar b/packages/rspack-test-tools/tests/configCases/resolve/by-dependency/foo.bar similarity index 100% rename from packages/rspack/tests/configCases/resolve/by-dependency/foo.bar rename to packages/rspack-test-tools/tests/configCases/resolve/by-dependency/foo.bar diff --git a/packages/rspack/tests/configCases/resolve/by-dependency/index.js b/packages/rspack-test-tools/tests/configCases/resolve/by-dependency/index.js similarity index 100% rename from packages/rspack/tests/configCases/resolve/by-dependency/index.js rename to packages/rspack-test-tools/tests/configCases/resolve/by-dependency/index.js diff --git a/packages/rspack/tests/configCases/resolve/by-dependency/webpack.config.js b/packages/rspack-test-tools/tests/configCases/resolve/by-dependency/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/resolve/by-dependency/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/resolve/by-dependency/webpack.config.js diff --git a/packages/rspack/tests/configCases/resolve/condition-exports/index.js b/packages/rspack-test-tools/tests/configCases/resolve/condition-exports/index.js similarity index 100% rename from packages/rspack/tests/configCases/resolve/condition-exports/index.js rename to packages/rspack-test-tools/tests/configCases/resolve/condition-exports/index.js diff --git a/packages/rspack/tests/configCases/resolve/condition-exports/node_modules/exports-conditional-2/lib.cjs b/packages/rspack-test-tools/tests/configCases/resolve/condition-exports/node_modules/exports-conditional-2/lib.cjs similarity index 100% rename from packages/rspack/tests/configCases/resolve/condition-exports/node_modules/exports-conditional-2/lib.cjs rename to packages/rspack-test-tools/tests/configCases/resolve/condition-exports/node_modules/exports-conditional-2/lib.cjs diff --git a/packages/rspack/tests/configCases/resolve/condition-exports/node_modules/exports-conditional-2/lib.js b/packages/rspack-test-tools/tests/configCases/resolve/condition-exports/node_modules/exports-conditional-2/lib.js similarity index 100% rename from packages/rspack/tests/configCases/resolve/condition-exports/node_modules/exports-conditional-2/lib.js rename to packages/rspack-test-tools/tests/configCases/resolve/condition-exports/node_modules/exports-conditional-2/lib.js diff --git a/packages/rspack/tests/configCases/resolve/condition-exports/node_modules/exports-conditional-2/package.json b/packages/rspack-test-tools/tests/configCases/resolve/condition-exports/node_modules/exports-conditional-2/package.json similarity index 100% rename from packages/rspack/tests/configCases/resolve/condition-exports/node_modules/exports-conditional-2/package.json rename to packages/rspack-test-tools/tests/configCases/resolve/condition-exports/node_modules/exports-conditional-2/package.json diff --git a/packages/rspack/tests/configCases/resolve/condition-exports/node_modules/exports-conditional/lib.cjs b/packages/rspack-test-tools/tests/configCases/resolve/condition-exports/node_modules/exports-conditional/lib.cjs similarity index 100% rename from packages/rspack/tests/configCases/resolve/condition-exports/node_modules/exports-conditional/lib.cjs rename to packages/rspack-test-tools/tests/configCases/resolve/condition-exports/node_modules/exports-conditional/lib.cjs diff --git a/packages/rspack/tests/configCases/resolve/condition-exports/node_modules/exports-conditional/lib.mjs b/packages/rspack-test-tools/tests/configCases/resolve/condition-exports/node_modules/exports-conditional/lib.mjs similarity index 100% rename from packages/rspack/tests/configCases/resolve/condition-exports/node_modules/exports-conditional/lib.mjs rename to packages/rspack-test-tools/tests/configCases/resolve/condition-exports/node_modules/exports-conditional/lib.mjs diff --git a/packages/rspack/tests/configCases/resolve/condition-exports/node_modules/exports-conditional/package.json b/packages/rspack-test-tools/tests/configCases/resolve/condition-exports/node_modules/exports-conditional/package.json similarity index 100% rename from packages/rspack/tests/configCases/resolve/condition-exports/node_modules/exports-conditional/package.json rename to packages/rspack-test-tools/tests/configCases/resolve/condition-exports/node_modules/exports-conditional/package.json diff --git a/packages/rspack/tests/configCases/resolve/condition-exports/webpack.config.js b/packages/rspack-test-tools/tests/configCases/resolve/condition-exports/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/resolve/condition-exports/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/resolve/condition-exports/webpack.config.js diff --git a/packages/rspack/tests/configCases/resolve/conditions/index.js b/packages/rspack-test-tools/tests/configCases/resolve/conditions/index.js similarity index 100% rename from packages/rspack/tests/configCases/resolve/conditions/index.js rename to packages/rspack-test-tools/tests/configCases/resolve/conditions/index.js diff --git a/packages/rspack/tests/configCases/resolve/conditions/node_modules/exports-field/lib/index.js b/packages/rspack-test-tools/tests/configCases/resolve/conditions/node_modules/exports-field/lib/index.js similarity index 100% rename from packages/rspack/tests/configCases/resolve/conditions/node_modules/exports-field/lib/index.js rename to packages/rspack-test-tools/tests/configCases/resolve/conditions/node_modules/exports-field/lib/index.js diff --git a/packages/rspack/tests/configCases/resolve/conditions/node_modules/exports-field/lib/lib2/main.js b/packages/rspack-test-tools/tests/configCases/resolve/conditions/node_modules/exports-field/lib/lib2/main.js similarity index 100% rename from packages/rspack/tests/configCases/resolve/conditions/node_modules/exports-field/lib/lib2/main.js rename to packages/rspack-test-tools/tests/configCases/resolve/conditions/node_modules/exports-field/lib/lib2/main.js diff --git a/packages/rspack/tests/configCases/resolve/conditions/node_modules/exports-field/lib/main.js b/packages/rspack-test-tools/tests/configCases/resolve/conditions/node_modules/exports-field/lib/main.js similarity index 100% rename from packages/rspack/tests/configCases/resolve/conditions/node_modules/exports-field/lib/main.js rename to packages/rspack-test-tools/tests/configCases/resolve/conditions/node_modules/exports-field/lib/main.js diff --git a/packages/rspack/tests/configCases/resolve/conditions/node_modules/exports-field/package.json b/packages/rspack-test-tools/tests/configCases/resolve/conditions/node_modules/exports-field/package.json similarity index 100% rename from packages/rspack/tests/configCases/resolve/conditions/node_modules/exports-field/package.json rename to packages/rspack-test-tools/tests/configCases/resolve/conditions/node_modules/exports-field/package.json diff --git a/packages/rspack/tests/configCases/resolve/conditions/node_modules/exports-field/x.js b/packages/rspack-test-tools/tests/configCases/resolve/conditions/node_modules/exports-field/x.js similarity index 100% rename from packages/rspack/tests/configCases/resolve/conditions/node_modules/exports-field/x.js rename to packages/rspack-test-tools/tests/configCases/resolve/conditions/node_modules/exports-field/x.js diff --git a/packages/rspack/tests/configCases/resolve/conditions/webpack.config.js b/packages/rspack-test-tools/tests/configCases/resolve/conditions/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/resolve/conditions/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/resolve/conditions/webpack.config.js diff --git a/packages/rspack/tests/configCases/resolve/exports-fields/index.js b/packages/rspack-test-tools/tests/configCases/resolve/exports-fields/index.js similarity index 100% rename from packages/rspack/tests/configCases/resolve/exports-fields/index.js rename to packages/rspack-test-tools/tests/configCases/resolve/exports-fields/index.js diff --git a/packages/rspack/tests/configCases/resolve/exports-fields/node_modules/exports-field/b.js b/packages/rspack-test-tools/tests/configCases/resolve/exports-fields/node_modules/exports-field/b.js similarity index 100% rename from packages/rspack/tests/configCases/resolve/exports-fields/node_modules/exports-field/b.js rename to packages/rspack-test-tools/tests/configCases/resolve/exports-fields/node_modules/exports-field/b.js diff --git a/packages/rspack/tests/configCases/resolve/exports-fields/node_modules/exports-field/package.json b/packages/rspack-test-tools/tests/configCases/resolve/exports-fields/node_modules/exports-field/package.json similarity index 100% rename from packages/rspack/tests/configCases/resolve/exports-fields/node_modules/exports-field/package.json rename to packages/rspack-test-tools/tests/configCases/resolve/exports-fields/node_modules/exports-field/package.json diff --git a/packages/rspack/tests/configCases/resolve/exports-fields/webpack.config.js b/packages/rspack-test-tools/tests/configCases/resolve/exports-fields/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/resolve/exports-fields/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/resolve/exports-fields/webpack.config.js diff --git a/packages/rspack/tests/configCases/resolve/extension-alias/index.js b/packages/rspack-test-tools/tests/configCases/resolve/extension-alias/index.js similarity index 100% rename from packages/rspack/tests/configCases/resolve/extension-alias/index.js rename to packages/rspack-test-tools/tests/configCases/resolve/extension-alias/index.js diff --git a/packages/rspack/tests/configCases/resolve/extension-alias/src/index.mts b/packages/rspack-test-tools/tests/configCases/resolve/extension-alias/src/index.mts similarity index 100% rename from packages/rspack/tests/configCases/resolve/extension-alias/src/index.mts rename to packages/rspack-test-tools/tests/configCases/resolve/extension-alias/src/index.mts diff --git a/packages/rspack/tests/configCases/resolve/extension-alias/webpack.config.js b/packages/rspack-test-tools/tests/configCases/resolve/extension-alias/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/resolve/extension-alias/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/resolve/extension-alias/webpack.config.js diff --git a/packages/rspack/tests/configCases/resolve/modules/a/foo/a.js b/packages/rspack-test-tools/tests/configCases/resolve/modules/a/foo/a.js similarity index 100% rename from packages/rspack/tests/configCases/resolve/modules/a/foo/a.js rename to packages/rspack-test-tools/tests/configCases/resolve/modules/a/foo/a.js diff --git a/packages/rspack/tests/configCases/resolve/modules/a/foo/package.json b/packages/rspack-test-tools/tests/configCases/resolve/modules/a/foo/package.json similarity index 100% rename from packages/rspack/tests/configCases/resolve/modules/a/foo/package.json rename to packages/rspack-test-tools/tests/configCases/resolve/modules/a/foo/package.json diff --git a/packages/rspack/tests/configCases/resolve/modules/b/foo/b.js b/packages/rspack-test-tools/tests/configCases/resolve/modules/b/foo/b.js similarity index 100% rename from packages/rspack/tests/configCases/resolve/modules/b/foo/b.js rename to packages/rspack-test-tools/tests/configCases/resolve/modules/b/foo/b.js diff --git a/packages/rspack/tests/configCases/resolve/modules/b/foo/package.json b/packages/rspack-test-tools/tests/configCases/resolve/modules/b/foo/package.json similarity index 100% rename from packages/rspack/tests/configCases/resolve/modules/b/foo/package.json rename to packages/rspack-test-tools/tests/configCases/resolve/modules/b/foo/package.json diff --git a/packages/rspack/tests/configCases/resolve/modules/index.js b/packages/rspack-test-tools/tests/configCases/resolve/modules/index.js similarity index 100% rename from packages/rspack/tests/configCases/resolve/modules/index.js rename to packages/rspack-test-tools/tests/configCases/resolve/modules/index.js diff --git a/packages/rspack/tests/configCases/resolve/modules/webpack.config.js b/packages/rspack-test-tools/tests/configCases/resolve/modules/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/resolve/modules/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/resolve/modules/webpack.config.js diff --git a/packages/rspack/tests/configCases/resolve/nested-by-dependency/bar.mjs b/packages/rspack-test-tools/tests/configCases/resolve/nested-by-dependency/bar.mjs similarity index 100% rename from packages/rspack/tests/configCases/resolve/nested-by-dependency/bar.mjs rename to packages/rspack-test-tools/tests/configCases/resolve/nested-by-dependency/bar.mjs diff --git a/packages/rspack/tests/configCases/resolve/nested-by-dependency/baz.js b/packages/rspack-test-tools/tests/configCases/resolve/nested-by-dependency/baz.js similarity index 100% rename from packages/rspack/tests/configCases/resolve/nested-by-dependency/baz.js rename to packages/rspack-test-tools/tests/configCases/resolve/nested-by-dependency/baz.js diff --git a/packages/rspack/tests/configCases/resolve/nested-by-dependency/foo.bar b/packages/rspack-test-tools/tests/configCases/resolve/nested-by-dependency/foo.bar similarity index 100% rename from packages/rspack/tests/configCases/resolve/nested-by-dependency/foo.bar rename to packages/rspack-test-tools/tests/configCases/resolve/nested-by-dependency/foo.bar diff --git a/packages/rspack/tests/configCases/resolve/nested-by-dependency/index.js b/packages/rspack-test-tools/tests/configCases/resolve/nested-by-dependency/index.js similarity index 100% rename from packages/rspack/tests/configCases/resolve/nested-by-dependency/index.js rename to packages/rspack-test-tools/tests/configCases/resolve/nested-by-dependency/index.js diff --git a/packages/rspack/tests/configCases/resolve/nested-by-dependency/webpack.config.js b/packages/rspack-test-tools/tests/configCases/resolve/nested-by-dependency/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/resolve/nested-by-dependency/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/resolve/nested-by-dependency/webpack.config.js diff --git a/packages/rspack/tests/configCases/resolve/rspack-issue-4432/index.js b/packages/rspack-test-tools/tests/configCases/resolve/rspack-issue-4432/index.js similarity index 100% rename from packages/rspack/tests/configCases/resolve/rspack-issue-4432/index.js rename to packages/rspack-test-tools/tests/configCases/resolve/rspack-issue-4432/index.js diff --git a/packages/rspack/tests/configCases/resolve/rspack-issue-4432/package/custom.js b/packages/rspack-test-tools/tests/configCases/resolve/rspack-issue-4432/package/custom.js similarity index 100% rename from packages/rspack/tests/configCases/resolve/rspack-issue-4432/package/custom.js rename to packages/rspack-test-tools/tests/configCases/resolve/rspack-issue-4432/package/custom.js diff --git a/packages/rspack/tests/configCases/resolve/rspack-issue-4432/package/package.json b/packages/rspack-test-tools/tests/configCases/resolve/rspack-issue-4432/package/package.json similarity index 100% rename from packages/rspack/tests/configCases/resolve/rspack-issue-4432/package/package.json rename to packages/rspack-test-tools/tests/configCases/resolve/rspack-issue-4432/package/package.json diff --git a/packages/rspack/tests/configCases/resolve/rspack-issue-4432/webpack.config.js b/packages/rspack-test-tools/tests/configCases/resolve/rspack-issue-4432/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/resolve/rspack-issue-4432/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/resolve/rspack-issue-4432/webpack.config.js diff --git a/packages/rspack/tests/configCases/resolve/tsconfig-paths-map/index.js b/packages/rspack-test-tools/tests/configCases/resolve/tsconfig-paths-map/index.js similarity index 100% rename from packages/rspack/tests/configCases/resolve/tsconfig-paths-map/index.js rename to packages/rspack-test-tools/tests/configCases/resolve/tsconfig-paths-map/index.js diff --git a/packages/rspack/tests/configCases/resolve/tsconfig-paths-map/real.js b/packages/rspack-test-tools/tests/configCases/resolve/tsconfig-paths-map/real.js similarity index 100% rename from packages/rspack/tests/configCases/resolve/tsconfig-paths-map/real.js rename to packages/rspack-test-tools/tests/configCases/resolve/tsconfig-paths-map/real.js diff --git a/packages/rspack/tests/configCases/resolve/tsconfig-paths-map/src/file.js b/packages/rspack-test-tools/tests/configCases/resolve/tsconfig-paths-map/src/file.js similarity index 100% rename from packages/rspack/tests/configCases/resolve/tsconfig-paths-map/src/file.js rename to packages/rspack-test-tools/tests/configCases/resolve/tsconfig-paths-map/src/file.js diff --git a/packages/rspack/tests/configCases/resolve/tsconfig-paths-map/tsconfig.json b/packages/rspack-test-tools/tests/configCases/resolve/tsconfig-paths-map/tsconfig.json similarity index 100% rename from packages/rspack/tests/configCases/resolve/tsconfig-paths-map/tsconfig.json rename to packages/rspack-test-tools/tests/configCases/resolve/tsconfig-paths-map/tsconfig.json diff --git a/packages/rspack/tests/configCases/resolve/tsconfig-paths-map/webpack.config.js b/packages/rspack-test-tools/tests/configCases/resolve/tsconfig-paths-map/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/resolve/tsconfig-paths-map/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/resolve/tsconfig-paths-map/webpack.config.js diff --git a/packages/rspack/tests/configCases/resolve/tsconfig-project-references-auto/index.js b/packages/rspack-test-tools/tests/configCases/resolve/tsconfig-project-references-auto/index.js similarity index 100% rename from packages/rspack/tests/configCases/resolve/tsconfig-project-references-auto/index.js rename to packages/rspack-test-tools/tests/configCases/resolve/tsconfig-project-references-auto/index.js diff --git a/packages/rspack/tests/configCases/resolve/tsconfig-project-references-auto/project_a/conf.json b/packages/rspack-test-tools/tests/configCases/resolve/tsconfig-project-references-auto/project_a/conf.json similarity index 100% rename from packages/rspack/tests/configCases/resolve/tsconfig-project-references-auto/project_a/conf.json rename to packages/rspack-test-tools/tests/configCases/resolve/tsconfig-project-references-auto/project_a/conf.json diff --git a/packages/rspack/tests/configCases/resolve/tsconfig-project-references-auto/project_a/src/aliased/index.js b/packages/rspack-test-tools/tests/configCases/resolve/tsconfig-project-references-auto/project_a/src/aliased/index.js similarity index 100% rename from packages/rspack/tests/configCases/resolve/tsconfig-project-references-auto/project_a/src/aliased/index.js rename to packages/rspack-test-tools/tests/configCases/resolve/tsconfig-project-references-auto/project_a/src/aliased/index.js diff --git a/packages/rspack/tests/configCases/resolve/tsconfig-project-references-auto/project_a/src/index.js b/packages/rspack-test-tools/tests/configCases/resolve/tsconfig-project-references-auto/project_a/src/index.js similarity index 100% rename from packages/rspack/tests/configCases/resolve/tsconfig-project-references-auto/project_a/src/index.js rename to packages/rspack-test-tools/tests/configCases/resolve/tsconfig-project-references-auto/project_a/src/index.js diff --git a/packages/rspack/tests/configCases/resolve/tsconfig-project-references-auto/project_b/src/aliased/index.js b/packages/rspack-test-tools/tests/configCases/resolve/tsconfig-project-references-auto/project_b/src/aliased/index.js similarity index 100% rename from packages/rspack/tests/configCases/resolve/tsconfig-project-references-auto/project_b/src/aliased/index.js rename to packages/rspack-test-tools/tests/configCases/resolve/tsconfig-project-references-auto/project_b/src/aliased/index.js diff --git a/packages/rspack/tests/configCases/resolve/tsconfig-project-references-auto/project_b/src/index.js b/packages/rspack-test-tools/tests/configCases/resolve/tsconfig-project-references-auto/project_b/src/index.js similarity index 100% rename from packages/rspack/tests/configCases/resolve/tsconfig-project-references-auto/project_b/src/index.js rename to packages/rspack-test-tools/tests/configCases/resolve/tsconfig-project-references-auto/project_b/src/index.js diff --git a/packages/rspack/tests/configCases/resolve/tsconfig-project-references-auto/project_b/tsconfig.json b/packages/rspack-test-tools/tests/configCases/resolve/tsconfig-project-references-auto/project_b/tsconfig.json similarity index 100% rename from packages/rspack/tests/configCases/resolve/tsconfig-project-references-auto/project_b/tsconfig.json rename to packages/rspack-test-tools/tests/configCases/resolve/tsconfig-project-references-auto/project_b/tsconfig.json diff --git a/packages/rspack/tests/configCases/resolve/tsconfig-project-references-auto/project_c/index.js b/packages/rspack-test-tools/tests/configCases/resolve/tsconfig-project-references-auto/project_c/index.js similarity index 100% rename from packages/rspack/tests/configCases/resolve/tsconfig-project-references-auto/project_c/index.js rename to packages/rspack-test-tools/tests/configCases/resolve/tsconfig-project-references-auto/project_c/index.js diff --git a/packages/rspack/tests/configCases/resolve/tsconfig-project-references-auto/project_c/src/aliased/index.js b/packages/rspack-test-tools/tests/configCases/resolve/tsconfig-project-references-auto/project_c/src/aliased/index.js similarity index 100% rename from packages/rspack/tests/configCases/resolve/tsconfig-project-references-auto/project_c/src/aliased/index.js rename to packages/rspack-test-tools/tests/configCases/resolve/tsconfig-project-references-auto/project_c/src/aliased/index.js diff --git a/packages/rspack/tests/configCases/resolve/tsconfig-project-references-auto/project_c/tsconfig.json b/packages/rspack-test-tools/tests/configCases/resolve/tsconfig-project-references-auto/project_c/tsconfig.json similarity index 100% rename from packages/rspack/tests/configCases/resolve/tsconfig-project-references-auto/project_c/tsconfig.json rename to packages/rspack-test-tools/tests/configCases/resolve/tsconfig-project-references-auto/project_c/tsconfig.json diff --git a/packages/rspack/tests/configCases/resolve/tsconfig-project-references-auto/tsconfig.json b/packages/rspack-test-tools/tests/configCases/resolve/tsconfig-project-references-auto/tsconfig.json similarity index 100% rename from packages/rspack/tests/configCases/resolve/tsconfig-project-references-auto/tsconfig.json rename to packages/rspack-test-tools/tests/configCases/resolve/tsconfig-project-references-auto/tsconfig.json diff --git a/packages/rspack/tests/configCases/resolve/tsconfig-project-references-auto/webpack.config.js b/packages/rspack-test-tools/tests/configCases/resolve/tsconfig-project-references-auto/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/resolve/tsconfig-project-references-auto/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/resolve/tsconfig-project-references-auto/webpack.config.js diff --git a/packages/rspack/tests/configCases/resolve/tsconfig-project-references-manual/index.js b/packages/rspack-test-tools/tests/configCases/resolve/tsconfig-project-references-manual/index.js similarity index 100% rename from packages/rspack/tests/configCases/resolve/tsconfig-project-references-manual/index.js rename to packages/rspack-test-tools/tests/configCases/resolve/tsconfig-project-references-manual/index.js diff --git a/packages/rspack/tests/configCases/resolve/tsconfig-project-references-manual/project_a/conf.json b/packages/rspack-test-tools/tests/configCases/resolve/tsconfig-project-references-manual/project_a/conf.json similarity index 100% rename from packages/rspack/tests/configCases/resolve/tsconfig-project-references-manual/project_a/conf.json rename to packages/rspack-test-tools/tests/configCases/resolve/tsconfig-project-references-manual/project_a/conf.json diff --git a/packages/rspack/tests/configCases/resolve/tsconfig-project-references-manual/project_a/src/aliased/index.js b/packages/rspack-test-tools/tests/configCases/resolve/tsconfig-project-references-manual/project_a/src/aliased/index.js similarity index 100% rename from packages/rspack/tests/configCases/resolve/tsconfig-project-references-manual/project_a/src/aliased/index.js rename to packages/rspack-test-tools/tests/configCases/resolve/tsconfig-project-references-manual/project_a/src/aliased/index.js diff --git a/packages/rspack/tests/configCases/resolve/tsconfig-project-references-manual/project_a/src/index.js b/packages/rspack-test-tools/tests/configCases/resolve/tsconfig-project-references-manual/project_a/src/index.js similarity index 100% rename from packages/rspack/tests/configCases/resolve/tsconfig-project-references-manual/project_a/src/index.js rename to packages/rspack-test-tools/tests/configCases/resolve/tsconfig-project-references-manual/project_a/src/index.js diff --git a/packages/rspack/tests/configCases/resolve/tsconfig-project-references-manual/project_b/src/aliased/index.js b/packages/rspack-test-tools/tests/configCases/resolve/tsconfig-project-references-manual/project_b/src/aliased/index.js similarity index 100% rename from packages/rspack/tests/configCases/resolve/tsconfig-project-references-manual/project_b/src/aliased/index.js rename to packages/rspack-test-tools/tests/configCases/resolve/tsconfig-project-references-manual/project_b/src/aliased/index.js diff --git a/packages/rspack/tests/configCases/resolve/tsconfig-project-references-manual/project_b/src/index.js b/packages/rspack-test-tools/tests/configCases/resolve/tsconfig-project-references-manual/project_b/src/index.js similarity index 100% rename from packages/rspack/tests/configCases/resolve/tsconfig-project-references-manual/project_b/src/index.js rename to packages/rspack-test-tools/tests/configCases/resolve/tsconfig-project-references-manual/project_b/src/index.js diff --git a/packages/rspack/tests/configCases/resolve/tsconfig-project-references-manual/project_b/tsconfig.json b/packages/rspack-test-tools/tests/configCases/resolve/tsconfig-project-references-manual/project_b/tsconfig.json similarity index 100% rename from packages/rspack/tests/configCases/resolve/tsconfig-project-references-manual/project_b/tsconfig.json rename to packages/rspack-test-tools/tests/configCases/resolve/tsconfig-project-references-manual/project_b/tsconfig.json diff --git a/packages/rspack/tests/configCases/resolve/tsconfig-project-references-manual/project_c/index.js b/packages/rspack-test-tools/tests/configCases/resolve/tsconfig-project-references-manual/project_c/index.js similarity index 100% rename from packages/rspack/tests/configCases/resolve/tsconfig-project-references-manual/project_c/index.js rename to packages/rspack-test-tools/tests/configCases/resolve/tsconfig-project-references-manual/project_c/index.js diff --git a/packages/rspack/tests/configCases/resolve/tsconfig-project-references-manual/project_c/src/aliased/index.js b/packages/rspack-test-tools/tests/configCases/resolve/tsconfig-project-references-manual/project_c/src/aliased/index.js similarity index 100% rename from packages/rspack/tests/configCases/resolve/tsconfig-project-references-manual/project_c/src/aliased/index.js rename to packages/rspack-test-tools/tests/configCases/resolve/tsconfig-project-references-manual/project_c/src/aliased/index.js diff --git a/packages/rspack/tests/configCases/resolve/tsconfig-project-references-manual/project_c/tsconfig.json b/packages/rspack-test-tools/tests/configCases/resolve/tsconfig-project-references-manual/project_c/tsconfig.json similarity index 100% rename from packages/rspack/tests/configCases/resolve/tsconfig-project-references-manual/project_c/tsconfig.json rename to packages/rspack-test-tools/tests/configCases/resolve/tsconfig-project-references-manual/project_c/tsconfig.json diff --git a/packages/rspack/tests/configCases/resolve/tsconfig-project-references-manual/tsconfig.json b/packages/rspack-test-tools/tests/configCases/resolve/tsconfig-project-references-manual/tsconfig.json similarity index 100% rename from packages/rspack/tests/configCases/resolve/tsconfig-project-references-manual/tsconfig.json rename to packages/rspack-test-tools/tests/configCases/resolve/tsconfig-project-references-manual/tsconfig.json diff --git a/packages/rspack/tests/configCases/resolve/tsconfig-project-references-manual/webpack.config.js b/packages/rspack-test-tools/tests/configCases/resolve/tsconfig-project-references-manual/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/resolve/tsconfig-project-references-manual/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/resolve/tsconfig-project-references-manual/webpack.config.js diff --git a/packages/rspack/tests/configCases/runtime/dynamic-chunk-with-hash/dynamic.js b/packages/rspack-test-tools/tests/configCases/runtime/dynamic-chunk-with-hash/dynamic.js similarity index 100% rename from packages/rspack/tests/configCases/runtime/dynamic-chunk-with-hash/dynamic.js rename to packages/rspack-test-tools/tests/configCases/runtime/dynamic-chunk-with-hash/dynamic.js diff --git a/packages/rspack/tests/configCases/runtime/dynamic-chunk-with-hash/index.js b/packages/rspack-test-tools/tests/configCases/runtime/dynamic-chunk-with-hash/index.js similarity index 100% rename from packages/rspack/tests/configCases/runtime/dynamic-chunk-with-hash/index.js rename to packages/rspack-test-tools/tests/configCases/runtime/dynamic-chunk-with-hash/index.js diff --git a/packages/rspack/tests/configCases/runtime/dynamic-chunk-with-hash/webpack.config.js b/packages/rspack-test-tools/tests/configCases/runtime/dynamic-chunk-with-hash/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/runtime/dynamic-chunk-with-hash/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/runtime/dynamic-chunk-with-hash/webpack.config.js diff --git a/packages/rspack/tests/configCases/runtime/dynamic-chunk/dynamic.js b/packages/rspack-test-tools/tests/configCases/runtime/dynamic-chunk/dynamic.js similarity index 100% rename from packages/rspack/tests/configCases/runtime/dynamic-chunk/dynamic.js rename to packages/rspack-test-tools/tests/configCases/runtime/dynamic-chunk/dynamic.js diff --git a/packages/rspack/tests/configCases/runtime/dynamic-chunk/index.js b/packages/rspack-test-tools/tests/configCases/runtime/dynamic-chunk/index.js similarity index 100% rename from packages/rspack/tests/configCases/runtime/dynamic-chunk/index.js rename to packages/rspack-test-tools/tests/configCases/runtime/dynamic-chunk/index.js diff --git a/packages/rspack/tests/configCases/runtime/dynamic-chunk/webpack.config.js b/packages/rspack-test-tools/tests/configCases/runtime/dynamic-chunk/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/runtime/dynamic-chunk/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/runtime/dynamic-chunk/webpack.config.js diff --git a/packages/rspack/tests/configCases/runtime/dynamic-css-chunk-with-content-hash/dynamic.css b/packages/rspack-test-tools/tests/configCases/runtime/dynamic-css-chunk-with-content-hash/dynamic.css similarity index 100% rename from packages/rspack/tests/configCases/runtime/dynamic-css-chunk-with-content-hash/dynamic.css rename to packages/rspack-test-tools/tests/configCases/runtime/dynamic-css-chunk-with-content-hash/dynamic.css diff --git a/packages/rspack/tests/configCases/runtime/dynamic-css-chunk-with-content-hash/dynamic.js b/packages/rspack-test-tools/tests/configCases/runtime/dynamic-css-chunk-with-content-hash/dynamic.js similarity index 100% rename from packages/rspack/tests/configCases/runtime/dynamic-css-chunk-with-content-hash/dynamic.js rename to packages/rspack-test-tools/tests/configCases/runtime/dynamic-css-chunk-with-content-hash/dynamic.js diff --git a/packages/rspack/tests/configCases/runtime/dynamic-css-chunk-with-content-hash/index.js b/packages/rspack-test-tools/tests/configCases/runtime/dynamic-css-chunk-with-content-hash/index.js similarity index 100% rename from packages/rspack/tests/configCases/runtime/dynamic-css-chunk-with-content-hash/index.js rename to packages/rspack-test-tools/tests/configCases/runtime/dynamic-css-chunk-with-content-hash/index.js diff --git a/packages/rspack/tests/configCases/runtime/dynamic-css-chunk-with-content-hash/webpack.config.js b/packages/rspack-test-tools/tests/configCases/runtime/dynamic-css-chunk-with-content-hash/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/runtime/dynamic-css-chunk-with-content-hash/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/runtime/dynamic-css-chunk-with-content-hash/webpack.config.js diff --git a/packages/rspack/tests/configCases/runtime/dynamic-css-chunk-with-hash/common.js b/packages/rspack-test-tools/tests/configCases/runtime/dynamic-css-chunk-with-hash/common.js similarity index 100% rename from packages/rspack/tests/configCases/runtime/dynamic-css-chunk-with-hash/common.js rename to packages/rspack-test-tools/tests/configCases/runtime/dynamic-css-chunk-with-hash/common.js diff --git a/packages/rspack/tests/configCases/runtime/dynamic-css-chunk-with-hash/dynamic.css b/packages/rspack-test-tools/tests/configCases/runtime/dynamic-css-chunk-with-hash/dynamic.css similarity index 100% rename from packages/rspack/tests/configCases/runtime/dynamic-css-chunk-with-hash/dynamic.css rename to packages/rspack-test-tools/tests/configCases/runtime/dynamic-css-chunk-with-hash/dynamic.css diff --git a/packages/rspack/tests/configCases/runtime/dynamic-css-chunk-with-hash/dynamic.js b/packages/rspack-test-tools/tests/configCases/runtime/dynamic-css-chunk-with-hash/dynamic.js similarity index 100% rename from packages/rspack/tests/configCases/runtime/dynamic-css-chunk-with-hash/dynamic.js rename to packages/rspack-test-tools/tests/configCases/runtime/dynamic-css-chunk-with-hash/dynamic.js diff --git a/packages/rspack/tests/configCases/runtime/dynamic-css-chunk-with-hash/index.js b/packages/rspack-test-tools/tests/configCases/runtime/dynamic-css-chunk-with-hash/index.js similarity index 100% rename from packages/rspack/tests/configCases/runtime/dynamic-css-chunk-with-hash/index.js rename to packages/rspack-test-tools/tests/configCases/runtime/dynamic-css-chunk-with-hash/index.js diff --git a/packages/rspack/tests/configCases/runtime/dynamic-css-chunk-with-hash/webpack.config.js b/packages/rspack-test-tools/tests/configCases/runtime/dynamic-css-chunk-with-hash/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/runtime/dynamic-css-chunk-with-hash/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/runtime/dynamic-css-chunk-with-hash/webpack.config.js diff --git a/packages/rspack/tests/configCases/runtime/dynamic-css-chunk-with-umd/dynamic.css b/packages/rspack-test-tools/tests/configCases/runtime/dynamic-css-chunk-with-umd/dynamic.css similarity index 100% rename from packages/rspack/tests/configCases/runtime/dynamic-css-chunk-with-umd/dynamic.css rename to packages/rspack-test-tools/tests/configCases/runtime/dynamic-css-chunk-with-umd/dynamic.css diff --git a/packages/rspack/tests/configCases/runtime/dynamic-css-chunk-with-umd/dynamic.js b/packages/rspack-test-tools/tests/configCases/runtime/dynamic-css-chunk-with-umd/dynamic.js similarity index 100% rename from packages/rspack/tests/configCases/runtime/dynamic-css-chunk-with-umd/dynamic.js rename to packages/rspack-test-tools/tests/configCases/runtime/dynamic-css-chunk-with-umd/dynamic.js diff --git a/packages/rspack/tests/configCases/runtime/dynamic-css-chunk-with-umd/index.js b/packages/rspack-test-tools/tests/configCases/runtime/dynamic-css-chunk-with-umd/index.js similarity index 100% rename from packages/rspack/tests/configCases/runtime/dynamic-css-chunk-with-umd/index.js rename to packages/rspack-test-tools/tests/configCases/runtime/dynamic-css-chunk-with-umd/index.js diff --git a/packages/rspack/tests/configCases/runtime/dynamic-css-chunk-with-umd/lib.js b/packages/rspack-test-tools/tests/configCases/runtime/dynamic-css-chunk-with-umd/lib.js similarity index 100% rename from packages/rspack/tests/configCases/runtime/dynamic-css-chunk-with-umd/lib.js rename to packages/rspack-test-tools/tests/configCases/runtime/dynamic-css-chunk-with-umd/lib.js diff --git a/packages/rspack/tests/configCases/runtime/dynamic-css-chunk-with-umd/test.config.js b/packages/rspack-test-tools/tests/configCases/runtime/dynamic-css-chunk-with-umd/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/runtime/dynamic-css-chunk-with-umd/test.config.js rename to packages/rspack-test-tools/tests/configCases/runtime/dynamic-css-chunk-with-umd/test.config.js diff --git a/packages/rspack/tests/configCases/runtime/dynamic-css-chunk-with-umd/webpack.config.js b/packages/rspack-test-tools/tests/configCases/runtime/dynamic-css-chunk-with-umd/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/runtime/dynamic-css-chunk-with-umd/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/runtime/dynamic-css-chunk-with-umd/webpack.config.js diff --git a/packages/rspack/tests/configCases/runtime/dynamic-css-chunk/common.js b/packages/rspack-test-tools/tests/configCases/runtime/dynamic-css-chunk/common.js similarity index 100% rename from packages/rspack/tests/configCases/runtime/dynamic-css-chunk/common.js rename to packages/rspack-test-tools/tests/configCases/runtime/dynamic-css-chunk/common.js diff --git a/packages/rspack/tests/configCases/runtime/dynamic-css-chunk/dynamic.css b/packages/rspack-test-tools/tests/configCases/runtime/dynamic-css-chunk/dynamic.css similarity index 100% rename from packages/rspack/tests/configCases/runtime/dynamic-css-chunk/dynamic.css rename to packages/rspack-test-tools/tests/configCases/runtime/dynamic-css-chunk/dynamic.css diff --git a/packages/rspack/tests/configCases/runtime/dynamic-css-chunk/dynamic.js b/packages/rspack-test-tools/tests/configCases/runtime/dynamic-css-chunk/dynamic.js similarity index 100% rename from packages/rspack/tests/configCases/runtime/dynamic-css-chunk/dynamic.js rename to packages/rspack-test-tools/tests/configCases/runtime/dynamic-css-chunk/dynamic.js diff --git a/packages/rspack/tests/configCases/runtime/dynamic-css-chunk/index.js b/packages/rspack-test-tools/tests/configCases/runtime/dynamic-css-chunk/index.js similarity index 100% rename from packages/rspack/tests/configCases/runtime/dynamic-css-chunk/index.js rename to packages/rspack-test-tools/tests/configCases/runtime/dynamic-css-chunk/index.js diff --git a/packages/rspack/tests/configCases/runtime/dynamic-css-chunk/webpack.config.js b/packages/rspack-test-tools/tests/configCases/runtime/dynamic-css-chunk/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/runtime/dynamic-css-chunk/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/runtime/dynamic-css-chunk/webpack.config.js diff --git a/packages/rspack/tests/configCases/runtime/entry-runtime/index.js b/packages/rspack-test-tools/tests/configCases/runtime/entry-runtime/index.js similarity index 100% rename from packages/rspack/tests/configCases/runtime/entry-runtime/index.js rename to packages/rspack-test-tools/tests/configCases/runtime/entry-runtime/index.js diff --git a/packages/rspack/tests/configCases/runtime/entry-runtime/test.config.js b/packages/rspack-test-tools/tests/configCases/runtime/entry-runtime/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/runtime/entry-runtime/test.config.js rename to packages/rspack-test-tools/tests/configCases/runtime/entry-runtime/test.config.js diff --git a/packages/rspack/tests/configCases/runtime/entry-runtime/webpack.config.js b/packages/rspack-test-tools/tests/configCases/runtime/entry-runtime/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/runtime/entry-runtime/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/runtime/entry-runtime/webpack.config.js diff --git a/packages/rspack/tests/configCases/runtime/issue-4019/dynamic.js b/packages/rspack-test-tools/tests/configCases/runtime/issue-4019/dynamic.js similarity index 100% rename from packages/rspack/tests/configCases/runtime/issue-4019/dynamic.js rename to packages/rspack-test-tools/tests/configCases/runtime/issue-4019/dynamic.js diff --git a/packages/rspack/tests/configCases/runtime/issue-4019/index.js b/packages/rspack-test-tools/tests/configCases/runtime/issue-4019/index.js similarity index 100% rename from packages/rspack/tests/configCases/runtime/issue-4019/index.js rename to packages/rspack-test-tools/tests/configCases/runtime/issue-4019/index.js diff --git a/packages/rspack/tests/configCases/runtime/issue-4019/index2.js b/packages/rspack-test-tools/tests/configCases/runtime/issue-4019/index2.js similarity index 100% rename from packages/rspack/tests/configCases/runtime/issue-4019/index2.js rename to packages/rspack-test-tools/tests/configCases/runtime/issue-4019/index2.js diff --git a/packages/rspack/tests/configCases/runtime/issue-4019/shared.js b/packages/rspack-test-tools/tests/configCases/runtime/issue-4019/shared.js similarity index 100% rename from packages/rspack/tests/configCases/runtime/issue-4019/shared.js rename to packages/rspack-test-tools/tests/configCases/runtime/issue-4019/shared.js diff --git a/packages/rspack/tests/configCases/runtime/issue-4019/test.config.js b/packages/rspack-test-tools/tests/configCases/runtime/issue-4019/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/runtime/issue-4019/test.config.js rename to packages/rspack-test-tools/tests/configCases/runtime/issue-4019/test.config.js diff --git a/packages/rspack/tests/configCases/runtime/issue-4019/webpack.config.js b/packages/rspack-test-tools/tests/configCases/runtime/issue-4019/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/runtime/issue-4019/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/runtime/issue-4019/webpack.config.js diff --git a/packages/rspack/tests/configCases/runtime/namespace-cache/index.mjs b/packages/rspack-test-tools/tests/configCases/runtime/namespace-cache/index.mjs similarity index 100% rename from packages/rspack/tests/configCases/runtime/namespace-cache/index.mjs rename to packages/rspack-test-tools/tests/configCases/runtime/namespace-cache/index.mjs diff --git a/packages/rspack/tests/configCases/runtime/namespace-cache/proxy.js b/packages/rspack-test-tools/tests/configCases/runtime/namespace-cache/proxy.js similarity index 100% rename from packages/rspack/tests/configCases/runtime/namespace-cache/proxy.js rename to packages/rspack-test-tools/tests/configCases/runtime/namespace-cache/proxy.js diff --git a/packages/rspack/tests/configCases/runtime/namespace-cache/utils.js b/packages/rspack-test-tools/tests/configCases/runtime/namespace-cache/utils.js similarity index 100% rename from packages/rspack/tests/configCases/runtime/namespace-cache/utils.js rename to packages/rspack-test-tools/tests/configCases/runtime/namespace-cache/utils.js diff --git a/packages/rspack/tests/configCases/runtime/namespace-cache/webpack.config.js b/packages/rspack-test-tools/tests/configCases/runtime/namespace-cache/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/runtime/namespace-cache/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/runtime/namespace-cache/webpack.config.js diff --git a/packages/rspack/tests/configCases/runtime/split-css-chunk-async/common.css b/packages/rspack-test-tools/tests/configCases/runtime/split-css-chunk-async/common.css similarity index 100% rename from packages/rspack/tests/configCases/runtime/split-css-chunk-async/common.css rename to packages/rspack-test-tools/tests/configCases/runtime/split-css-chunk-async/common.css diff --git a/packages/rspack/tests/configCases/runtime/split-css-chunk-async/common.js b/packages/rspack-test-tools/tests/configCases/runtime/split-css-chunk-async/common.js similarity index 100% rename from packages/rspack/tests/configCases/runtime/split-css-chunk-async/common.js rename to packages/rspack-test-tools/tests/configCases/runtime/split-css-chunk-async/common.js diff --git a/packages/rspack/tests/configCases/runtime/split-css-chunk-async/index1.js b/packages/rspack-test-tools/tests/configCases/runtime/split-css-chunk-async/index1.js similarity index 100% rename from packages/rspack/tests/configCases/runtime/split-css-chunk-async/index1.js rename to packages/rspack-test-tools/tests/configCases/runtime/split-css-chunk-async/index1.js diff --git a/packages/rspack/tests/configCases/runtime/split-css-chunk-async/index2.js b/packages/rspack-test-tools/tests/configCases/runtime/split-css-chunk-async/index2.js similarity index 100% rename from packages/rspack/tests/configCases/runtime/split-css-chunk-async/index2.js rename to packages/rspack-test-tools/tests/configCases/runtime/split-css-chunk-async/index2.js diff --git a/packages/rspack/tests/configCases/runtime/split-css-chunk-async/index3.js b/packages/rspack-test-tools/tests/configCases/runtime/split-css-chunk-async/index3.js similarity index 100% rename from packages/rspack/tests/configCases/runtime/split-css-chunk-async/index3.js rename to packages/rspack-test-tools/tests/configCases/runtime/split-css-chunk-async/index3.js diff --git a/packages/rspack/tests/configCases/runtime/split-css-chunk-async/share.css b/packages/rspack-test-tools/tests/configCases/runtime/split-css-chunk-async/share.css similarity index 100% rename from packages/rspack/tests/configCases/runtime/split-css-chunk-async/share.css rename to packages/rspack-test-tools/tests/configCases/runtime/split-css-chunk-async/share.css diff --git a/packages/rspack/tests/configCases/runtime/split-css-chunk-async/share.js b/packages/rspack-test-tools/tests/configCases/runtime/split-css-chunk-async/share.js similarity index 100% rename from packages/rspack/tests/configCases/runtime/split-css-chunk-async/share.js rename to packages/rspack-test-tools/tests/configCases/runtime/split-css-chunk-async/share.js diff --git a/packages/rspack/tests/configCases/runtime/split-css-chunk-async/test.config.js b/packages/rspack-test-tools/tests/configCases/runtime/split-css-chunk-async/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/runtime/split-css-chunk-async/test.config.js rename to packages/rspack-test-tools/tests/configCases/runtime/split-css-chunk-async/test.config.js diff --git a/packages/rspack/tests/configCases/runtime/split-css-chunk-async/webpack.config.js b/packages/rspack-test-tools/tests/configCases/runtime/split-css-chunk-async/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/runtime/split-css-chunk-async/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/runtime/split-css-chunk-async/webpack.config.js diff --git a/packages/rspack/tests/configCases/runtime/split-css-chunk/common.css b/packages/rspack-test-tools/tests/configCases/runtime/split-css-chunk/common.css similarity index 100% rename from packages/rspack/tests/configCases/runtime/split-css-chunk/common.css rename to packages/rspack-test-tools/tests/configCases/runtime/split-css-chunk/common.css diff --git a/packages/rspack/tests/configCases/runtime/split-css-chunk/common.js b/packages/rspack-test-tools/tests/configCases/runtime/split-css-chunk/common.js similarity index 100% rename from packages/rspack/tests/configCases/runtime/split-css-chunk/common.js rename to packages/rspack-test-tools/tests/configCases/runtime/split-css-chunk/common.js diff --git a/packages/rspack/tests/configCases/runtime/split-css-chunk/index1.js b/packages/rspack-test-tools/tests/configCases/runtime/split-css-chunk/index1.js similarity index 100% rename from packages/rspack/tests/configCases/runtime/split-css-chunk/index1.js rename to packages/rspack-test-tools/tests/configCases/runtime/split-css-chunk/index1.js diff --git a/packages/rspack/tests/configCases/runtime/split-css-chunk/index2.js b/packages/rspack-test-tools/tests/configCases/runtime/split-css-chunk/index2.js similarity index 100% rename from packages/rspack/tests/configCases/runtime/split-css-chunk/index2.js rename to packages/rspack-test-tools/tests/configCases/runtime/split-css-chunk/index2.js diff --git a/packages/rspack/tests/configCases/runtime/split-css-chunk/test.config.js b/packages/rspack-test-tools/tests/configCases/runtime/split-css-chunk/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/runtime/split-css-chunk/test.config.js rename to packages/rspack-test-tools/tests/configCases/runtime/split-css-chunk/test.config.js diff --git a/packages/rspack/tests/configCases/runtime/split-css-chunk/webpack.config.js b/packages/rspack-test-tools/tests/configCases/runtime/split-css-chunk/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/runtime/split-css-chunk/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/runtime/split-css-chunk/webpack.config.js diff --git a/packages/rspack/tests/configCases/runtime/split-dynamic-import-common-chunk/a.js b/packages/rspack-test-tools/tests/configCases/runtime/split-dynamic-import-common-chunk/a.js similarity index 100% rename from packages/rspack/tests/configCases/runtime/split-dynamic-import-common-chunk/a.js rename to packages/rspack-test-tools/tests/configCases/runtime/split-dynamic-import-common-chunk/a.js diff --git a/packages/rspack/tests/configCases/runtime/split-dynamic-import-common-chunk/b.js b/packages/rspack-test-tools/tests/configCases/runtime/split-dynamic-import-common-chunk/b.js similarity index 100% rename from packages/rspack/tests/configCases/runtime/split-dynamic-import-common-chunk/b.js rename to packages/rspack-test-tools/tests/configCases/runtime/split-dynamic-import-common-chunk/b.js diff --git a/packages/rspack/tests/configCases/runtime/split-dynamic-import-common-chunk/common.js b/packages/rspack-test-tools/tests/configCases/runtime/split-dynamic-import-common-chunk/common.js similarity index 100% rename from packages/rspack/tests/configCases/runtime/split-dynamic-import-common-chunk/common.js rename to packages/rspack-test-tools/tests/configCases/runtime/split-dynamic-import-common-chunk/common.js diff --git a/packages/rspack/tests/configCases/runtime/split-dynamic-import-common-chunk/index.js b/packages/rspack-test-tools/tests/configCases/runtime/split-dynamic-import-common-chunk/index.js similarity index 100% rename from packages/rspack/tests/configCases/runtime/split-dynamic-import-common-chunk/index.js rename to packages/rspack-test-tools/tests/configCases/runtime/split-dynamic-import-common-chunk/index.js diff --git a/packages/rspack/tests/configCases/runtime/split-dynamic-import-common-chunk/webpack.config.js b/packages/rspack-test-tools/tests/configCases/runtime/split-dynamic-import-common-chunk/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/runtime/split-dynamic-import-common-chunk/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/runtime/split-dynamic-import-common-chunk/webpack.config.js diff --git a/packages/rspack/tests/configCases/sass/additional-data/index.js b/packages/rspack-test-tools/tests/configCases/sass/additional-data/index.js similarity index 100% rename from packages/rspack/tests/configCases/sass/additional-data/index.js rename to packages/rspack-test-tools/tests/configCases/sass/additional-data/index.js diff --git a/packages/rspack/tests/configCases/sass/additional-data/index.scss b/packages/rspack-test-tools/tests/configCases/sass/additional-data/index.scss similarity index 100% rename from packages/rspack/tests/configCases/sass/additional-data/index.scss rename to packages/rspack-test-tools/tests/configCases/sass/additional-data/index.scss diff --git a/packages/rspack/tests/configCases/sass/additional-data/webpack.config.js b/packages/rspack-test-tools/tests/configCases/sass/additional-data/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/sass/additional-data/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/sass/additional-data/webpack.config.js diff --git a/packages/rspack/tests/configCases/sass/basic/index.js b/packages/rspack-test-tools/tests/configCases/sass/basic/index.js similarity index 100% rename from packages/rspack/tests/configCases/sass/basic/index.js rename to packages/rspack-test-tools/tests/configCases/sass/basic/index.js diff --git a/packages/rspack/tests/configCases/sass/basic/index.scss b/packages/rspack-test-tools/tests/configCases/sass/basic/index.scss similarity index 100% rename from packages/rspack/tests/configCases/sass/basic/index.scss rename to packages/rspack-test-tools/tests/configCases/sass/basic/index.scss diff --git a/packages/rspack/tests/configCases/sass/basic/webpack.config.js b/packages/rspack-test-tools/tests/configCases/sass/basic/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/sass/basic/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/sass/basic/webpack.config.js diff --git a/packages/rspack/tests/configCases/sass/import-alias/a/alias.scss b/packages/rspack-test-tools/tests/configCases/sass/import-alias/a/alias.scss similarity index 100% rename from packages/rspack/tests/configCases/sass/import-alias/a/alias.scss rename to packages/rspack-test-tools/tests/configCases/sass/import-alias/a/alias.scss diff --git a/packages/rspack/tests/configCases/sass/import-alias/b/dir-with-underscore-index/_index.scss b/packages/rspack-test-tools/tests/configCases/sass/import-alias/b/dir-with-underscore-index/_index.scss similarity index 100% rename from packages/rspack/tests/configCases/sass/import-alias/b/dir-with-underscore-index/_index.scss rename to packages/rspack-test-tools/tests/configCases/sass/import-alias/b/dir-with-underscore-index/_index.scss diff --git a/packages/rspack/tests/configCases/sass/import-alias/b/directory-6/_index.scss b/packages/rspack-test-tools/tests/configCases/sass/import-alias/b/directory-6/_index.scss similarity index 100% rename from packages/rspack/tests/configCases/sass/import-alias/b/directory-6/_index.scss rename to packages/rspack-test-tools/tests/configCases/sass/import-alias/b/directory-6/_index.scss diff --git a/packages/rspack/tests/configCases/sass/import-alias/index.js b/packages/rspack-test-tools/tests/configCases/sass/import-alias/index.js similarity index 100% rename from packages/rspack/tests/configCases/sass/import-alias/index.js rename to packages/rspack-test-tools/tests/configCases/sass/import-alias/index.js diff --git a/packages/rspack/tests/configCases/sass/import-alias/index.scss b/packages/rspack-test-tools/tests/configCases/sass/import-alias/index.scss similarity index 100% rename from packages/rspack/tests/configCases/sass/import-alias/index.scss rename to packages/rspack-test-tools/tests/configCases/sass/import-alias/index.scss diff --git a/packages/rspack/tests/configCases/sass/import-alias/webpack.config.js b/packages/rspack-test-tools/tests/configCases/sass/import-alias/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/sass/import-alias/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/sass/import-alias/webpack.config.js diff --git a/packages/rspack/tests/configCases/sass/import-from-npm-org-pkg/.gitignore b/packages/rspack-test-tools/tests/configCases/sass/import-from-npm-org-pkg/.gitignore similarity index 100% rename from packages/rspack/tests/configCases/sass/import-from-npm-org-pkg/.gitignore rename to packages/rspack-test-tools/tests/configCases/sass/import-from-npm-org-pkg/.gitignore diff --git a/packages/rspack/tests/configCases/sass/import-from-npm-org-pkg/index.js b/packages/rspack-test-tools/tests/configCases/sass/import-from-npm-org-pkg/index.js similarity index 100% rename from packages/rspack/tests/configCases/sass/import-from-npm-org-pkg/index.js rename to packages/rspack-test-tools/tests/configCases/sass/import-from-npm-org-pkg/index.js diff --git a/packages/rspack/tests/configCases/sass/import-from-npm-org-pkg/index.scss b/packages/rspack-test-tools/tests/configCases/sass/import-from-npm-org-pkg/index.scss similarity index 100% rename from packages/rspack/tests/configCases/sass/import-from-npm-org-pkg/index.scss rename to packages/rspack-test-tools/tests/configCases/sass/import-from-npm-org-pkg/index.scss diff --git a/packages/rspack/tests/configCases/sass/import-from-npm-org-pkg/node_modules/@org/bar/_foo.scss b/packages/rspack-test-tools/tests/configCases/sass/import-from-npm-org-pkg/node_modules/@org/bar/_foo.scss similarity index 100% rename from packages/rspack/tests/configCases/sass/import-from-npm-org-pkg/node_modules/@org/bar/_foo.scss rename to packages/rspack-test-tools/tests/configCases/sass/import-from-npm-org-pkg/node_modules/@org/bar/_foo.scss diff --git a/packages/rspack/tests/configCases/sass/import-from-npm-org-pkg/node_modules/@org/pkg/index.scss b/packages/rspack-test-tools/tests/configCases/sass/import-from-npm-org-pkg/node_modules/@org/pkg/index.scss similarity index 100% rename from packages/rspack/tests/configCases/sass/import-from-npm-org-pkg/node_modules/@org/pkg/index.scss rename to packages/rspack-test-tools/tests/configCases/sass/import-from-npm-org-pkg/node_modules/@org/pkg/index.scss diff --git a/packages/rspack/tests/configCases/sass/import-from-npm-org-pkg/node_modules/@org/pkg/package.json b/packages/rspack-test-tools/tests/configCases/sass/import-from-npm-org-pkg/node_modules/@org/pkg/package.json similarity index 100% rename from packages/rspack/tests/configCases/sass/import-from-npm-org-pkg/node_modules/@org/pkg/package.json rename to packages/rspack-test-tools/tests/configCases/sass/import-from-npm-org-pkg/node_modules/@org/pkg/package.json diff --git a/packages/rspack/tests/configCases/sass/import-from-npm-org-pkg/webpack.config.js b/packages/rspack-test-tools/tests/configCases/sass/import-from-npm-org-pkg/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/sass/import-from-npm-org-pkg/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/sass/import-from-npm-org-pkg/webpack.config.js diff --git a/packages/rspack/tests/configCases/sass/use-alias/a/alias.scss b/packages/rspack-test-tools/tests/configCases/sass/use-alias/a/alias.scss similarity index 100% rename from packages/rspack/tests/configCases/sass/use-alias/a/alias.scss rename to packages/rspack-test-tools/tests/configCases/sass/use-alias/a/alias.scss diff --git a/packages/rspack/tests/configCases/sass/use-alias/b/dir-with-underscore-index/_index.scss b/packages/rspack-test-tools/tests/configCases/sass/use-alias/b/dir-with-underscore-index/_index.scss similarity index 100% rename from packages/rspack/tests/configCases/sass/use-alias/b/dir-with-underscore-index/_index.scss rename to packages/rspack-test-tools/tests/configCases/sass/use-alias/b/dir-with-underscore-index/_index.scss diff --git a/packages/rspack/tests/configCases/sass/use-alias/b/directory-6/_index.scss b/packages/rspack-test-tools/tests/configCases/sass/use-alias/b/directory-6/_index.scss similarity index 100% rename from packages/rspack/tests/configCases/sass/use-alias/b/directory-6/_index.scss rename to packages/rspack-test-tools/tests/configCases/sass/use-alias/b/directory-6/_index.scss diff --git a/packages/rspack/tests/configCases/sass/use-alias/index.js b/packages/rspack-test-tools/tests/configCases/sass/use-alias/index.js similarity index 100% rename from packages/rspack/tests/configCases/sass/use-alias/index.js rename to packages/rspack-test-tools/tests/configCases/sass/use-alias/index.js diff --git a/packages/rspack/tests/configCases/sass/use-alias/index.scss b/packages/rspack-test-tools/tests/configCases/sass/use-alias/index.scss similarity index 100% rename from packages/rspack/tests/configCases/sass/use-alias/index.scss rename to packages/rspack-test-tools/tests/configCases/sass/use-alias/index.scss diff --git a/packages/rspack/tests/configCases/sass/use-alias/webpack.config.js b/packages/rspack-test-tools/tests/configCases/sass/use-alias/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/sass/use-alias/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/sass/use-alias/webpack.config.js diff --git a/packages/rspack/tests/configCases/sass/with-source-map/index.js b/packages/rspack-test-tools/tests/configCases/sass/with-source-map/index.js similarity index 100% rename from packages/rspack/tests/configCases/sass/with-source-map/index.js rename to packages/rspack-test-tools/tests/configCases/sass/with-source-map/index.js diff --git a/packages/rspack/tests/configCases/sass/with-source-map/index.scss b/packages/rspack-test-tools/tests/configCases/sass/with-source-map/index.scss similarity index 100% rename from packages/rspack/tests/configCases/sass/with-source-map/index.scss rename to packages/rspack-test-tools/tests/configCases/sass/with-source-map/index.scss diff --git a/packages/rspack/tests/configCases/sass/with-source-map/webpack.config.js b/packages/rspack-test-tools/tests/configCases/sass/with-source-map/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/sass/with-source-map/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/sass/with-source-map/webpack.config.js diff --git a/packages/rspack/tests/configCases/schemes/data-imports/a.css b/packages/rspack-test-tools/tests/configCases/schemes/data-imports/a.css similarity index 100% rename from packages/rspack/tests/configCases/schemes/data-imports/a.css rename to packages/rspack-test-tools/tests/configCases/schemes/data-imports/a.css diff --git a/packages/rspack/tests/configCases/schemes/data-imports/bad-base64.css b/packages/rspack-test-tools/tests/configCases/schemes/data-imports/bad-base64.css similarity index 100% rename from packages/rspack/tests/configCases/schemes/data-imports/bad-base64.css rename to packages/rspack-test-tools/tests/configCases/schemes/data-imports/bad-base64.css diff --git a/packages/rspack/tests/configCases/schemes/data-imports/index.css b/packages/rspack-test-tools/tests/configCases/schemes/data-imports/index.css similarity index 100% rename from packages/rspack/tests/configCases/schemes/data-imports/index.css rename to packages/rspack-test-tools/tests/configCases/schemes/data-imports/index.css diff --git a/packages/rspack/tests/configCases/schemes/data-imports/index.js b/packages/rspack-test-tools/tests/configCases/schemes/data-imports/index.js similarity index 100% rename from packages/rspack/tests/configCases/schemes/data-imports/index.js rename to packages/rspack-test-tools/tests/configCases/schemes/data-imports/index.js diff --git a/packages/rspack/tests/configCases/schemes/data-imports/webpack.config.js b/packages/rspack-test-tools/tests/configCases/schemes/data-imports/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/schemes/data-imports/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/schemes/data-imports/webpack.config.js diff --git a/packages/rspack/tests/configCases/schemes/file-url/.gitignore b/packages/rspack-test-tools/tests/configCases/schemes/file-url/.gitignore similarity index 100% rename from packages/rspack/tests/configCases/schemes/file-url/.gitignore rename to packages/rspack-test-tools/tests/configCases/schemes/file-url/.gitignore diff --git a/packages/rspack/tests/configCases/schemes/file-url/index.js b/packages/rspack-test-tools/tests/configCases/schemes/file-url/index.js similarity index 100% rename from packages/rspack/tests/configCases/schemes/file-url/index.js rename to packages/rspack-test-tools/tests/configCases/schemes/file-url/index.js diff --git a/packages/rspack/tests/configCases/schemes/file-url/src with spaces/module.js b/packages/rspack-test-tools/tests/configCases/schemes/file-url/src with spaces/module.js similarity index 100% rename from packages/rspack/tests/configCases/schemes/file-url/src with spaces/module.js rename to packages/rspack-test-tools/tests/configCases/schemes/file-url/src with spaces/module.js diff --git a/packages/rspack/tests/configCases/schemes/file-url/webpack.config.js b/packages/rspack-test-tools/tests/configCases/schemes/file-url/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/schemes/file-url/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/schemes/file-url/webpack.config.js diff --git a/packages/rspack/tests/configCases/schemes/resource-within-scheme/index.js b/packages/rspack-test-tools/tests/configCases/schemes/resource-within-scheme/index.js similarity index 100% rename from packages/rspack/tests/configCases/schemes/resource-within-scheme/index.js rename to packages/rspack-test-tools/tests/configCases/schemes/resource-within-scheme/index.js diff --git a/packages/rspack/tests/configCases/schemes/resource-within-scheme/node_modules/polyfill/index.js b/packages/rspack-test-tools/tests/configCases/schemes/resource-within-scheme/node_modules/polyfill/index.js similarity index 100% rename from packages/rspack/tests/configCases/schemes/resource-within-scheme/node_modules/polyfill/index.js rename to packages/rspack-test-tools/tests/configCases/schemes/resource-within-scheme/node_modules/polyfill/index.js diff --git a/packages/rspack/tests/configCases/schemes/resource-within-scheme/node_modules/polyfill/package.json b/packages/rspack-test-tools/tests/configCases/schemes/resource-within-scheme/node_modules/polyfill/package.json similarity index 100% rename from packages/rspack/tests/configCases/schemes/resource-within-scheme/node_modules/polyfill/package.json rename to packages/rspack-test-tools/tests/configCases/schemes/resource-within-scheme/node_modules/polyfill/package.json diff --git a/packages/rspack/tests/configCases/schemes/resource-within-scheme/webpack.config.js b/packages/rspack-test-tools/tests/configCases/schemes/resource-within-scheme/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/schemes/resource-within-scheme/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/schemes/resource-within-scheme/webpack.config.js diff --git a/packages/rspack/tests/configCases/source-map/auxiliary-files/index.js b/packages/rspack-test-tools/tests/configCases/source-map/auxiliary-files/index.js similarity index 100% rename from packages/rspack/tests/configCases/source-map/auxiliary-files/index.js rename to packages/rspack-test-tools/tests/configCases/source-map/auxiliary-files/index.js diff --git a/packages/rspack/tests/configCases/source-map/auxiliary-files/webpack.config.js b/packages/rspack-test-tools/tests/configCases/source-map/auxiliary-files/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/source-map/auxiliary-files/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/source-map/auxiliary-files/webpack.config.js diff --git a/packages/rspack/tests/configCases/source-map/basic/index.js b/packages/rspack-test-tools/tests/configCases/source-map/basic/index.js similarity index 100% rename from packages/rspack/tests/configCases/source-map/basic/index.js rename to packages/rspack-test-tools/tests/configCases/source-map/basic/index.js diff --git a/packages/rspack/tests/configCases/source-map/basic/webpack.config.js b/packages/rspack-test-tools/tests/configCases/source-map/basic/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/source-map/basic/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/source-map/basic/webpack.config.js diff --git a/packages/rspack/tests/configCases/source-map/cheap-module/index.js b/packages/rspack-test-tools/tests/configCases/source-map/cheap-module/index.js similarity index 100% rename from packages/rspack/tests/configCases/source-map/cheap-module/index.js rename to packages/rspack-test-tools/tests/configCases/source-map/cheap-module/index.js diff --git a/packages/rspack/tests/configCases/source-map/cheap-module/index.scss b/packages/rspack-test-tools/tests/configCases/source-map/cheap-module/index.scss similarity index 100% rename from packages/rspack/tests/configCases/source-map/cheap-module/index.scss rename to packages/rspack-test-tools/tests/configCases/source-map/cheap-module/index.scss diff --git a/packages/rspack/tests/configCases/source-map/cheap-module/webpack.config.js b/packages/rspack-test-tools/tests/configCases/source-map/cheap-module/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/source-map/cheap-module/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/source-map/cheap-module/webpack.config.js diff --git a/packages/rspack/tests/configCases/source-map/cheap/index.js b/packages/rspack-test-tools/tests/configCases/source-map/cheap/index.js similarity index 100% rename from packages/rspack/tests/configCases/source-map/cheap/index.js rename to packages/rspack-test-tools/tests/configCases/source-map/cheap/index.js diff --git a/packages/rspack/tests/configCases/source-map/cheap/index.scss b/packages/rspack-test-tools/tests/configCases/source-map/cheap/index.scss similarity index 100% rename from packages/rspack/tests/configCases/source-map/cheap/index.scss rename to packages/rspack-test-tools/tests/configCases/source-map/cheap/index.scss diff --git a/packages/rspack/tests/configCases/source-map/cheap/webpack.config.js b/packages/rspack-test-tools/tests/configCases/source-map/cheap/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/source-map/cheap/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/source-map/cheap/webpack.config.js diff --git a/packages/rspack/tests/configCases/source-map/eval-only/index.js b/packages/rspack-test-tools/tests/configCases/source-map/eval-only/index.js similarity index 100% rename from packages/rspack/tests/configCases/source-map/eval-only/index.js rename to packages/rspack-test-tools/tests/configCases/source-map/eval-only/index.js diff --git a/packages/rspack/tests/configCases/source-map/eval-only/index.scss b/packages/rspack-test-tools/tests/configCases/source-map/eval-only/index.scss similarity index 100% rename from packages/rspack/tests/configCases/source-map/eval-only/index.scss rename to packages/rspack-test-tools/tests/configCases/source-map/eval-only/index.scss diff --git a/packages/rspack/tests/configCases/source-map/eval-only/test.config.js b/packages/rspack-test-tools/tests/configCases/source-map/eval-only/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/source-map/eval-only/test.config.js rename to packages/rspack-test-tools/tests/configCases/source-map/eval-only/test.config.js diff --git a/packages/rspack/tests/configCases/source-map/eval-only/test.js b/packages/rspack-test-tools/tests/configCases/source-map/eval-only/test.js similarity index 100% rename from packages/rspack/tests/configCases/source-map/eval-only/test.js rename to packages/rspack-test-tools/tests/configCases/source-map/eval-only/test.js diff --git a/packages/rspack/tests/configCases/source-map/eval-only/webpack.config.js b/packages/rspack-test-tools/tests/configCases/source-map/eval-only/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/source-map/eval-only/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/source-map/eval-only/webpack.config.js diff --git a/packages/rspack/tests/configCases/source-map/eval-source-map/index.js b/packages/rspack-test-tools/tests/configCases/source-map/eval-source-map/index.js similarity index 100% rename from packages/rspack/tests/configCases/source-map/eval-source-map/index.js rename to packages/rspack-test-tools/tests/configCases/source-map/eval-source-map/index.js diff --git a/packages/rspack/tests/configCases/source-map/eval-source-map/webpack.config.js b/packages/rspack-test-tools/tests/configCases/source-map/eval-source-map/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/source-map/eval-source-map/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/source-map/eval-source-map/webpack.config.js diff --git a/packages/rspack/tests/configCases/source-map/hidden/index.js b/packages/rspack-test-tools/tests/configCases/source-map/hidden/index.js similarity index 100% rename from packages/rspack/tests/configCases/source-map/hidden/index.js rename to packages/rspack-test-tools/tests/configCases/source-map/hidden/index.js diff --git a/packages/rspack/tests/configCases/source-map/hidden/webpack.config.js b/packages/rspack-test-tools/tests/configCases/source-map/hidden/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/source-map/hidden/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/source-map/hidden/webpack.config.js diff --git a/packages/rspack/tests/configCases/source-map/inline/index.js b/packages/rspack-test-tools/tests/configCases/source-map/inline/index.js similarity index 100% rename from packages/rspack/tests/configCases/source-map/inline/index.js rename to packages/rspack-test-tools/tests/configCases/source-map/inline/index.js diff --git a/packages/rspack/tests/configCases/source-map/inline/webpack.config.js b/packages/rspack-test-tools/tests/configCases/source-map/inline/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/source-map/inline/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/source-map/inline/webpack.config.js diff --git a/packages/rspack/tests/configCases/source-map/relative-source-map-path/index.js b/packages/rspack-test-tools/tests/configCases/source-map/relative-source-map-path/index.js similarity index 100% rename from packages/rspack/tests/configCases/source-map/relative-source-map-path/index.js rename to packages/rspack-test-tools/tests/configCases/source-map/relative-source-map-path/index.js diff --git a/packages/rspack/tests/configCases/source-map/relative-source-map-path/test.js b/packages/rspack-test-tools/tests/configCases/source-map/relative-source-map-path/test.js similarity index 100% rename from packages/rspack/tests/configCases/source-map/relative-source-map-path/test.js rename to packages/rspack-test-tools/tests/configCases/source-map/relative-source-map-path/test.js diff --git a/packages/rspack/tests/configCases/source-map/relative-source-map-path/webpack.config.js b/packages/rspack-test-tools/tests/configCases/source-map/relative-source-map-path/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/source-map/relative-source-map-path/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/source-map/relative-source-map-path/webpack.config.js diff --git a/packages/rspack/tests/configCases/source-map/relative-source-maps-by-loader/index.js b/packages/rspack-test-tools/tests/configCases/source-map/relative-source-maps-by-loader/index.js similarity index 100% rename from packages/rspack/tests/configCases/source-map/relative-source-maps-by-loader/index.js rename to packages/rspack-test-tools/tests/configCases/source-map/relative-source-maps-by-loader/index.js diff --git a/packages/rspack/tests/configCases/source-map/relative-source-maps-by-loader/loader-no-source-root.js b/packages/rspack-test-tools/tests/configCases/source-map/relative-source-maps-by-loader/loader-no-source-root.js similarity index 100% rename from packages/rspack/tests/configCases/source-map/relative-source-maps-by-loader/loader-no-source-root.js rename to packages/rspack-test-tools/tests/configCases/source-map/relative-source-maps-by-loader/loader-no-source-root.js diff --git a/packages/rspack/tests/configCases/source-map/relative-source-maps-by-loader/loader-pre-relative.js b/packages/rspack-test-tools/tests/configCases/source-map/relative-source-maps-by-loader/loader-pre-relative.js similarity index 100% rename from packages/rspack/tests/configCases/source-map/relative-source-maps-by-loader/loader-pre-relative.js rename to packages/rspack-test-tools/tests/configCases/source-map/relative-source-maps-by-loader/loader-pre-relative.js diff --git a/packages/rspack/tests/configCases/source-map/relative-source-maps-by-loader/loader-source-root-2-slash.js b/packages/rspack-test-tools/tests/configCases/source-map/relative-source-maps-by-loader/loader-source-root-2-slash.js similarity index 100% rename from packages/rspack/tests/configCases/source-map/relative-source-maps-by-loader/loader-source-root-2-slash.js rename to packages/rspack-test-tools/tests/configCases/source-map/relative-source-maps-by-loader/loader-source-root-2-slash.js diff --git a/packages/rspack/tests/configCases/source-map/relative-source-maps-by-loader/loader-source-root-slash.js b/packages/rspack-test-tools/tests/configCases/source-map/relative-source-maps-by-loader/loader-source-root-slash.js similarity index 100% rename from packages/rspack/tests/configCases/source-map/relative-source-maps-by-loader/loader-source-root-slash.js rename to packages/rspack-test-tools/tests/configCases/source-map/relative-source-maps-by-loader/loader-source-root-slash.js diff --git a/packages/rspack/tests/configCases/source-map/relative-source-maps-by-loader/loader-source-root-source-slash.js b/packages/rspack-test-tools/tests/configCases/source-map/relative-source-maps-by-loader/loader-source-root-source-slash.js similarity index 100% rename from packages/rspack/tests/configCases/source-map/relative-source-maps-by-loader/loader-source-root-source-slash.js rename to packages/rspack-test-tools/tests/configCases/source-map/relative-source-maps-by-loader/loader-source-root-source-slash.js diff --git a/packages/rspack/tests/configCases/source-map/relative-source-maps-by-loader/loader-source-root.js b/packages/rspack-test-tools/tests/configCases/source-map/relative-source-maps-by-loader/loader-source-root.js similarity index 100% rename from packages/rspack/tests/configCases/source-map/relative-source-maps-by-loader/loader-source-root.js rename to packages/rspack-test-tools/tests/configCases/source-map/relative-source-maps-by-loader/loader-source-root.js diff --git a/packages/rspack/tests/configCases/source-map/relative-source-maps-by-loader/webpack.config.js b/packages/rspack-test-tools/tests/configCases/source-map/relative-source-maps-by-loader/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/source-map/relative-source-maps-by-loader/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/source-map/relative-source-maps-by-loader/webpack.config.js diff --git a/packages/rspack/tests/configCases/source-map/resource-path/index.js b/packages/rspack-test-tools/tests/configCases/source-map/resource-path/index.js similarity index 100% rename from packages/rspack/tests/configCases/source-map/resource-path/index.js rename to packages/rspack-test-tools/tests/configCases/source-map/resource-path/index.js diff --git a/packages/rspack/tests/configCases/source-map/resource-path/test.js b/packages/rspack-test-tools/tests/configCases/source-map/resource-path/test.js similarity index 100% rename from packages/rspack/tests/configCases/source-map/resource-path/test.js rename to packages/rspack-test-tools/tests/configCases/source-map/resource-path/test.js diff --git a/packages/rspack/tests/configCases/source-map/resource-path/webpack.config.js b/packages/rspack-test-tools/tests/configCases/source-map/resource-path/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/source-map/resource-path/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/source-map/resource-path/webpack.config.js diff --git a/packages/rspack/tests/configCases/source-map/source-map-loader/a.js b/packages/rspack-test-tools/tests/configCases/source-map/source-map-loader/a.js similarity index 100% rename from packages/rspack/tests/configCases/source-map/source-map-loader/a.js rename to packages/rspack-test-tools/tests/configCases/source-map/source-map-loader/a.js diff --git a/packages/rspack/tests/configCases/source-map/source-map-loader/a.js.map b/packages/rspack-test-tools/tests/configCases/source-map/source-map-loader/a.js.map similarity index 100% rename from packages/rspack/tests/configCases/source-map/source-map-loader/a.js.map rename to packages/rspack-test-tools/tests/configCases/source-map/source-map-loader/a.js.map diff --git a/packages/rspack/tests/configCases/source-map/source-map-loader/index.js b/packages/rspack-test-tools/tests/configCases/source-map/source-map-loader/index.js similarity index 100% rename from packages/rspack/tests/configCases/source-map/source-map-loader/index.js rename to packages/rspack-test-tools/tests/configCases/source-map/source-map-loader/index.js diff --git a/packages/rspack/tests/configCases/source-map/source-map-loader/webpack.config.js b/packages/rspack-test-tools/tests/configCases/source-map/source-map-loader/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/source-map/source-map-loader/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/source-map/source-map-loader/webpack.config.js diff --git a/packages/rspack/tests/configCases/source-map/source-map/App.jsx b/packages/rspack-test-tools/tests/configCases/source-map/source-map/App.jsx similarity index 100% rename from packages/rspack/tests/configCases/source-map/source-map/App.jsx rename to packages/rspack-test-tools/tests/configCases/source-map/source-map/App.jsx diff --git a/packages/rspack/tests/configCases/source-map/source-map/index.js b/packages/rspack-test-tools/tests/configCases/source-map/source-map/index.js similarity index 100% rename from packages/rspack/tests/configCases/source-map/source-map/index.js rename to packages/rspack-test-tools/tests/configCases/source-map/source-map/index.js diff --git a/packages/rspack/tests/configCases/source-map/source-map/webpack.config.js b/packages/rspack-test-tools/tests/configCases/source-map/source-map/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/source-map/source-map/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/source-map/source-map/webpack.config.js diff --git a/packages/rspack/tests/configCases/source-map/verify-bundle-css-minify/a.css b/packages/rspack-test-tools/tests/configCases/source-map/verify-bundle-css-minify/a.css similarity index 100% rename from packages/rspack/tests/configCases/source-map/verify-bundle-css-minify/a.css rename to packages/rspack-test-tools/tests/configCases/source-map/verify-bundle-css-minify/a.css diff --git a/packages/rspack/tests/configCases/source-map/verify-bundle-css-minify/b-dir/b.css b/packages/rspack-test-tools/tests/configCases/source-map/verify-bundle-css-minify/b-dir/b.css similarity index 100% rename from packages/rspack/tests/configCases/source-map/verify-bundle-css-minify/b-dir/b.css rename to packages/rspack-test-tools/tests/configCases/source-map/verify-bundle-css-minify/b-dir/b.css diff --git a/packages/rspack/tests/configCases/source-map/verify-bundle-css-minify/b-dir/c-dir/c.css b/packages/rspack-test-tools/tests/configCases/source-map/verify-bundle-css-minify/b-dir/c-dir/c.css similarity index 100% rename from packages/rspack/tests/configCases/source-map/verify-bundle-css-minify/b-dir/c-dir/c.css rename to packages/rspack-test-tools/tests/configCases/source-map/verify-bundle-css-minify/b-dir/c-dir/c.css diff --git a/packages/rspack/tests/configCases/source-map/verify-bundle-css-minify/entry.css b/packages/rspack-test-tools/tests/configCases/source-map/verify-bundle-css-minify/entry.css similarity index 100% rename from packages/rspack/tests/configCases/source-map/verify-bundle-css-minify/entry.css rename to packages/rspack-test-tools/tests/configCases/source-map/verify-bundle-css-minify/entry.css diff --git a/packages/rspack/tests/configCases/source-map/verify-bundle-css-minify/index.js b/packages/rspack-test-tools/tests/configCases/source-map/verify-bundle-css-minify/index.js similarity index 91% rename from packages/rspack/tests/configCases/source-map/verify-bundle-css-minify/index.js rename to packages/rspack-test-tools/tests/configCases/source-map/verify-bundle-css-minify/index.js index c5bde5313ca..2e9e1e3b6f1 100644 --- a/packages/rspack/tests/configCases/source-map/verify-bundle-css-minify/index.js +++ b/packages/rspack-test-tools/tests/configCases/source-map/verify-bundle-css-minify/index.js @@ -1,6 +1,6 @@ const fs = require("fs"); const path = require("path"); -const checkMap = require("../../../lib/util/checkSourceMap").default; +const checkMap = require("../../../../dist/helper/util/checkSourceMap").default; require("./entry.css"); diff --git a/packages/rspack/tests/configCases/source-map/verify-bundle-css-minify/webpack.config.js b/packages/rspack-test-tools/tests/configCases/source-map/verify-bundle-css-minify/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/source-map/verify-bundle-css-minify/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/source-map/verify-bundle-css-minify/webpack.config.js diff --git a/packages/rspack/tests/configCases/source-map/verify-bundle-css/a.css b/packages/rspack-test-tools/tests/configCases/source-map/verify-bundle-css/a.css similarity index 100% rename from packages/rspack/tests/configCases/source-map/verify-bundle-css/a.css rename to packages/rspack-test-tools/tests/configCases/source-map/verify-bundle-css/a.css diff --git a/packages/rspack/tests/configCases/source-map/verify-bundle-css/b-dir/b.css b/packages/rspack-test-tools/tests/configCases/source-map/verify-bundle-css/b-dir/b.css similarity index 100% rename from packages/rspack/tests/configCases/source-map/verify-bundle-css/b-dir/b.css rename to packages/rspack-test-tools/tests/configCases/source-map/verify-bundle-css/b-dir/b.css diff --git a/packages/rspack/tests/configCases/source-map/verify-bundle-css/b-dir/c-dir/c.css b/packages/rspack-test-tools/tests/configCases/source-map/verify-bundle-css/b-dir/c-dir/c.css similarity index 100% rename from packages/rspack/tests/configCases/source-map/verify-bundle-css/b-dir/c-dir/c.css rename to packages/rspack-test-tools/tests/configCases/source-map/verify-bundle-css/b-dir/c-dir/c.css diff --git a/packages/rspack/tests/configCases/source-map/verify-bundle-css/entry.css b/packages/rspack-test-tools/tests/configCases/source-map/verify-bundle-css/entry.css similarity index 100% rename from packages/rspack/tests/configCases/source-map/verify-bundle-css/entry.css rename to packages/rspack-test-tools/tests/configCases/source-map/verify-bundle-css/entry.css diff --git a/packages/rspack/tests/configCases/source-map/verify-bundle-css/index.js b/packages/rspack-test-tools/tests/configCases/source-map/verify-bundle-css/index.js similarity index 93% rename from packages/rspack/tests/configCases/source-map/verify-bundle-css/index.js rename to packages/rspack-test-tools/tests/configCases/source-map/verify-bundle-css/index.js index 0770c6d4dff..7d34101290d 100644 --- a/packages/rspack/tests/configCases/source-map/verify-bundle-css/index.js +++ b/packages/rspack-test-tools/tests/configCases/source-map/verify-bundle-css/index.js @@ -1,6 +1,6 @@ const fs = require("fs"); const path = require("path"); -const checkMap = require("../../../lib/util/checkSourceMap").default; +const checkMap = require("../../../../dist/helper/util/checkSourceMap").default; require("./entry.css"); diff --git a/packages/rspack/tests/configCases/source-map/verify-bundle-css/webpack.config.js b/packages/rspack-test-tools/tests/configCases/source-map/verify-bundle-css/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/source-map/verify-bundle-css/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/source-map/verify-bundle-css/webpack.config.js diff --git a/packages/rspack/tests/configCases/source-map/verify-css-js-mix/a.css b/packages/rspack-test-tools/tests/configCases/source-map/verify-css-js-mix/a.css similarity index 100% rename from packages/rspack/tests/configCases/source-map/verify-css-js-mix/a.css rename to packages/rspack-test-tools/tests/configCases/source-map/verify-css-js-mix/a.css diff --git a/packages/rspack/tests/configCases/source-map/verify-css-js-mix/a.js b/packages/rspack-test-tools/tests/configCases/source-map/verify-css-js-mix/a.js similarity index 100% rename from packages/rspack/tests/configCases/source-map/verify-css-js-mix/a.js rename to packages/rspack-test-tools/tests/configCases/source-map/verify-css-js-mix/a.js diff --git a/packages/rspack/tests/configCases/source-map/verify-css-js-mix/index.js b/packages/rspack-test-tools/tests/configCases/source-map/verify-css-js-mix/index.js similarity index 90% rename from packages/rspack/tests/configCases/source-map/verify-css-js-mix/index.js rename to packages/rspack-test-tools/tests/configCases/source-map/verify-css-js-mix/index.js index 56a1399d512..fa0cd8c5a73 100644 --- a/packages/rspack/tests/configCases/source-map/verify-css-js-mix/index.js +++ b/packages/rspack-test-tools/tests/configCases/source-map/verify-css-js-mix/index.js @@ -1,4 +1,4 @@ -const checkMap = require("../../../lib/util/checkSourceMap").default; +const checkMap = require("../../../../dist/helper/util/checkSourceMap").default; const fs = require("fs"); const path = require("path"); @@ -12,9 +12,9 @@ it("verify importing css js source map", async () => { const source = fs.readFileSync(__filename + ".map", "utf-8"); const map = JSON.parse(source); expect(map.sources).toEqual([ + "webpack:///../../../../dist/helper/util/checkSourceMap.js", "webpack:///./a.js", "webpack:///./index.js", - "webpack:///../../../lib/util/checkSourceMap.js" ]); expect(map.file).toEqual("bundle0.js"); const out = fs.readFileSync(__filename, "utf-8"); diff --git a/packages/rspack/tests/configCases/source-map/verify-css-js-mix/webpack.config.js b/packages/rspack-test-tools/tests/configCases/source-map/verify-css-js-mix/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/source-map/verify-css-js-mix/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/source-map/verify-css-js-mix/webpack.config.js diff --git a/packages/rspack/tests/configCases/source-map/verify-es6-minify/a.js b/packages/rspack-test-tools/tests/configCases/source-map/verify-es6-minify/a.js similarity index 100% rename from packages/rspack/tests/configCases/source-map/verify-es6-minify/a.js rename to packages/rspack-test-tools/tests/configCases/source-map/verify-es6-minify/a.js diff --git a/packages/rspack/tests/configCases/source-map/verify-es6-minify/b-dir/b.js b/packages/rspack-test-tools/tests/configCases/source-map/verify-es6-minify/b-dir/b.js similarity index 100% rename from packages/rspack/tests/configCases/source-map/verify-es6-minify/b-dir/b.js rename to packages/rspack-test-tools/tests/configCases/source-map/verify-es6-minify/b-dir/b.js diff --git a/packages/rspack/tests/configCases/source-map/verify-es6-minify/b-dir/c-dir/c.js b/packages/rspack-test-tools/tests/configCases/source-map/verify-es6-minify/b-dir/c-dir/c.js similarity index 100% rename from packages/rspack/tests/configCases/source-map/verify-es6-minify/b-dir/c-dir/c.js rename to packages/rspack-test-tools/tests/configCases/source-map/verify-es6-minify/b-dir/c-dir/c.js diff --git a/packages/rspack/tests/configCases/source-map/verify-es6-minify/index.js b/packages/rspack-test-tools/tests/configCases/source-map/verify-es6-minify/index.js similarity index 86% rename from packages/rspack/tests/configCases/source-map/verify-es6-minify/index.js rename to packages/rspack-test-tools/tests/configCases/source-map/verify-es6-minify/index.js index 667ddaea7a5..f7808d43368 100644 --- a/packages/rspack/tests/configCases/source-map/verify-es6-minify/index.js +++ b/packages/rspack-test-tools/tests/configCases/source-map/verify-es6-minify/index.js @@ -1,4 +1,4 @@ -const checkMap = require("../../../lib/util/checkSourceMap").default; +const checkMap = require("../../../../dist/helper/util/checkSourceMap").default; try { require("./a.js"); @@ -11,11 +11,11 @@ it("verify es6 (esmodule) minify bundle source map", async () => { const source = fs.readFileSync(__filename + ".map", "utf-8"); const map = JSON.parse(source); expect(map.sources).toEqual([ + "webpack:///../../../../dist/helper/util/checkSourceMap.js", "webpack:///./a.js", "webpack:///./b-dir/b.js", "webpack:///./b-dir/c-dir/c.js", "webpack:///./index.js", - "webpack:///../../../lib/util/checkSourceMap.js" ]); expect(map.file).toEqual("bundle0.js"); const out = fs.readFileSync(__filename, "utf-8"); diff --git a/packages/rspack/tests/configCases/source-map/verify-es6-minify/webpack.config.js b/packages/rspack-test-tools/tests/configCases/source-map/verify-es6-minify/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/source-map/verify-es6-minify/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/source-map/verify-es6-minify/webpack.config.js diff --git a/packages/rspack/tests/configCases/source-map/verify-es6/a.js b/packages/rspack-test-tools/tests/configCases/source-map/verify-es6/a.js similarity index 100% rename from packages/rspack/tests/configCases/source-map/verify-es6/a.js rename to packages/rspack-test-tools/tests/configCases/source-map/verify-es6/a.js diff --git a/packages/rspack/tests/configCases/source-map/verify-es6/b-dir/b.js b/packages/rspack-test-tools/tests/configCases/source-map/verify-es6/b-dir/b.js similarity index 100% rename from packages/rspack/tests/configCases/source-map/verify-es6/b-dir/b.js rename to packages/rspack-test-tools/tests/configCases/source-map/verify-es6/b-dir/b.js diff --git a/packages/rspack/tests/configCases/source-map/verify-es6/b-dir/c-dir/c.js b/packages/rspack-test-tools/tests/configCases/source-map/verify-es6/b-dir/c-dir/c.js similarity index 100% rename from packages/rspack/tests/configCases/source-map/verify-es6/b-dir/c-dir/c.js rename to packages/rspack-test-tools/tests/configCases/source-map/verify-es6/b-dir/c-dir/c.js diff --git a/packages/rspack/tests/configCases/source-map/verify-es6/index.js b/packages/rspack-test-tools/tests/configCases/source-map/verify-es6/index.js similarity index 87% rename from packages/rspack/tests/configCases/source-map/verify-es6/index.js rename to packages/rspack-test-tools/tests/configCases/source-map/verify-es6/index.js index 61d9c82214f..5f4d98a302e 100644 --- a/packages/rspack/tests/configCases/source-map/verify-es6/index.js +++ b/packages/rspack-test-tools/tests/configCases/source-map/verify-es6/index.js @@ -1,4 +1,4 @@ -const checkMap = require("../../../lib/util/checkSourceMap").default; +const checkMap = require("../../../../dist/helper/util/checkSourceMap").default; try { require("./a.js"); @@ -11,11 +11,11 @@ it("verify es6 (esmodule) bundle source map", async () => { const source = fs.readFileSync(__filename + ".map", "utf-8"); const map = JSON.parse(source); expect(map.sources).toEqual([ + "webpack:///../../../../dist/helper/util/checkSourceMap.js", "webpack:///./a.js", "webpack:///./b-dir/b.js", "webpack:///./b-dir/c-dir/c.js", "webpack:///./index.js", - "webpack:///../../../lib/util/checkSourceMap.js" ]); expect(map.file).toEqual("bundle0.js"); const out = fs.readFileSync(__filename, "utf-8"); diff --git a/packages/rspack/tests/configCases/source-map/verify-es6/webpack.config.js b/packages/rspack-test-tools/tests/configCases/source-map/verify-es6/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/source-map/verify-es6/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/source-map/verify-es6/webpack.config.js diff --git a/packages/rspack/tests/configCases/split-chunks-common/_hot-multi/common.js b/packages/rspack-test-tools/tests/configCases/split-chunks-common/_hot-multi/common.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks-common/_hot-multi/common.js rename to packages/rspack-test-tools/tests/configCases/split-chunks-common/_hot-multi/common.js diff --git a/packages/rspack/tests/configCases/split-chunks-common/_hot-multi/first.js b/packages/rspack-test-tools/tests/configCases/split-chunks-common/_hot-multi/first.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks-common/_hot-multi/first.js rename to packages/rspack-test-tools/tests/configCases/split-chunks-common/_hot-multi/first.js diff --git a/packages/rspack/tests/configCases/split-chunks-common/_hot-multi/second.js b/packages/rspack-test-tools/tests/configCases/split-chunks-common/_hot-multi/second.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks-common/_hot-multi/second.js rename to packages/rspack-test-tools/tests/configCases/split-chunks-common/_hot-multi/second.js diff --git a/packages/rspack/tests/configCases/split-chunks-common/_hot-multi/shared.js b/packages/rspack-test-tools/tests/configCases/split-chunks-common/_hot-multi/shared.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks-common/_hot-multi/shared.js rename to packages/rspack-test-tools/tests/configCases/split-chunks-common/_hot-multi/shared.js diff --git a/packages/rspack/tests/configCases/split-chunks-common/_hot-multi/test.config.js b/packages/rspack-test-tools/tests/configCases/split-chunks-common/_hot-multi/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks-common/_hot-multi/test.config.js rename to packages/rspack-test-tools/tests/configCases/split-chunks-common/_hot-multi/test.config.js diff --git a/packages/rspack/tests/configCases/split-chunks-common/_hot-multi/webpack.config.js b/packages/rspack-test-tools/tests/configCases/split-chunks-common/_hot-multi/webpack.config.js similarity index 89% rename from packages/rspack/tests/configCases/split-chunks-common/_hot-multi/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/split-chunks-common/_hot-multi/webpack.config.js index 3204e5807f6..c577d694a6e 100644 --- a/packages/rspack/tests/configCases/split-chunks-common/_hot-multi/webpack.config.js +++ b/packages/rspack-test-tools/tests/configCases/split-chunks-common/_hot-multi/webpack.config.js @@ -1,5 +1,5 @@ var HotModuleReplacementPlugin = - require("../../../../").HotModuleReplacementPlugin; + require("@rspack/core").HotModuleReplacementPlugin; /** @type {import("@rspack/core").Configuration} */ module.exports = { entry: { diff --git a/packages/rspack/tests/configCases/split-chunks-common/_hot/index.js b/packages/rspack-test-tools/tests/configCases/split-chunks-common/_hot/index.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks-common/_hot/index.js rename to packages/rspack-test-tools/tests/configCases/split-chunks-common/_hot/index.js diff --git a/packages/rspack/tests/configCases/split-chunks-common/_hot/test.config.js b/packages/rspack-test-tools/tests/configCases/split-chunks-common/_hot/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks-common/_hot/test.config.js rename to packages/rspack-test-tools/tests/configCases/split-chunks-common/_hot/test.config.js diff --git a/packages/rspack/tests/configCases/split-chunks-common/_hot/vendor.js b/packages/rspack-test-tools/tests/configCases/split-chunks-common/_hot/vendor.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks-common/_hot/vendor.js rename to packages/rspack-test-tools/tests/configCases/split-chunks-common/_hot/vendor.js diff --git a/packages/rspack/tests/configCases/split-chunks-common/_hot/webpack.config.js b/packages/rspack-test-tools/tests/configCases/split-chunks-common/_hot/webpack.config.js similarity index 88% rename from packages/rspack/tests/configCases/split-chunks-common/_hot/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/split-chunks-common/_hot/webpack.config.js index eb5584d7171..74a10e2c895 100644 --- a/packages/rspack/tests/configCases/split-chunks-common/_hot/webpack.config.js +++ b/packages/rspack-test-tools/tests/configCases/split-chunks-common/_hot/webpack.config.js @@ -1,5 +1,5 @@ var HotModuleReplacementPlugin = - require("../../../../").HotModuleReplacementPlugin; + require("@rspack/core").HotModuleReplacementPlugin; /** @type {import("@rspack/core").Configuration} */ module.exports = { entry: { diff --git a/packages/rspack/tests/configCases/split-chunks-common/_library/a.js b/packages/rspack-test-tools/tests/configCases/split-chunks-common/_library/a.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks-common/_library/a.js rename to packages/rspack-test-tools/tests/configCases/split-chunks-common/_library/a.js diff --git a/packages/rspack/tests/configCases/split-chunks-common/_library/index.js b/packages/rspack-test-tools/tests/configCases/split-chunks-common/_library/index.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks-common/_library/index.js rename to packages/rspack-test-tools/tests/configCases/split-chunks-common/_library/index.js diff --git a/packages/rspack/tests/configCases/split-chunks-common/_library/test.config.js b/packages/rspack-test-tools/tests/configCases/split-chunks-common/_library/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks-common/_library/test.config.js rename to packages/rspack-test-tools/tests/configCases/split-chunks-common/_library/test.config.js diff --git a/packages/rspack/tests/configCases/split-chunks-common/_library/webpack.config.js b/packages/rspack-test-tools/tests/configCases/split-chunks-common/_library/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks-common/_library/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/split-chunks-common/_library/webpack.config.js diff --git a/packages/rspack/tests/configCases/split-chunks-common/default/index.js b/packages/rspack-test-tools/tests/configCases/split-chunks-common/default/index.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks-common/default/index.js rename to packages/rspack-test-tools/tests/configCases/split-chunks-common/default/index.js diff --git a/packages/rspack/tests/configCases/split-chunks-common/default/test.config.js b/packages/rspack-test-tools/tests/configCases/split-chunks-common/default/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks-common/default/test.config.js rename to packages/rspack-test-tools/tests/configCases/split-chunks-common/default/test.config.js diff --git a/packages/rspack/tests/configCases/split-chunks-common/default/webpack.config.js b/packages/rspack-test-tools/tests/configCases/split-chunks-common/default/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks-common/default/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/split-chunks-common/default/webpack.config.js diff --git a/packages/rspack/tests/configCases/split-chunks-common/disable/index.js b/packages/rspack-test-tools/tests/configCases/split-chunks-common/disable/index.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks-common/disable/index.js rename to packages/rspack-test-tools/tests/configCases/split-chunks-common/disable/index.js diff --git a/packages/rspack/tests/configCases/split-chunks-common/disable/test.config.js b/packages/rspack-test-tools/tests/configCases/split-chunks-common/disable/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks-common/disable/test.config.js rename to packages/rspack-test-tools/tests/configCases/split-chunks-common/disable/test.config.js diff --git a/packages/rspack/tests/configCases/split-chunks-common/disable/webpack.config.js b/packages/rspack-test-tools/tests/configCases/split-chunks-common/disable/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks-common/disable/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/split-chunks-common/disable/webpack.config.js diff --git a/packages/rspack/tests/configCases/split-chunks-common/enforce-minsize/async.js b/packages/rspack-test-tools/tests/configCases/split-chunks-common/enforce-minsize/async.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks-common/enforce-minsize/async.js rename to packages/rspack-test-tools/tests/configCases/split-chunks-common/enforce-minsize/async.js diff --git a/packages/rspack/tests/configCases/split-chunks-common/enforce-minsize/foo.js b/packages/rspack-test-tools/tests/configCases/split-chunks-common/enforce-minsize/foo.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks-common/enforce-minsize/foo.js rename to packages/rspack-test-tools/tests/configCases/split-chunks-common/enforce-minsize/foo.js diff --git a/packages/rspack/tests/configCases/split-chunks-common/enforce-minsize/index.js b/packages/rspack-test-tools/tests/configCases/split-chunks-common/enforce-minsize/index.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks-common/enforce-minsize/index.js rename to packages/rspack-test-tools/tests/configCases/split-chunks-common/enforce-minsize/index.js diff --git a/packages/rspack/tests/configCases/split-chunks-common/enforce-minsize/test.config.js b/packages/rspack-test-tools/tests/configCases/split-chunks-common/enforce-minsize/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks-common/enforce-minsize/test.config.js rename to packages/rspack-test-tools/tests/configCases/split-chunks-common/enforce-minsize/test.config.js diff --git a/packages/rspack/tests/configCases/split-chunks-common/enforce-minsize/webpack.config.js b/packages/rspack-test-tools/tests/configCases/split-chunks-common/enforce-minsize/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks-common/enforce-minsize/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/split-chunks-common/enforce-minsize/webpack.config.js diff --git a/packages/rspack/tests/configCases/split-chunks-common/rspack-issue-4376/index.js b/packages/rspack-test-tools/tests/configCases/split-chunks-common/rspack-issue-4376/index.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks-common/rspack-issue-4376/index.js rename to packages/rspack-test-tools/tests/configCases/split-chunks-common/rspack-issue-4376/index.js diff --git a/packages/rspack/tests/configCases/split-chunks-common/rspack-issue-4376/node_modules/a.js b/packages/rspack-test-tools/tests/configCases/split-chunks-common/rspack-issue-4376/node_modules/a.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks-common/rspack-issue-4376/node_modules/a.js rename to packages/rspack-test-tools/tests/configCases/split-chunks-common/rspack-issue-4376/node_modules/a.js diff --git a/packages/rspack/tests/configCases/split-chunks-common/rspack-issue-4376/node_modules/b.js b/packages/rspack-test-tools/tests/configCases/split-chunks-common/rspack-issue-4376/node_modules/b.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks-common/rspack-issue-4376/node_modules/b.js rename to packages/rspack-test-tools/tests/configCases/split-chunks-common/rspack-issue-4376/node_modules/b.js diff --git a/packages/rspack/tests/configCases/split-chunks-common/rspack-issue-4376/node_modules/c.js b/packages/rspack-test-tools/tests/configCases/split-chunks-common/rspack-issue-4376/node_modules/c.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks-common/rspack-issue-4376/node_modules/c.js rename to packages/rspack-test-tools/tests/configCases/split-chunks-common/rspack-issue-4376/node_modules/c.js diff --git a/packages/rspack/tests/configCases/split-chunks-common/rspack-issue-4376/node_modules/d.js b/packages/rspack-test-tools/tests/configCases/split-chunks-common/rspack-issue-4376/node_modules/d.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks-common/rspack-issue-4376/node_modules/d.js rename to packages/rspack-test-tools/tests/configCases/split-chunks-common/rspack-issue-4376/node_modules/d.js diff --git a/packages/rspack/tests/configCases/split-chunks-common/rspack-issue-4376/test.config.js b/packages/rspack-test-tools/tests/configCases/split-chunks-common/rspack-issue-4376/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks-common/rspack-issue-4376/test.config.js rename to packages/rspack-test-tools/tests/configCases/split-chunks-common/rspack-issue-4376/test.config.js diff --git a/packages/rspack/tests/configCases/split-chunks-common/rspack-issue-4376/webpack.config.js b/packages/rspack-test-tools/tests/configCases/split-chunks-common/rspack-issue-4376/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks-common/rspack-issue-4376/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/split-chunks-common/rspack-issue-4376/webpack.config.js diff --git a/packages/rspack/tests/configCases/split-chunks-common/split-chunks-combinations/a.js b/packages/rspack-test-tools/tests/configCases/split-chunks-common/split-chunks-combinations/a.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks-common/split-chunks-combinations/a.js rename to packages/rspack-test-tools/tests/configCases/split-chunks-common/split-chunks-combinations/a.js diff --git a/packages/rspack/tests/configCases/split-chunks-common/split-chunks-combinations/b.js b/packages/rspack-test-tools/tests/configCases/split-chunks-common/split-chunks-combinations/b.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks-common/split-chunks-combinations/b.js rename to packages/rspack-test-tools/tests/configCases/split-chunks-common/split-chunks-combinations/b.js diff --git a/packages/rspack/tests/configCases/split-chunks-common/split-chunks-combinations/c.js b/packages/rspack-test-tools/tests/configCases/split-chunks-common/split-chunks-combinations/c.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks-common/split-chunks-combinations/c.js rename to packages/rspack-test-tools/tests/configCases/split-chunks-common/split-chunks-combinations/c.js diff --git a/packages/rspack/tests/configCases/split-chunks-common/split-chunks-combinations/d.js b/packages/rspack-test-tools/tests/configCases/split-chunks-common/split-chunks-combinations/d.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks-common/split-chunks-combinations/d.js rename to packages/rspack-test-tools/tests/configCases/split-chunks-common/split-chunks-combinations/d.js diff --git a/packages/rspack/tests/configCases/split-chunks-common/split-chunks-combinations/e.js b/packages/rspack-test-tools/tests/configCases/split-chunks-common/split-chunks-combinations/e.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks-common/split-chunks-combinations/e.js rename to packages/rspack-test-tools/tests/configCases/split-chunks-common/split-chunks-combinations/e.js diff --git a/packages/rspack/tests/configCases/split-chunks-common/split-chunks-combinations/f.js b/packages/rspack-test-tools/tests/configCases/split-chunks-common/split-chunks-combinations/f.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks-common/split-chunks-combinations/f.js rename to packages/rspack-test-tools/tests/configCases/split-chunks-common/split-chunks-combinations/f.js diff --git a/packages/rspack/tests/configCases/split-chunks-common/split-chunks-combinations/g.js b/packages/rspack-test-tools/tests/configCases/split-chunks-common/split-chunks-combinations/g.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks-common/split-chunks-combinations/g.js rename to packages/rspack-test-tools/tests/configCases/split-chunks-common/split-chunks-combinations/g.js diff --git a/packages/rspack/tests/configCases/split-chunks-common/split-chunks-combinations/index.js b/packages/rspack-test-tools/tests/configCases/split-chunks-common/split-chunks-combinations/index.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks-common/split-chunks-combinations/index.js rename to packages/rspack-test-tools/tests/configCases/split-chunks-common/split-chunks-combinations/index.js diff --git a/packages/rspack/tests/configCases/split-chunks-common/split-chunks-combinations/webpack.config.js b/packages/rspack-test-tools/tests/configCases/split-chunks-common/split-chunks-combinations/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks-common/split-chunks-combinations/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/split-chunks-common/split-chunks-combinations/webpack.config.js diff --git a/packages/rspack/tests/configCases/split-chunks-common/split-chunks-combinations/x.js b/packages/rspack-test-tools/tests/configCases/split-chunks-common/split-chunks-combinations/x.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks-common/split-chunks-combinations/x.js rename to packages/rspack-test-tools/tests/configCases/split-chunks-common/split-chunks-combinations/x.js diff --git a/packages/rspack/tests/configCases/split-chunks-common/split-chunks-combinations/y.js b/packages/rspack-test-tools/tests/configCases/split-chunks-common/split-chunks-combinations/y.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks-common/split-chunks-combinations/y.js rename to packages/rspack-test-tools/tests/configCases/split-chunks-common/split-chunks-combinations/y.js diff --git a/packages/rspack/tests/configCases/split-chunks/_issue-12307/a-only-module.js b/packages/rspack-test-tools/tests/configCases/split-chunks/_issue-12307/a-only-module.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/_issue-12307/a-only-module.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/_issue-12307/a-only-module.js diff --git a/packages/rspack/tests/configCases/split-chunks/_issue-12307/a.js b/packages/rspack-test-tools/tests/configCases/split-chunks/_issue-12307/a.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/_issue-12307/a.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/_issue-12307/a.js diff --git a/packages/rspack/tests/configCases/split-chunks/_issue-12307/b.js b/packages/rspack-test-tools/tests/configCases/split-chunks/_issue-12307/b.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/_issue-12307/b.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/_issue-12307/b.js diff --git a/packages/rspack/tests/configCases/split-chunks/_issue-12307/index.js b/packages/rspack-test-tools/tests/configCases/split-chunks/_issue-12307/index.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/_issue-12307/index.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/_issue-12307/index.js diff --git a/packages/rspack/tests/configCases/split-chunks/_issue-12307/shared-module.js b/packages/rspack-test-tools/tests/configCases/split-chunks/_issue-12307/shared-module.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/_issue-12307/shared-module.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/_issue-12307/shared-module.js diff --git a/packages/rspack/tests/configCases/split-chunks/_issue-12307/webpack.config.js b/packages/rspack-test-tools/tests/configCases/split-chunks/_issue-12307/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/_issue-12307/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/_issue-12307/webpack.config.js diff --git a/packages/rspack/tests/configCases/split-chunks/_simple/a.js b/packages/rspack-test-tools/tests/configCases/split-chunks/_simple/a.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/_simple/a.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/_simple/a.js diff --git a/packages/rspack/tests/configCases/split-chunks/_simple/index.js b/packages/rspack-test-tools/tests/configCases/split-chunks/_simple/index.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/_simple/index.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/_simple/index.js diff --git a/packages/rspack/tests/configCases/split-chunks/_simple/test.config.js b/packages/rspack-test-tools/tests/configCases/split-chunks/_simple/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/_simple/test.config.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/_simple/test.config.js diff --git a/packages/rspack/tests/configCases/split-chunks/_simple/webpack.config.js b/packages/rspack-test-tools/tests/configCases/split-chunks/_simple/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/_simple/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/_simple/webpack.config.js diff --git a/packages/rspack/tests/configCases/split-chunks/cache-group-name-function-with-error/errors.js b/packages/rspack-test-tools/tests/configCases/split-chunks/cache-group-name-function-with-error/errors.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/cache-group-name-function-with-error/errors.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/cache-group-name-function-with-error/errors.js diff --git a/packages/rspack/tests/configCases/split-chunks/cache-group-name-function-with-error/index.js b/packages/rspack-test-tools/tests/configCases/split-chunks/cache-group-name-function-with-error/index.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/cache-group-name-function-with-error/index.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/cache-group-name-function-with-error/index.js diff --git a/packages/rspack/tests/configCases/split-chunks/cache-group-name-function-with-error/webpack.config.js b/packages/rspack-test-tools/tests/configCases/split-chunks/cache-group-name-function-with-error/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/cache-group-name-function-with-error/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/cache-group-name-function-with-error/webpack.config.js diff --git a/packages/rspack/tests/configCases/split-chunks/chunk-filename-delimiter-overall/a.js b/packages/rspack-test-tools/tests/configCases/split-chunks/chunk-filename-delimiter-overall/a.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/chunk-filename-delimiter-overall/a.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/chunk-filename-delimiter-overall/a.js diff --git a/packages/rspack/tests/configCases/split-chunks/chunk-filename-delimiter-overall/b.js b/packages/rspack-test-tools/tests/configCases/split-chunks/chunk-filename-delimiter-overall/b.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/chunk-filename-delimiter-overall/b.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/chunk-filename-delimiter-overall/b.js diff --git a/packages/rspack/tests/configCases/split-chunks/chunk-filename-delimiter-overall/c.js b/packages/rspack-test-tools/tests/configCases/split-chunks/chunk-filename-delimiter-overall/c.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/chunk-filename-delimiter-overall/c.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/chunk-filename-delimiter-overall/c.js diff --git a/packages/rspack/tests/configCases/split-chunks/chunk-filename-delimiter-overall/commons.js b/packages/rspack-test-tools/tests/configCases/split-chunks/chunk-filename-delimiter-overall/commons.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/chunk-filename-delimiter-overall/commons.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/chunk-filename-delimiter-overall/commons.js diff --git a/packages/rspack/tests/configCases/split-chunks/chunk-filename-delimiter-overall/index.js b/packages/rspack-test-tools/tests/configCases/split-chunks/chunk-filename-delimiter-overall/index.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/chunk-filename-delimiter-overall/index.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/chunk-filename-delimiter-overall/index.js diff --git a/packages/rspack/tests/configCases/split-chunks/chunk-filename-delimiter-overall/test.config.js b/packages/rspack-test-tools/tests/configCases/split-chunks/chunk-filename-delimiter-overall/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/chunk-filename-delimiter-overall/test.config.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/chunk-filename-delimiter-overall/test.config.js diff --git a/packages/rspack/tests/configCases/split-chunks/chunk-filename-delimiter-overall/webpack.config.js b/packages/rspack-test-tools/tests/configCases/split-chunks/chunk-filename-delimiter-overall/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/chunk-filename-delimiter-overall/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/chunk-filename-delimiter-overall/webpack.config.js diff --git a/packages/rspack/tests/configCases/split-chunks/chunks-function/index.js b/packages/rspack-test-tools/tests/configCases/split-chunks/chunks-function/index.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/chunks-function/index.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/chunks-function/index.js diff --git a/packages/rspack/tests/configCases/split-chunks/chunks-function/lib1.js b/packages/rspack-test-tools/tests/configCases/split-chunks/chunks-function/lib1.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/chunks-function/lib1.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/chunks-function/lib1.js diff --git a/packages/rspack/tests/configCases/split-chunks/chunks-function/lib2.js b/packages/rspack-test-tools/tests/configCases/split-chunks/chunks-function/lib2.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/chunks-function/lib2.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/chunks-function/lib2.js diff --git a/packages/rspack/tests/configCases/split-chunks/chunks-function/shared.js b/packages/rspack-test-tools/tests/configCases/split-chunks/chunks-function/shared.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/chunks-function/shared.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/chunks-function/shared.js diff --git a/packages/rspack/tests/configCases/split-chunks/chunks-function/test.config.js b/packages/rspack-test-tools/tests/configCases/split-chunks/chunks-function/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/chunks-function/test.config.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/chunks-function/test.config.js diff --git a/packages/rspack/tests/configCases/split-chunks/chunks-function/webpack.config.js b/packages/rspack-test-tools/tests/configCases/split-chunks/chunks-function/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/chunks-function/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/chunks-function/webpack.config.js diff --git a/packages/rspack/tests/configCases/split-chunks/css-simple/foo.css b/packages/rspack-test-tools/tests/configCases/split-chunks/css-simple/foo.css similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/css-simple/foo.css rename to packages/rspack-test-tools/tests/configCases/split-chunks/css-simple/foo.css diff --git a/packages/rspack/tests/configCases/split-chunks/css-simple/foo.js b/packages/rspack-test-tools/tests/configCases/split-chunks/css-simple/foo.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/css-simple/foo.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/css-simple/foo.js diff --git a/packages/rspack/tests/configCases/split-chunks/css-simple/index.css b/packages/rspack-test-tools/tests/configCases/split-chunks/css-simple/index.css similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/css-simple/index.css rename to packages/rspack-test-tools/tests/configCases/split-chunks/css-simple/index.css diff --git a/packages/rspack/tests/configCases/split-chunks/css-simple/index.js b/packages/rspack-test-tools/tests/configCases/split-chunks/css-simple/index.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/css-simple/index.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/css-simple/index.js diff --git a/packages/rspack/tests/configCases/split-chunks/css-simple/test.config.js b/packages/rspack-test-tools/tests/configCases/split-chunks/css-simple/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/css-simple/test.config.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/css-simple/test.config.js diff --git a/packages/rspack/tests/configCases/split-chunks/css-simple/webpack.config.js b/packages/rspack-test-tools/tests/configCases/split-chunks/css-simple/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/css-simple/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/css-simple/webpack.config.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/a.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/a.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/a.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/a.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/b.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/b.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/b.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/b.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/common/0.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/common/0.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/common/0.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/common/0.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/common/1.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/common/1.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/common/1.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/common/1.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/other/0.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/other/0.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/other/0.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/other/0.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/other/1.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/other/1.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/other/1.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/other/1.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/0.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/0.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/0.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/0.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/1.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/1.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/1.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/1.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/10.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/10.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/10.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/10.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/11.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/11.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/11.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/11.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/12.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/12.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/12.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/12.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/13.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/13.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/13.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/13.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/14.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/14.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/14.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/14.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/15.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/15.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/15.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/15.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/16.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/16.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/16.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/16.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/17.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/17.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/17.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/17.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/18.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/18.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/18.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/18.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/19.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/19.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/19.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/19.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/2.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/2.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/2.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/2.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/3.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/3.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/3.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/3.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/4.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/4.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/4.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/4.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/5.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/5.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/5.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/5.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/6.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/6.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/6.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/6.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/7.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/7.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/7.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/7.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/8.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/8.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/8.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/8.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/9.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/9.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/9.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/shared/9.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/test.config.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/test.config.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/test.config.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/webpack.config.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-contenthash/webpack.config.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/a.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/a.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/a.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/a.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/b.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/b.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/b.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/b.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/common/0.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/common/0.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/common/0.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/common/0.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/common/1.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/common/1.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/common/1.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/common/1.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/other/0.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/other/0.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/other/0.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/other/0.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/other/1.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/other/1.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/other/1.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/other/1.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/0.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/0.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/0.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/0.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/1.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/1.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/1.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/1.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/10.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/10.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/10.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/10.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/11.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/11.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/11.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/11.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/12.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/12.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/12.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/12.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/13.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/13.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/13.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/13.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/14.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/14.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/14.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/14.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/15.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/15.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/15.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/15.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/16.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/16.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/16.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/16.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/17.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/17.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/17.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/17.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/18.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/18.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/18.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/18.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/19.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/19.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/19.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/19.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/2.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/2.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/2.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/2.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/3.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/3.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/3.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/3.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/4.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/4.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/4.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/4.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/5.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/5.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/5.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/5.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/6.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/6.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/6.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/6.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/7.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/7.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/7.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/7.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/8.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/8.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/8.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/8.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/9.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/9.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/9.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/shared/9.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/test.config.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/test.config.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/test.config.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/webpack.config.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-fullhash/webpack.config.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/a.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/a.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/a.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/a.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/b.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/b.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/b.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/b.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/common/0.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/common/0.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/common/0.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/common/0.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/common/1.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/common/1.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/common/1.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/common/1.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/other/0.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/other/0.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/other/0.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/other/0.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/other/1.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/other/1.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/other/1.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/other/1.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/0.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/0.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/0.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/0.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/1.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/1.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/1.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/1.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/10.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/10.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/10.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/10.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/11.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/11.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/11.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/11.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/12.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/12.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/12.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/12.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/13.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/13.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/13.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/13.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/14.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/14.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/14.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/14.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/15.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/15.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/15.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/15.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/16.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/16.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/16.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/16.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/17.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/17.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/17.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/17.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/18.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/18.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/18.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/18.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/19.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/19.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/19.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/19.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/2.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/2.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/2.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/2.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/3.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/3.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/3.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/3.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/4.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/4.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/4.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/4.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/5.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/5.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/5.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/5.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/6.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/6.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/6.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/6.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/7.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/7.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/7.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/7.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/8.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/8.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/8.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/8.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/9.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/9.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/9.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/shared/9.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/test.config.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/test.config.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/test.config.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/webpack.config.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module-id/webpack.config.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/a.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/a.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/a.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/a.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/b.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/b.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/b.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/b.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/common/0.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/common/0.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/common/0.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/common/0.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/common/1.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/common/1.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/common/1.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/common/1.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/other/0.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/other/0.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/other/0.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/other/0.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/other/1.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/other/1.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/other/1.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/other/1.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/0.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/0.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/0.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/0.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/1.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/1.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/1.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/1.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/10.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/10.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/10.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/10.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/11.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/11.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/11.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/11.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/12.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/12.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/12.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/12.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/13.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/13.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/13.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/13.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/14.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/14.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/14.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/14.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/15.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/15.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/15.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/15.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/16.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/16.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/16.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/16.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/17.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/17.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/17.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/17.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/18.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/18.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/18.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/18.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/19.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/19.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/19.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/19.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/2.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/2.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/2.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/2.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/3.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/3.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/3.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/3.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/4.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/4.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/4.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/4.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/5.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/5.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/5.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/5.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/6.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/6.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/6.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/6.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/7.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/7.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/7.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/7.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/8.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/8.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/8.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/8.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/9.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/9.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/9.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/shared/9.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/test.config.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/test.config.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/test.config.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/webpack.config.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-chunkname-runtime-module/webpack.config.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-no-reuse-chunk/a.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-no-reuse-chunk/a.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-no-reuse-chunk/a.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-no-reuse-chunk/a.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-no-reuse-chunk/b.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-no-reuse-chunk/b.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-no-reuse-chunk/b.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-no-reuse-chunk/b.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-no-reuse-chunk/common1.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-no-reuse-chunk/common1.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-no-reuse-chunk/common1.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-no-reuse-chunk/common1.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-no-reuse-chunk/common2.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-no-reuse-chunk/common2.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-no-reuse-chunk/common2.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-no-reuse-chunk/common2.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-no-reuse-chunk/common3.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-no-reuse-chunk/common3.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-no-reuse-chunk/common3.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-no-reuse-chunk/common3.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-no-reuse-chunk/shared1.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-no-reuse-chunk/shared1.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-no-reuse-chunk/shared1.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-no-reuse-chunk/shared1.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-no-reuse-chunk/shared2.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-no-reuse-chunk/shared2.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-no-reuse-chunk/shared2.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-no-reuse-chunk/shared2.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-no-reuse-chunk/test.config.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-no-reuse-chunk/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-no-reuse-chunk/test.config.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-no-reuse-chunk/test.config.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename-no-reuse-chunk/webpack.config.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-no-reuse-chunk/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename-no-reuse-chunk/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename-no-reuse-chunk/webpack.config.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename/a.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename/a.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename/a.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename/a.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename/b.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename/b.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename/b.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename/b.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename/common1.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename/common1.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename/common1.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename/common1.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename/common2.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename/common2.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename/common2.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename/common2.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename/common3.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename/common3.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename/common3.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename/common3.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename/shared1.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename/shared1.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename/shared1.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename/shared1.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename/shared2.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename/shared2.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename/shared2.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename/shared2.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename/test.config.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename/test.config.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename/test.config.js diff --git a/packages/rspack/tests/configCases/split-chunks/custom-filename/webpack.config.js b/packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/custom-filename/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/custom-filename/webpack.config.js diff --git a/packages/rspack/tests/configCases/split-chunks/default-priority/a.js b/packages/rspack-test-tools/tests/configCases/split-chunks/default-priority/a.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/default-priority/a.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/default-priority/a.js diff --git a/packages/rspack/tests/configCases/split-chunks/default-priority/b.js b/packages/rspack-test-tools/tests/configCases/split-chunks/default-priority/b.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/default-priority/b.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/default-priority/b.js diff --git a/packages/rspack/tests/configCases/split-chunks/default-priority/c.js b/packages/rspack-test-tools/tests/configCases/split-chunks/default-priority/c.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/default-priority/c.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/default-priority/c.js diff --git a/packages/rspack/tests/configCases/split-chunks/default-priority/index.js b/packages/rspack-test-tools/tests/configCases/split-chunks/default-priority/index.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/default-priority/index.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/default-priority/index.js diff --git a/packages/rspack/tests/configCases/split-chunks/default-priority/test.config.js b/packages/rspack-test-tools/tests/configCases/split-chunks/default-priority/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/default-priority/test.config.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/default-priority/test.config.js diff --git a/packages/rspack/tests/configCases/split-chunks/default-priority/webpack.config.js b/packages/rspack-test-tools/tests/configCases/split-chunks/default-priority/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/default-priority/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/default-priority/webpack.config.js diff --git a/packages/rspack/tests/configCases/split-chunks/disable-reuse-existing-chunk-simple/foo-2.js b/packages/rspack-test-tools/tests/configCases/split-chunks/disable-reuse-existing-chunk-simple/foo-2.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/disable-reuse-existing-chunk-simple/foo-2.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/disable-reuse-existing-chunk-simple/foo-2.js diff --git a/packages/rspack/tests/configCases/split-chunks/disable-reuse-existing-chunk-simple/foo.js b/packages/rspack-test-tools/tests/configCases/split-chunks/disable-reuse-existing-chunk-simple/foo.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/disable-reuse-existing-chunk-simple/foo.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/disable-reuse-existing-chunk-simple/foo.js diff --git a/packages/rspack/tests/configCases/split-chunks/disable-reuse-existing-chunk-simple/index.js b/packages/rspack-test-tools/tests/configCases/split-chunks/disable-reuse-existing-chunk-simple/index.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/disable-reuse-existing-chunk-simple/index.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/disable-reuse-existing-chunk-simple/index.js diff --git a/packages/rspack/tests/configCases/split-chunks/disable-reuse-existing-chunk-simple/test.config.js b/packages/rspack-test-tools/tests/configCases/split-chunks/disable-reuse-existing-chunk-simple/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/disable-reuse-existing-chunk-simple/test.config.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/disable-reuse-existing-chunk-simple/test.config.js diff --git a/packages/rspack/tests/configCases/split-chunks/disable-reuse-existing-chunk-simple/webpack.config.js b/packages/rspack-test-tools/tests/configCases/split-chunks/disable-reuse-existing-chunk-simple/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/disable-reuse-existing-chunk-simple/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/disable-reuse-existing-chunk-simple/webpack.config.js diff --git a/packages/rspack/tests/configCases/split-chunks/extract-css-to-single-chunk/foo.css b/packages/rspack-test-tools/tests/configCases/split-chunks/extract-css-to-single-chunk/foo.css similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/extract-css-to-single-chunk/foo.css rename to packages/rspack-test-tools/tests/configCases/split-chunks/extract-css-to-single-chunk/foo.css diff --git a/packages/rspack/tests/configCases/split-chunks/extract-css-to-single-chunk/foo.js b/packages/rspack-test-tools/tests/configCases/split-chunks/extract-css-to-single-chunk/foo.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/extract-css-to-single-chunk/foo.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/extract-css-to-single-chunk/foo.js diff --git a/packages/rspack/tests/configCases/split-chunks/extract-css-to-single-chunk/index.css b/packages/rspack-test-tools/tests/configCases/split-chunks/extract-css-to-single-chunk/index.css similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/extract-css-to-single-chunk/index.css rename to packages/rspack-test-tools/tests/configCases/split-chunks/extract-css-to-single-chunk/index.css diff --git a/packages/rspack/tests/configCases/split-chunks/extract-css-to-single-chunk/index.js b/packages/rspack-test-tools/tests/configCases/split-chunks/extract-css-to-single-chunk/index.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/extract-css-to-single-chunk/index.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/extract-css-to-single-chunk/index.js diff --git a/packages/rspack/tests/configCases/split-chunks/extract-css-to-single-chunk/test.config.js b/packages/rspack-test-tools/tests/configCases/split-chunks/extract-css-to-single-chunk/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/extract-css-to-single-chunk/test.config.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/extract-css-to-single-chunk/test.config.js diff --git a/packages/rspack/tests/configCases/split-chunks/extract-css-to-single-chunk/webpack.config.js b/packages/rspack-test-tools/tests/configCases/split-chunks/extract-css-to-single-chunk/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/extract-css-to-single-chunk/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/extract-css-to-single-chunk/webpack.config.js diff --git a/packages/rspack/tests/configCases/split-chunks/reuse-existing-chunk-simple/foo-2.js b/packages/rspack-test-tools/tests/configCases/split-chunks/reuse-existing-chunk-simple/foo-2.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/reuse-existing-chunk-simple/foo-2.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/reuse-existing-chunk-simple/foo-2.js diff --git a/packages/rspack/tests/configCases/split-chunks/reuse-existing-chunk-simple/foo.js b/packages/rspack-test-tools/tests/configCases/split-chunks/reuse-existing-chunk-simple/foo.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/reuse-existing-chunk-simple/foo.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/reuse-existing-chunk-simple/foo.js diff --git a/packages/rspack/tests/configCases/split-chunks/reuse-existing-chunk-simple/index.js b/packages/rspack-test-tools/tests/configCases/split-chunks/reuse-existing-chunk-simple/index.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/reuse-existing-chunk-simple/index.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/reuse-existing-chunk-simple/index.js diff --git a/packages/rspack/tests/configCases/split-chunks/reuse-existing-chunk-simple/test.config.js b/packages/rspack-test-tools/tests/configCases/split-chunks/reuse-existing-chunk-simple/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/reuse-existing-chunk-simple/test.config.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/reuse-existing-chunk-simple/test.config.js diff --git a/packages/rspack/tests/configCases/split-chunks/reuse-existing-chunk-simple/webpack.config.js b/packages/rspack-test-tools/tests/configCases/split-chunks/reuse-existing-chunk-simple/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/reuse-existing-chunk-simple/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/reuse-existing-chunk-simple/webpack.config.js diff --git a/packages/rspack/tests/configCases/split-chunks/rspack-issue-17332/bar.js b/packages/rspack-test-tools/tests/configCases/split-chunks/rspack-issue-17332/bar.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/rspack-issue-17332/bar.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/rspack-issue-17332/bar.js diff --git a/packages/rspack/tests/configCases/split-chunks/rspack-issue-17332/foo.js b/packages/rspack-test-tools/tests/configCases/split-chunks/rspack-issue-17332/foo.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/rspack-issue-17332/foo.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/rspack-issue-17332/foo.js diff --git a/packages/rspack/tests/configCases/split-chunks/rspack-issue-17332/index.js b/packages/rspack-test-tools/tests/configCases/split-chunks/rspack-issue-17332/index.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/rspack-issue-17332/index.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/rspack-issue-17332/index.js diff --git a/packages/rspack/tests/configCases/split-chunks/rspack-issue-17332/test.config.js b/packages/rspack-test-tools/tests/configCases/split-chunks/rspack-issue-17332/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/rspack-issue-17332/test.config.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/rspack-issue-17332/test.config.js diff --git a/packages/rspack/tests/configCases/split-chunks/rspack-issue-17332/webpack.config.js b/packages/rspack-test-tools/tests/configCases/split-chunks/rspack-issue-17332/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/rspack-issue-17332/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/rspack-issue-17332/webpack.config.js diff --git a/packages/rspack/tests/configCases/split-chunks/rspack-issue-3646/src/another.js b/packages/rspack-test-tools/tests/configCases/split-chunks/rspack-issue-3646/src/another.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/rspack-issue-3646/src/another.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/rspack-issue-3646/src/another.js diff --git a/packages/rspack/tests/configCases/split-chunks/rspack-issue-3646/src/index.js b/packages/rspack-test-tools/tests/configCases/split-chunks/rspack-issue-3646/src/index.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/rspack-issue-3646/src/index.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/rspack-issue-3646/src/index.js diff --git a/packages/rspack/tests/configCases/split-chunks/rspack-issue-3646/src/shared.js b/packages/rspack-test-tools/tests/configCases/split-chunks/rspack-issue-3646/src/shared.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/rspack-issue-3646/src/shared.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/rspack-issue-3646/src/shared.js diff --git a/packages/rspack/tests/configCases/split-chunks/rspack-issue-3646/test.config.js b/packages/rspack-test-tools/tests/configCases/split-chunks/rspack-issue-3646/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/rspack-issue-3646/test.config.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/rspack-issue-3646/test.config.js diff --git a/packages/rspack/tests/configCases/split-chunks/rspack-issue-3646/webpack.config.js b/packages/rspack-test-tools/tests/configCases/split-chunks/rspack-issue-3646/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/rspack-issue-3646/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/rspack-issue-3646/webpack.config.js diff --git a/packages/rspack/tests/configCases/split-chunks/rspack-issue-5267/chunk.js b/packages/rspack-test-tools/tests/configCases/split-chunks/rspack-issue-5267/chunk.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/rspack-issue-5267/chunk.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/rspack-issue-5267/chunk.js diff --git a/packages/rspack/tests/configCases/split-chunks/rspack-issue-5267/file-A2.js b/packages/rspack-test-tools/tests/configCases/split-chunks/rspack-issue-5267/file-A2.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/rspack-issue-5267/file-A2.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/rspack-issue-5267/file-A2.js diff --git a/packages/rspack/tests/configCases/split-chunks/rspack-issue-5267/file-B2.js b/packages/rspack-test-tools/tests/configCases/split-chunks/rspack-issue-5267/file-B2.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/rspack-issue-5267/file-B2.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/rspack-issue-5267/file-B2.js diff --git a/packages/rspack/tests/configCases/split-chunks/rspack-issue-5267/file-a1.js b/packages/rspack-test-tools/tests/configCases/split-chunks/rspack-issue-5267/file-a1.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/rspack-issue-5267/file-a1.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/rspack-issue-5267/file-a1.js diff --git a/packages/rspack/tests/configCases/split-chunks/rspack-issue-5267/file-b1.js b/packages/rspack-test-tools/tests/configCases/split-chunks/rspack-issue-5267/file-b1.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/rspack-issue-5267/file-b1.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/rspack-issue-5267/file-b1.js diff --git a/packages/rspack/tests/configCases/split-chunks/rspack-issue-5267/index.js b/packages/rspack-test-tools/tests/configCases/split-chunks/rspack-issue-5267/index.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/rspack-issue-5267/index.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/rspack-issue-5267/index.js diff --git a/packages/rspack/tests/configCases/split-chunks/rspack-issue-5267/test.config.js b/packages/rspack-test-tools/tests/configCases/split-chunks/rspack-issue-5267/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/rspack-issue-5267/test.config.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/rspack-issue-5267/test.config.js diff --git a/packages/rspack/tests/configCases/split-chunks/rspack-issue-5267/webpack.config.js b/packages/rspack-test-tools/tests/configCases/split-chunks/rspack-issue-5267/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/rspack-issue-5267/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/rspack-issue-5267/webpack.config.js diff --git a/packages/rspack/tests/configCases/split-chunks/rspack-issue-5485/src/index.js b/packages/rspack-test-tools/tests/configCases/split-chunks/rspack-issue-5485/src/index.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/rspack-issue-5485/src/index.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/rspack-issue-5485/src/index.js diff --git a/packages/rspack/tests/configCases/split-chunks/rspack-issue-5485/src/lib/a.js b/packages/rspack-test-tools/tests/configCases/split-chunks/rspack-issue-5485/src/lib/a.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/rspack-issue-5485/src/lib/a.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/rspack-issue-5485/src/lib/a.js diff --git a/packages/rspack/tests/configCases/split-chunks/rspack-issue-5485/test.config.js b/packages/rspack-test-tools/tests/configCases/split-chunks/rspack-issue-5485/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/rspack-issue-5485/test.config.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/rspack-issue-5485/test.config.js diff --git a/packages/rspack/tests/configCases/split-chunks/rspack-issue-5485/webpack.config.js b/packages/rspack-test-tools/tests/configCases/split-chunks/rspack-issue-5485/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/rspack-issue-5485/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/rspack-issue-5485/webpack.config.js diff --git a/packages/rspack/tests/configCases/split-chunks/rspack-issue-5657/src/index.js b/packages/rspack-test-tools/tests/configCases/split-chunks/rspack-issue-5657/src/index.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/rspack-issue-5657/src/index.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/rspack-issue-5657/src/index.js diff --git a/packages/rspack/tests/configCases/split-chunks/rspack-issue-5657/src/lib/a.css b/packages/rspack-test-tools/tests/configCases/split-chunks/rspack-issue-5657/src/lib/a.css similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/rspack-issue-5657/src/lib/a.css rename to packages/rspack-test-tools/tests/configCases/split-chunks/rspack-issue-5657/src/lib/a.css diff --git a/packages/rspack/tests/configCases/split-chunks/rspack-issue-5657/src/lib/b.css b/packages/rspack-test-tools/tests/configCases/split-chunks/rspack-issue-5657/src/lib/b.css similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/rspack-issue-5657/src/lib/b.css rename to packages/rspack-test-tools/tests/configCases/split-chunks/rspack-issue-5657/src/lib/b.css diff --git a/packages/rspack/tests/configCases/split-chunks/rspack-issue-5657/src/lib/c.css b/packages/rspack-test-tools/tests/configCases/split-chunks/rspack-issue-5657/src/lib/c.css similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/rspack-issue-5657/src/lib/c.css rename to packages/rspack-test-tools/tests/configCases/split-chunks/rspack-issue-5657/src/lib/c.css diff --git a/packages/rspack/tests/configCases/split-chunks/rspack-issue-5657/src/lib/mod.js b/packages/rspack-test-tools/tests/configCases/split-chunks/rspack-issue-5657/src/lib/mod.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/rspack-issue-5657/src/lib/mod.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/rspack-issue-5657/src/lib/mod.js diff --git a/packages/rspack/tests/configCases/split-chunks/rspack-issue-5657/webpack.config.js b/packages/rspack-test-tools/tests/configCases/split-chunks/rspack-issue-5657/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/rspack-issue-5657/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/rspack-issue-5657/webpack.config.js diff --git a/packages/rspack/tests/configCases/split-chunks/should-not-reuse-existing-chunk-simple-if-cache-group-name-specified/foo-2.js b/packages/rspack-test-tools/tests/configCases/split-chunks/should-not-reuse-existing-chunk-simple-if-cache-group-name-specified/foo-2.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/should-not-reuse-existing-chunk-simple-if-cache-group-name-specified/foo-2.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/should-not-reuse-existing-chunk-simple-if-cache-group-name-specified/foo-2.js diff --git a/packages/rspack/tests/configCases/split-chunks/should-not-reuse-existing-chunk-simple-if-cache-group-name-specified/foo.js b/packages/rspack-test-tools/tests/configCases/split-chunks/should-not-reuse-existing-chunk-simple-if-cache-group-name-specified/foo.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/should-not-reuse-existing-chunk-simple-if-cache-group-name-specified/foo.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/should-not-reuse-existing-chunk-simple-if-cache-group-name-specified/foo.js diff --git a/packages/rspack/tests/configCases/split-chunks/should-not-reuse-existing-chunk-simple-if-cache-group-name-specified/index.js b/packages/rspack-test-tools/tests/configCases/split-chunks/should-not-reuse-existing-chunk-simple-if-cache-group-name-specified/index.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/should-not-reuse-existing-chunk-simple-if-cache-group-name-specified/index.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/should-not-reuse-existing-chunk-simple-if-cache-group-name-specified/index.js diff --git a/packages/rspack/tests/configCases/split-chunks/should-not-reuse-existing-chunk-simple-if-cache-group-name-specified/test.config.js b/packages/rspack-test-tools/tests/configCases/split-chunks/should-not-reuse-existing-chunk-simple-if-cache-group-name-specified/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/should-not-reuse-existing-chunk-simple-if-cache-group-name-specified/test.config.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/should-not-reuse-existing-chunk-simple-if-cache-group-name-specified/test.config.js diff --git a/packages/rspack/tests/configCases/split-chunks/should-not-reuse-existing-chunk-simple-if-cache-group-name-specified/webpack.config.js b/packages/rspack-test-tools/tests/configCases/split-chunks/should-not-reuse-existing-chunk-simple-if-cache-group-name-specified/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/should-not-reuse-existing-chunk-simple-if-cache-group-name-specified/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/should-not-reuse-existing-chunk-simple-if-cache-group-name-specified/webpack.config.js diff --git a/packages/rspack/tests/configCases/split-chunks/split-chunks-dot-name/foo-2.js b/packages/rspack-test-tools/tests/configCases/split-chunks/split-chunks-dot-name/foo-2.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/split-chunks-dot-name/foo-2.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/split-chunks-dot-name/foo-2.js diff --git a/packages/rspack/tests/configCases/split-chunks/split-chunks-dot-name/foo.js b/packages/rspack-test-tools/tests/configCases/split-chunks/split-chunks-dot-name/foo.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/split-chunks-dot-name/foo.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/split-chunks-dot-name/foo.js diff --git a/packages/rspack/tests/configCases/split-chunks/split-chunks-dot-name/index.js b/packages/rspack-test-tools/tests/configCases/split-chunks/split-chunks-dot-name/index.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/split-chunks-dot-name/index.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/split-chunks-dot-name/index.js diff --git a/packages/rspack/tests/configCases/split-chunks/split-chunks-dot-name/test.config.js b/packages/rspack-test-tools/tests/configCases/split-chunks/split-chunks-dot-name/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/split-chunks-dot-name/test.config.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/split-chunks-dot-name/test.config.js diff --git a/packages/rspack/tests/configCases/split-chunks/split-chunks-dot-name/webpack.config.js b/packages/rspack-test-tools/tests/configCases/split-chunks/split-chunks-dot-name/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/split-chunks/split-chunks-dot-name/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/split-chunks/split-chunks-dot-name/webpack.config.js diff --git a/packages/rspack/tests/configCases/svg/different-module-by-loaders/index.css b/packages/rspack-test-tools/tests/configCases/svg/different-module-by-loaders/index.css similarity index 100% rename from packages/rspack/tests/configCases/svg/different-module-by-loaders/index.css rename to packages/rspack-test-tools/tests/configCases/svg/different-module-by-loaders/index.css diff --git a/packages/rspack/tests/configCases/svg/different-module-by-loaders/index.js b/packages/rspack-test-tools/tests/configCases/svg/different-module-by-loaders/index.js similarity index 100% rename from packages/rspack/tests/configCases/svg/different-module-by-loaders/index.js rename to packages/rspack-test-tools/tests/configCases/svg/different-module-by-loaders/index.js diff --git a/packages/rspack/tests/configCases/svg/different-module-by-loaders/star.svg b/packages/rspack-test-tools/tests/configCases/svg/different-module-by-loaders/star.svg similarity index 100% rename from packages/rspack/tests/configCases/svg/different-module-by-loaders/star.svg rename to packages/rspack-test-tools/tests/configCases/svg/different-module-by-loaders/star.svg diff --git a/packages/rspack/tests/configCases/svg/different-module-by-loaders/webpack.config.js b/packages/rspack-test-tools/tests/configCases/svg/different-module-by-loaders/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/svg/different-module-by-loaders/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/svg/different-module-by-loaders/webpack.config.js diff --git a/packages/rspack/tests/configCases/tree-shaking/asset-is-dep-of-css-source/a.svg b/packages/rspack-test-tools/tests/configCases/tree-shaking/asset-is-dep-of-css-source/a.svg similarity index 100% rename from packages/rspack/tests/configCases/tree-shaking/asset-is-dep-of-css-source/a.svg rename to packages/rspack-test-tools/tests/configCases/tree-shaking/asset-is-dep-of-css-source/a.svg diff --git a/packages/rspack/tests/configCases/tree-shaking/asset-is-dep-of-css-source/index.css b/packages/rspack-test-tools/tests/configCases/tree-shaking/asset-is-dep-of-css-source/index.css similarity index 100% rename from packages/rspack/tests/configCases/tree-shaking/asset-is-dep-of-css-source/index.css rename to packages/rspack-test-tools/tests/configCases/tree-shaking/asset-is-dep-of-css-source/index.css diff --git a/packages/rspack/tests/configCases/tree-shaking/asset-is-dep-of-css-source/index.js b/packages/rspack-test-tools/tests/configCases/tree-shaking/asset-is-dep-of-css-source/index.js similarity index 100% rename from packages/rspack/tests/configCases/tree-shaking/asset-is-dep-of-css-source/index.js rename to packages/rspack-test-tools/tests/configCases/tree-shaking/asset-is-dep-of-css-source/index.js diff --git a/packages/rspack/tests/configCases/tree-shaking/asset-is-dep-of-css-source/package.json b/packages/rspack-test-tools/tests/configCases/tree-shaking/asset-is-dep-of-css-source/package.json similarity index 100% rename from packages/rspack/tests/configCases/tree-shaking/asset-is-dep-of-css-source/package.json rename to packages/rspack-test-tools/tests/configCases/tree-shaking/asset-is-dep-of-css-source/package.json diff --git a/packages/rspack/tests/configCases/tree-shaking/asset-is-dep-of-css-source/webpack.config.js b/packages/rspack-test-tools/tests/configCases/tree-shaking/asset-is-dep-of-css-source/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/tree-shaking/asset-is-dep-of-css-source/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/tree-shaking/asset-is-dep-of-css-source/webpack.config.js diff --git a/packages/rspack/tests/configCases/tree-shaking/assets1/index.js b/packages/rspack-test-tools/tests/configCases/tree-shaking/assets1/index.js similarity index 100% rename from packages/rspack/tests/configCases/tree-shaking/assets1/index.js rename to packages/rspack-test-tools/tests/configCases/tree-shaking/assets1/index.js diff --git a/packages/rspack/tests/configCases/tree-shaking/assets1/package/a.js b/packages/rspack-test-tools/tests/configCases/tree-shaking/assets1/package/a.js similarity index 100% rename from packages/rspack/tests/configCases/tree-shaking/assets1/package/a.js rename to packages/rspack-test-tools/tests/configCases/tree-shaking/assets1/package/a.js diff --git a/packages/rspack/tests/configCases/tree-shaking/assets1/package/a.svg b/packages/rspack-test-tools/tests/configCases/tree-shaking/assets1/package/a.svg similarity index 100% rename from packages/rspack/tests/configCases/tree-shaking/assets1/package/a.svg rename to packages/rspack-test-tools/tests/configCases/tree-shaking/assets1/package/a.svg diff --git a/packages/rspack/tests/configCases/tree-shaking/assets1/package/b.js b/packages/rspack-test-tools/tests/configCases/tree-shaking/assets1/package/b.js similarity index 100% rename from packages/rspack/tests/configCases/tree-shaking/assets1/package/b.js rename to packages/rspack-test-tools/tests/configCases/tree-shaking/assets1/package/b.js diff --git a/packages/rspack/tests/configCases/tree-shaking/assets1/package/b.svg b/packages/rspack-test-tools/tests/configCases/tree-shaking/assets1/package/b.svg similarity index 100% rename from packages/rspack/tests/configCases/tree-shaking/assets1/package/b.svg rename to packages/rspack-test-tools/tests/configCases/tree-shaking/assets1/package/b.svg diff --git a/packages/rspack/tests/configCases/tree-shaking/assets1/package/index.js b/packages/rspack-test-tools/tests/configCases/tree-shaking/assets1/package/index.js similarity index 100% rename from packages/rspack/tests/configCases/tree-shaking/assets1/package/index.js rename to packages/rspack-test-tools/tests/configCases/tree-shaking/assets1/package/index.js diff --git a/packages/rspack/tests/configCases/tree-shaking/assets1/package/package.json b/packages/rspack-test-tools/tests/configCases/tree-shaking/assets1/package/package.json similarity index 100% rename from packages/rspack/tests/configCases/tree-shaking/assets1/package/package.json rename to packages/rspack-test-tools/tests/configCases/tree-shaking/assets1/package/package.json diff --git a/packages/rspack/tests/configCases/tree-shaking/assets1/webpack.config.js b/packages/rspack-test-tools/tests/configCases/tree-shaking/assets1/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/tree-shaking/assets1/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/tree-shaking/assets1/webpack.config.js diff --git a/packages/rspack/tests/configCases/tree-shaking/commonjs-reexport-interop/a.js b/packages/rspack-test-tools/tests/configCases/tree-shaking/commonjs-reexport-interop/a.js similarity index 100% rename from packages/rspack/tests/configCases/tree-shaking/commonjs-reexport-interop/a.js rename to packages/rspack-test-tools/tests/configCases/tree-shaking/commonjs-reexport-interop/a.js diff --git a/packages/rspack/tests/configCases/tree-shaking/commonjs-reexport-interop/index.js b/packages/rspack-test-tools/tests/configCases/tree-shaking/commonjs-reexport-interop/index.js similarity index 100% rename from packages/rspack/tests/configCases/tree-shaking/commonjs-reexport-interop/index.js rename to packages/rspack-test-tools/tests/configCases/tree-shaking/commonjs-reexport-interop/index.js diff --git a/packages/rspack/tests/configCases/tree-shaking/commonjs-reexport-interop/lib.js b/packages/rspack-test-tools/tests/configCases/tree-shaking/commonjs-reexport-interop/lib.js similarity index 100% rename from packages/rspack/tests/configCases/tree-shaking/commonjs-reexport-interop/lib.js rename to packages/rspack-test-tools/tests/configCases/tree-shaking/commonjs-reexport-interop/lib.js diff --git a/packages/rspack/tests/configCases/tree-shaking/commonjs-reexport-interop/package.json b/packages/rspack-test-tools/tests/configCases/tree-shaking/commonjs-reexport-interop/package.json similarity index 100% rename from packages/rspack/tests/configCases/tree-shaking/commonjs-reexport-interop/package.json rename to packages/rspack-test-tools/tests/configCases/tree-shaking/commonjs-reexport-interop/package.json diff --git a/packages/rspack/tests/configCases/tree-shaking/commonjs-reexport-interop/webpack.config.js b/packages/rspack-test-tools/tests/configCases/tree-shaking/commonjs-reexport-interop/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/tree-shaking/commonjs-reexport-interop/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/tree-shaking/commonjs-reexport-interop/webpack.config.js diff --git a/packages/rspack/tests/configCases/tree-shaking/export-default-alias/a.js b/packages/rspack-test-tools/tests/configCases/tree-shaking/export-default-alias/a.js similarity index 100% rename from packages/rspack/tests/configCases/tree-shaking/export-default-alias/a.js rename to packages/rspack-test-tools/tests/configCases/tree-shaking/export-default-alias/a.js diff --git a/packages/rspack/tests/configCases/tree-shaking/export-default-alias/answer.js b/packages/rspack-test-tools/tests/configCases/tree-shaking/export-default-alias/answer.js similarity index 100% rename from packages/rspack/tests/configCases/tree-shaking/export-default-alias/answer.js rename to packages/rspack-test-tools/tests/configCases/tree-shaking/export-default-alias/answer.js diff --git a/packages/rspack/tests/configCases/tree-shaking/export-default-alias/app.js b/packages/rspack-test-tools/tests/configCases/tree-shaking/export-default-alias/app.js similarity index 100% rename from packages/rspack/tests/configCases/tree-shaking/export-default-alias/app.js rename to packages/rspack-test-tools/tests/configCases/tree-shaking/export-default-alias/app.js diff --git a/packages/rspack/tests/configCases/tree-shaking/export-default-alias/index.js b/packages/rspack-test-tools/tests/configCases/tree-shaking/export-default-alias/index.js similarity index 100% rename from packages/rspack/tests/configCases/tree-shaking/export-default-alias/index.js rename to packages/rspack-test-tools/tests/configCases/tree-shaking/export-default-alias/index.js diff --git a/packages/rspack/tests/configCases/tree-shaking/export-default-alias/lib.js b/packages/rspack-test-tools/tests/configCases/tree-shaking/export-default-alias/lib.js similarity index 100% rename from packages/rspack/tests/configCases/tree-shaking/export-default-alias/lib.js rename to packages/rspack-test-tools/tests/configCases/tree-shaking/export-default-alias/lib.js diff --git a/packages/rspack/tests/configCases/tree-shaking/export-default-alias/package.json b/packages/rspack-test-tools/tests/configCases/tree-shaking/export-default-alias/package.json similarity index 100% rename from packages/rspack/tests/configCases/tree-shaking/export-default-alias/package.json rename to packages/rspack-test-tools/tests/configCases/tree-shaking/export-default-alias/package.json diff --git a/packages/rspack/tests/configCases/tree-shaking/export-default-alias/webpack.config.js b/packages/rspack-test-tools/tests/configCases/tree-shaking/export-default-alias/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/tree-shaking/export-default-alias/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/tree-shaking/export-default-alias/webpack.config.js diff --git a/packages/rspack/tests/configCases/tree-shaking/export-star-of-external-module/index.js b/packages/rspack-test-tools/tests/configCases/tree-shaking/export-star-of-external-module/index.js similarity index 100% rename from packages/rspack/tests/configCases/tree-shaking/export-star-of-external-module/index.js rename to packages/rspack-test-tools/tests/configCases/tree-shaking/export-star-of-external-module/index.js diff --git a/packages/rspack/tests/configCases/tree-shaking/export-star-of-external-module/lib.js b/packages/rspack-test-tools/tests/configCases/tree-shaking/export-star-of-external-module/lib.js similarity index 100% rename from packages/rspack/tests/configCases/tree-shaking/export-star-of-external-module/lib.js rename to packages/rspack-test-tools/tests/configCases/tree-shaking/export-star-of-external-module/lib.js diff --git a/packages/rspack/tests/configCases/tree-shaking/export-star-of-external-module/webpack.config.js b/packages/rspack-test-tools/tests/configCases/tree-shaking/export-star-of-external-module/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/tree-shaking/export-star-of-external-module/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/tree-shaking/export-star-of-external-module/webpack.config.js diff --git a/packages/rspack/tests/configCases/tree-shaking/import-by-name-json/data/c.json b/packages/rspack-test-tools/tests/configCases/tree-shaking/import-by-name-json/data/c.json similarity index 100% rename from packages/rspack/tests/configCases/tree-shaking/import-by-name-json/data/c.json rename to packages/rspack-test-tools/tests/configCases/tree-shaking/import-by-name-json/data/c.json diff --git a/packages/rspack/tests/configCases/tree-shaking/import-by-name-json/data/d.json b/packages/rspack-test-tools/tests/configCases/tree-shaking/import-by-name-json/data/d.json similarity index 100% rename from packages/rspack/tests/configCases/tree-shaking/import-by-name-json/data/d.json rename to packages/rspack-test-tools/tests/configCases/tree-shaking/import-by-name-json/data/d.json diff --git a/packages/rspack/tests/configCases/tree-shaking/import-by-name-json/data/e.json b/packages/rspack-test-tools/tests/configCases/tree-shaking/import-by-name-json/data/e.json similarity index 100% rename from packages/rspack/tests/configCases/tree-shaking/import-by-name-json/data/e.json rename to packages/rspack-test-tools/tests/configCases/tree-shaking/import-by-name-json/data/e.json diff --git a/packages/rspack/tests/configCases/tree-shaking/import-by-name-json/data/f.json b/packages/rspack-test-tools/tests/configCases/tree-shaking/import-by-name-json/data/f.json similarity index 100% rename from packages/rspack/tests/configCases/tree-shaking/import-by-name-json/data/f.json rename to packages/rspack-test-tools/tests/configCases/tree-shaking/import-by-name-json/data/f.json diff --git a/packages/rspack/tests/configCases/tree-shaking/import-by-name-json/data/g.json b/packages/rspack-test-tools/tests/configCases/tree-shaking/import-by-name-json/data/g.json similarity index 100% rename from packages/rspack/tests/configCases/tree-shaking/import-by-name-json/data/g.json rename to packages/rspack-test-tools/tests/configCases/tree-shaking/import-by-name-json/data/g.json diff --git a/packages/rspack/tests/configCases/tree-shaking/import-by-name-json/index.js b/packages/rspack-test-tools/tests/configCases/tree-shaking/import-by-name-json/index.js similarity index 100% rename from packages/rspack/tests/configCases/tree-shaking/import-by-name-json/index.js rename to packages/rspack-test-tools/tests/configCases/tree-shaking/import-by-name-json/index.js diff --git a/packages/rspack/tests/configCases/tree-shaking/import-by-name-json/webpack.config.js b/packages/rspack-test-tools/tests/configCases/tree-shaking/import-by-name-json/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/tree-shaking/import-by-name-json/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/tree-shaking/import-by-name-json/webpack.config.js diff --git a/packages/rspack/tests/configCases/tree-shaking/inner-graph-static-block/a.js b/packages/rspack-test-tools/tests/configCases/tree-shaking/inner-graph-static-block/a.js similarity index 100% rename from packages/rspack/tests/configCases/tree-shaking/inner-graph-static-block/a.js rename to packages/rspack-test-tools/tests/configCases/tree-shaking/inner-graph-static-block/a.js diff --git a/packages/rspack/tests/configCases/tree-shaking/inner-graph-static-block/index.js b/packages/rspack-test-tools/tests/configCases/tree-shaking/inner-graph-static-block/index.js similarity index 100% rename from packages/rspack/tests/configCases/tree-shaking/inner-graph-static-block/index.js rename to packages/rspack-test-tools/tests/configCases/tree-shaking/inner-graph-static-block/index.js diff --git a/packages/rspack/tests/configCases/tree-shaking/inner-graph-static-block/lib.js b/packages/rspack-test-tools/tests/configCases/tree-shaking/inner-graph-static-block/lib.js similarity index 100% rename from packages/rspack/tests/configCases/tree-shaking/inner-graph-static-block/lib.js rename to packages/rspack-test-tools/tests/configCases/tree-shaking/inner-graph-static-block/lib.js diff --git a/packages/rspack/tests/configCases/tree-shaking/inner-graph-static-block/webpack.config.js b/packages/rspack-test-tools/tests/configCases/tree-shaking/inner-graph-static-block/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/tree-shaking/inner-graph-static-block/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/tree-shaking/inner-graph-static-block/webpack.config.js diff --git a/packages/rspack/tests/configCases/tree-shaking/issue-5782/index.js b/packages/rspack-test-tools/tests/configCases/tree-shaking/issue-5782/index.js similarity index 100% rename from packages/rspack/tests/configCases/tree-shaking/issue-5782/index.js rename to packages/rspack-test-tools/tests/configCases/tree-shaking/issue-5782/index.js diff --git a/packages/rspack/tests/configCases/tree-shaking/issue-5782/package/index.js b/packages/rspack-test-tools/tests/configCases/tree-shaking/issue-5782/package/index.js similarity index 100% rename from packages/rspack/tests/configCases/tree-shaking/issue-5782/package/index.js rename to packages/rspack-test-tools/tests/configCases/tree-shaking/issue-5782/package/index.js diff --git a/packages/rspack/tests/configCases/tree-shaking/issue-5782/webpack.config.js b/packages/rspack-test-tools/tests/configCases/tree-shaking/issue-5782/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/tree-shaking/issue-5782/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/tree-shaking/issue-5782/webpack.config.js diff --git a/packages/rspack/tests/configCases/tree-shaking/json-empty-array/arr.json b/packages/rspack-test-tools/tests/configCases/tree-shaking/json-empty-array/arr.json similarity index 100% rename from packages/rspack/tests/configCases/tree-shaking/json-empty-array/arr.json rename to packages/rspack-test-tools/tests/configCases/tree-shaking/json-empty-array/arr.json diff --git a/packages/rspack/tests/configCases/tree-shaking/json-empty-array/index.js b/packages/rspack-test-tools/tests/configCases/tree-shaking/json-empty-array/index.js similarity index 100% rename from packages/rspack/tests/configCases/tree-shaking/json-empty-array/index.js rename to packages/rspack-test-tools/tests/configCases/tree-shaking/json-empty-array/index.js diff --git a/packages/rspack/tests/configCases/tree-shaking/json-empty-array/webpack.config.js b/packages/rspack-test-tools/tests/configCases/tree-shaking/json-empty-array/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/tree-shaking/json-empty-array/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/tree-shaking/json-empty-array/webpack.config.js diff --git a/packages/rspack/tests/configCases/tree-shaking/member-expr-computed-prop/index.js b/packages/rspack-test-tools/tests/configCases/tree-shaking/member-expr-computed-prop/index.js similarity index 100% rename from packages/rspack/tests/configCases/tree-shaking/member-expr-computed-prop/index.js rename to packages/rspack-test-tools/tests/configCases/tree-shaking/member-expr-computed-prop/index.js diff --git a/packages/rspack/tests/configCases/tree-shaking/member-expr-computed-prop/lib.js b/packages/rspack-test-tools/tests/configCases/tree-shaking/member-expr-computed-prop/lib.js similarity index 100% rename from packages/rspack/tests/configCases/tree-shaking/member-expr-computed-prop/lib.js rename to packages/rspack-test-tools/tests/configCases/tree-shaking/member-expr-computed-prop/lib.js diff --git a/packages/rspack/tests/configCases/tree-shaking/member-expr-computed-prop/package.json b/packages/rspack-test-tools/tests/configCases/tree-shaking/member-expr-computed-prop/package.json similarity index 100% rename from packages/rspack/tests/configCases/tree-shaking/member-expr-computed-prop/package.json rename to packages/rspack-test-tools/tests/configCases/tree-shaking/member-expr-computed-prop/package.json diff --git a/packages/rspack/tests/configCases/tree-shaking/member-expr-computed-prop/webpack.config.js b/packages/rspack-test-tools/tests/configCases/tree-shaking/member-expr-computed-prop/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/tree-shaking/member-expr-computed-prop/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/tree-shaking/member-expr-computed-prop/webpack.config.js diff --git a/packages/rspack/tests/configCases/tree-shaking/multiple-same-export-side-effect/index.js b/packages/rspack-test-tools/tests/configCases/tree-shaking/multiple-same-export-side-effect/index.js similarity index 100% rename from packages/rspack/tests/configCases/tree-shaking/multiple-same-export-side-effect/index.js rename to packages/rspack-test-tools/tests/configCases/tree-shaking/multiple-same-export-side-effect/index.js diff --git a/packages/rspack/tests/configCases/tree-shaking/multiple-same-export-side-effect/lib.js b/packages/rspack-test-tools/tests/configCases/tree-shaking/multiple-same-export-side-effect/lib.js similarity index 100% rename from packages/rspack/tests/configCases/tree-shaking/multiple-same-export-side-effect/lib.js rename to packages/rspack-test-tools/tests/configCases/tree-shaking/multiple-same-export-side-effect/lib.js diff --git a/packages/rspack/tests/configCases/tree-shaking/multiple-same-export-side-effect/reexport.js b/packages/rspack-test-tools/tests/configCases/tree-shaking/multiple-same-export-side-effect/reexport.js similarity index 100% rename from packages/rspack/tests/configCases/tree-shaking/multiple-same-export-side-effect/reexport.js rename to packages/rspack-test-tools/tests/configCases/tree-shaking/multiple-same-export-side-effect/reexport.js diff --git a/packages/rspack/tests/configCases/tree-shaking/multiple-same-export-side-effect/webpack.config.js b/packages/rspack-test-tools/tests/configCases/tree-shaking/multiple-same-export-side-effect/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/tree-shaking/multiple-same-export-side-effect/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/tree-shaking/multiple-same-export-side-effect/webpack.config.js diff --git a/packages/rspack/tests/configCases/tree-shaking/multiple-same-import-side-effect/index.js b/packages/rspack-test-tools/tests/configCases/tree-shaking/multiple-same-import-side-effect/index.js similarity index 100% rename from packages/rspack/tests/configCases/tree-shaking/multiple-same-import-side-effect/index.js rename to packages/rspack-test-tools/tests/configCases/tree-shaking/multiple-same-import-side-effect/index.js diff --git a/packages/rspack/tests/configCases/tree-shaking/multiple-same-import-side-effect/lib.js b/packages/rspack-test-tools/tests/configCases/tree-shaking/multiple-same-import-side-effect/lib.js similarity index 100% rename from packages/rspack/tests/configCases/tree-shaking/multiple-same-import-side-effect/lib.js rename to packages/rspack-test-tools/tests/configCases/tree-shaking/multiple-same-import-side-effect/lib.js diff --git a/packages/rspack/tests/configCases/tree-shaking/multiple-same-import-side-effect/webpack.config.js b/packages/rspack-test-tools/tests/configCases/tree-shaking/multiple-same-import-side-effect/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/tree-shaking/multiple-same-import-side-effect/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/tree-shaking/multiple-same-import-side-effect/webpack.config.js diff --git a/packages/rspack/tests/configCases/tree-shaking/new-url/a.js b/packages/rspack-test-tools/tests/configCases/tree-shaking/new-url/a.js similarity index 100% rename from packages/rspack/tests/configCases/tree-shaking/new-url/a.js rename to packages/rspack-test-tools/tests/configCases/tree-shaking/new-url/a.js diff --git a/packages/rspack/tests/configCases/tree-shaking/new-url/a.wasm b/packages/rspack-test-tools/tests/configCases/tree-shaking/new-url/a.wasm similarity index 100% rename from packages/rspack/tests/configCases/tree-shaking/new-url/a.wasm rename to packages/rspack-test-tools/tests/configCases/tree-shaking/new-url/a.wasm diff --git a/packages/rspack/tests/configCases/tree-shaking/new-url/b.js b/packages/rspack-test-tools/tests/configCases/tree-shaking/new-url/b.js similarity index 100% rename from packages/rspack/tests/configCases/tree-shaking/new-url/b.js rename to packages/rspack-test-tools/tests/configCases/tree-shaking/new-url/b.js diff --git a/packages/rspack/tests/configCases/tree-shaking/new-url/b.worker.js b/packages/rspack-test-tools/tests/configCases/tree-shaking/new-url/b.worker.js similarity index 100% rename from packages/rspack/tests/configCases/tree-shaking/new-url/b.worker.js rename to packages/rspack-test-tools/tests/configCases/tree-shaking/new-url/b.worker.js diff --git a/packages/rspack/tests/configCases/tree-shaking/new-url/index.js b/packages/rspack-test-tools/tests/configCases/tree-shaking/new-url/index.js similarity index 100% rename from packages/rspack/tests/configCases/tree-shaking/new-url/index.js rename to packages/rspack-test-tools/tests/configCases/tree-shaking/new-url/index.js diff --git a/packages/rspack/tests/configCases/tree-shaking/new-url/webpack.config.js b/packages/rspack-test-tools/tests/configCases/tree-shaking/new-url/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/tree-shaking/new-url/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/tree-shaking/new-url/webpack.config.js diff --git a/packages/rspack/tests/configCases/tree-shaking/side-effects-disabled-active/index.js b/packages/rspack-test-tools/tests/configCases/tree-shaking/side-effects-disabled-active/index.js similarity index 100% rename from packages/rspack/tests/configCases/tree-shaking/side-effects-disabled-active/index.js rename to packages/rspack-test-tools/tests/configCases/tree-shaking/side-effects-disabled-active/index.js diff --git a/packages/rspack/tests/configCases/tree-shaking/side-effects-disabled-active/side-effect.js b/packages/rspack-test-tools/tests/configCases/tree-shaking/side-effects-disabled-active/side-effect.js similarity index 100% rename from packages/rspack/tests/configCases/tree-shaking/side-effects-disabled-active/side-effect.js rename to packages/rspack-test-tools/tests/configCases/tree-shaking/side-effects-disabled-active/side-effect.js diff --git a/packages/rspack/tests/configCases/tree-shaking/side-effects-disabled-active/tracker.js b/packages/rspack-test-tools/tests/configCases/tree-shaking/side-effects-disabled-active/tracker.js similarity index 100% rename from packages/rspack/tests/configCases/tree-shaking/side-effects-disabled-active/tracker.js rename to packages/rspack-test-tools/tests/configCases/tree-shaking/side-effects-disabled-active/tracker.js diff --git a/packages/rspack/tests/configCases/tree-shaking/side-effects-disabled-active/webpack.config.js b/packages/rspack-test-tools/tests/configCases/tree-shaking/side-effects-disabled-active/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/tree-shaking/side-effects-disabled-active/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/tree-shaking/side-effects-disabled-active/webpack.config.js diff --git a/packages/rspack/tests/configCases/tree-shaking/side-effects-rule/index.js b/packages/rspack-test-tools/tests/configCases/tree-shaking/side-effects-rule/index.js similarity index 100% rename from packages/rspack/tests/configCases/tree-shaking/side-effects-rule/index.js rename to packages/rspack-test-tools/tests/configCases/tree-shaking/side-effects-rule/index.js diff --git a/packages/rspack/tests/configCases/tree-shaking/side-effects-rule/package/a.js b/packages/rspack-test-tools/tests/configCases/tree-shaking/side-effects-rule/package/a.js similarity index 100% rename from packages/rspack/tests/configCases/tree-shaking/side-effects-rule/package/a.js rename to packages/rspack-test-tools/tests/configCases/tree-shaking/side-effects-rule/package/a.js diff --git a/packages/rspack/tests/configCases/tree-shaking/side-effects-rule/package/b.js b/packages/rspack-test-tools/tests/configCases/tree-shaking/side-effects-rule/package/b.js similarity index 100% rename from packages/rspack/tests/configCases/tree-shaking/side-effects-rule/package/b.js rename to packages/rspack-test-tools/tests/configCases/tree-shaking/side-effects-rule/package/b.js diff --git a/packages/rspack/tests/configCases/tree-shaking/side-effects-rule/package/index.js b/packages/rspack-test-tools/tests/configCases/tree-shaking/side-effects-rule/package/index.js similarity index 100% rename from packages/rspack/tests/configCases/tree-shaking/side-effects-rule/package/index.js rename to packages/rspack-test-tools/tests/configCases/tree-shaking/side-effects-rule/package/index.js diff --git a/packages/rspack/tests/configCases/tree-shaking/side-effects-rule/package/package.json b/packages/rspack-test-tools/tests/configCases/tree-shaking/side-effects-rule/package/package.json similarity index 100% rename from packages/rspack/tests/configCases/tree-shaking/side-effects-rule/package/package.json rename to packages/rspack-test-tools/tests/configCases/tree-shaking/side-effects-rule/package/package.json diff --git a/packages/rspack/tests/configCases/tree-shaking/side-effects-rule/webpack.config.js b/packages/rspack-test-tools/tests/configCases/tree-shaking/side-effects-rule/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/tree-shaking/side-effects-rule/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/tree-shaking/side-effects-rule/webpack.config.js diff --git a/packages/rspack/tests/configCases/trusted-types/custom-policy-name/empty.js b/packages/rspack-test-tools/tests/configCases/trusted-types/custom-policy-name/empty.js similarity index 100% rename from packages/rspack/tests/configCases/trusted-types/custom-policy-name/empty.js rename to packages/rspack-test-tools/tests/configCases/trusted-types/custom-policy-name/empty.js diff --git a/packages/rspack/tests/configCases/trusted-types/custom-policy-name/index.js b/packages/rspack-test-tools/tests/configCases/trusted-types/custom-policy-name/index.js similarity index 100% rename from packages/rspack/tests/configCases/trusted-types/custom-policy-name/index.js rename to packages/rspack-test-tools/tests/configCases/trusted-types/custom-policy-name/index.js diff --git a/packages/rspack/tests/configCases/trusted-types/custom-policy-name/webpack.config.js b/packages/rspack-test-tools/tests/configCases/trusted-types/custom-policy-name/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/trusted-types/custom-policy-name/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/trusted-types/custom-policy-name/webpack.config.js diff --git a/packages/rspack/tests/configCases/trusted-types/default-policy-name/empty.js b/packages/rspack-test-tools/tests/configCases/trusted-types/default-policy-name/empty.js similarity index 100% rename from packages/rspack/tests/configCases/trusted-types/default-policy-name/empty.js rename to packages/rspack-test-tools/tests/configCases/trusted-types/default-policy-name/empty.js diff --git a/packages/rspack/tests/configCases/trusted-types/default-policy-name/index.js b/packages/rspack-test-tools/tests/configCases/trusted-types/default-policy-name/index.js similarity index 100% rename from packages/rspack/tests/configCases/trusted-types/default-policy-name/index.js rename to packages/rspack-test-tools/tests/configCases/trusted-types/default-policy-name/index.js diff --git a/packages/rspack/tests/configCases/trusted-types/default-policy-name/webpack.config.js b/packages/rspack-test-tools/tests/configCases/trusted-types/default-policy-name/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/trusted-types/default-policy-name/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/trusted-types/default-policy-name/webpack.config.js diff --git a/packages/rspack/tests/configCases/trusted-types/no-policy-name/empty.js b/packages/rspack-test-tools/tests/configCases/trusted-types/no-policy-name/empty.js similarity index 100% rename from packages/rspack/tests/configCases/trusted-types/no-policy-name/empty.js rename to packages/rspack-test-tools/tests/configCases/trusted-types/no-policy-name/empty.js diff --git a/packages/rspack/tests/configCases/trusted-types/no-policy-name/index.js b/packages/rspack-test-tools/tests/configCases/trusted-types/no-policy-name/index.js similarity index 100% rename from packages/rspack/tests/configCases/trusted-types/no-policy-name/index.js rename to packages/rspack-test-tools/tests/configCases/trusted-types/no-policy-name/index.js diff --git a/packages/rspack/tests/configCases/trusted-types/no-policy-name/webpack.config.js b/packages/rspack-test-tools/tests/configCases/trusted-types/no-policy-name/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/trusted-types/no-policy-name/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/trusted-types/no-policy-name/webpack.config.js diff --git a/packages/rspack/tests/configCases/trusted-types/no-trusted-types/empty.js b/packages/rspack-test-tools/tests/configCases/trusted-types/no-trusted-types/empty.js similarity index 100% rename from packages/rspack/tests/configCases/trusted-types/no-trusted-types/empty.js rename to packages/rspack-test-tools/tests/configCases/trusted-types/no-trusted-types/empty.js diff --git a/packages/rspack/tests/configCases/trusted-types/no-trusted-types/index.js b/packages/rspack-test-tools/tests/configCases/trusted-types/no-trusted-types/index.js similarity index 100% rename from packages/rspack/tests/configCases/trusted-types/no-trusted-types/index.js rename to packages/rspack-test-tools/tests/configCases/trusted-types/no-trusted-types/index.js diff --git a/packages/rspack/tests/configCases/trusted-types/no-trusted-types/webpack.config.js b/packages/rspack-test-tools/tests/configCases/trusted-types/no-trusted-types/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/trusted-types/no-trusted-types/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/trusted-types/no-trusted-types/webpack.config.js diff --git a/packages/rspack/tests/configCases/used-exports/used-exports-global/index.js b/packages/rspack-test-tools/tests/configCases/used-exports/used-exports-global/index.js similarity index 100% rename from packages/rspack/tests/configCases/used-exports/used-exports-global/index.js rename to packages/rspack-test-tools/tests/configCases/used-exports/used-exports-global/index.js diff --git a/packages/rspack/tests/configCases/used-exports/used-exports-global/lib.js b/packages/rspack-test-tools/tests/configCases/used-exports/used-exports-global/lib.js similarity index 100% rename from packages/rspack/tests/configCases/used-exports/used-exports-global/lib.js rename to packages/rspack-test-tools/tests/configCases/used-exports/used-exports-global/lib.js diff --git a/packages/rspack/tests/configCases/used-exports/used-exports-global/sub.js b/packages/rspack-test-tools/tests/configCases/used-exports/used-exports-global/sub.js similarity index 100% rename from packages/rspack/tests/configCases/used-exports/used-exports-global/sub.js rename to packages/rspack-test-tools/tests/configCases/used-exports/used-exports-global/sub.js diff --git a/packages/rspack/tests/configCases/used-exports/used-exports-global/test.config.js b/packages/rspack-test-tools/tests/configCases/used-exports/used-exports-global/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/used-exports/used-exports-global/test.config.js rename to packages/rspack-test-tools/tests/configCases/used-exports/used-exports-global/test.config.js diff --git a/packages/rspack/tests/configCases/used-exports/used-exports-global/webpack.config.js b/packages/rspack-test-tools/tests/configCases/used-exports/used-exports-global/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/used-exports/used-exports-global/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/used-exports/used-exports-global/webpack.config.js diff --git a/packages/rspack/tests/configCases/used-exports/used-exports-true/index.js b/packages/rspack-test-tools/tests/configCases/used-exports/used-exports-true/index.js similarity index 100% rename from packages/rspack/tests/configCases/used-exports/used-exports-true/index.js rename to packages/rspack-test-tools/tests/configCases/used-exports/used-exports-true/index.js diff --git a/packages/rspack/tests/configCases/used-exports/used-exports-true/lib.js b/packages/rspack-test-tools/tests/configCases/used-exports/used-exports-true/lib.js similarity index 100% rename from packages/rspack/tests/configCases/used-exports/used-exports-true/lib.js rename to packages/rspack-test-tools/tests/configCases/used-exports/used-exports-true/lib.js diff --git a/packages/rspack/tests/configCases/used-exports/used-exports-true/sub.js b/packages/rspack-test-tools/tests/configCases/used-exports/used-exports-true/sub.js similarity index 100% rename from packages/rspack/tests/configCases/used-exports/used-exports-true/sub.js rename to packages/rspack-test-tools/tests/configCases/used-exports/used-exports-true/sub.js diff --git a/packages/rspack/tests/configCases/used-exports/used-exports-true/test.config.js b/packages/rspack-test-tools/tests/configCases/used-exports/used-exports-true/test.config.js similarity index 100% rename from packages/rspack/tests/configCases/used-exports/used-exports-true/test.config.js rename to packages/rspack-test-tools/tests/configCases/used-exports/used-exports-true/test.config.js diff --git a/packages/rspack/tests/configCases/used-exports/used-exports-true/webpack.config.js b/packages/rspack-test-tools/tests/configCases/used-exports/used-exports-true/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/used-exports/used-exports-true/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/used-exports/used-exports-true/webpack.config.js diff --git a/packages/rspack/tests/configCases/version/all/index.js b/packages/rspack-test-tools/tests/configCases/version/all/index.js similarity index 100% rename from packages/rspack/tests/configCases/version/all/index.js rename to packages/rspack-test-tools/tests/configCases/version/all/index.js diff --git a/packages/rspack/tests/configCases/version/all/webpack.config.js b/packages/rspack-test-tools/tests/configCases/version/all/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/version/all/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/version/all/webpack.config.js diff --git a/packages/rspack/tests/configCases/version/array/index.js b/packages/rspack-test-tools/tests/configCases/version/array/index.js similarity index 100% rename from packages/rspack/tests/configCases/version/array/index.js rename to packages/rspack-test-tools/tests/configCases/version/array/index.js diff --git a/packages/rspack/tests/configCases/version/array/webpack.config.js b/packages/rspack-test-tools/tests/configCases/version/array/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/version/array/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/version/array/webpack.config.js diff --git a/packages/rspack/tests/configCases/version/auto/index.js b/packages/rspack-test-tools/tests/configCases/version/auto/index.js similarity index 100% rename from packages/rspack/tests/configCases/version/auto/index.js rename to packages/rspack-test-tools/tests/configCases/version/auto/index.js diff --git a/packages/rspack/tests/configCases/version/auto/webpack.config.js b/packages/rspack-test-tools/tests/configCases/version/auto/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/version/auto/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/version/auto/webpack.config.js diff --git a/packages/rspack/tests/configCases/worker/worker-webpack-chunk-name/a.js b/packages/rspack-test-tools/tests/configCases/worker/worker-webpack-chunk-name/a.js similarity index 100% rename from packages/rspack/tests/configCases/worker/worker-webpack-chunk-name/a.js rename to packages/rspack-test-tools/tests/configCases/worker/worker-webpack-chunk-name/a.js diff --git a/packages/rspack/tests/configCases/worker/worker-webpack-chunk-name/index.js b/packages/rspack-test-tools/tests/configCases/worker/worker-webpack-chunk-name/index.js similarity index 100% rename from packages/rspack/tests/configCases/worker/worker-webpack-chunk-name/index.js rename to packages/rspack-test-tools/tests/configCases/worker/worker-webpack-chunk-name/index.js diff --git a/packages/rspack/tests/configCases/worker/worker-webpack-chunk-name/webpack.config.js b/packages/rspack-test-tools/tests/configCases/worker/worker-webpack-chunk-name/webpack.config.js similarity index 100% rename from packages/rspack/tests/configCases/worker/worker-webpack-chunk-name/webpack.config.js rename to packages/rspack-test-tools/tests/configCases/worker/worker-webpack-chunk-name/webpack.config.js diff --git a/packages/rspack/tests/ConfigTestCases.basictest.js b/packages/rspack/tests/ConfigTestCases.basictest.js deleted file mode 100644 index 8c8e0933c66..00000000000 --- a/packages/rspack/tests/ConfigTestCases.basictest.js +++ /dev/null @@ -1,5 +0,0 @@ -const { describeCases } = require("./ConfigTestCases.template"); - -describeCases({ - name: "ConfigTestCases" -}); diff --git a/packages/rspack/tests/ConfigTestCases.template.js b/packages/rspack/tests/ConfigTestCases.template.js deleted file mode 100644 index da78300ad32..00000000000 --- a/packages/rspack/tests/ConfigTestCases.template.js +++ /dev/null @@ -1,766 +0,0 @@ -"use strict"; - -require("./helpers/warmup-webpack"); - -const path = require("path"); -const fs = require("graceful-fs"); -const vm = require("vm"); -const { URL, pathToFileURL, fileURLToPath } = require("url"); -const rimraf = require("rimraf"); -const checkArrayExpectation = require("./checkArrayExpectation"); -const createLazyTestEnv = require("./helpers/createLazyTestEnv"); -const deprecationTracking = require("./helpers/deprecationTracking"); -const FakeDocument = require("./helpers/FakeDocument"); -const CurrentScript = require("./helpers/CurrentScript"); - -const prepareOptions = require("./helpers/prepareOptions"); -const { parseResource } = require("./lib/util/identifier"); -const captureStdio = require("./helpers/captureStdio"); -const asModule = require("./helpers/asModule"); -const filterInfraStructureErrors = require("./helpers/infrastructureLogErrors"); - -const casesPath = path.join(__dirname, "configCases"); -const categories = fs.readdirSync(casesPath).map(cat => { - return { - name: cat, - tests: fs - .readdirSync(path.join(casesPath, cat)) - .filter(folder => !folder.startsWith("_")) - .sort() - }; -}); - -const createLogger = appendTarget => { - return { - log: l => appendTarget.push(l), - debug: l => appendTarget.push(l), - trace: l => appendTarget.push(l), - info: l => appendTarget.push(l), - warn: console.warn.bind(console), - error: console.error.bind(console), - logTime: () => {}, - group: () => {}, - groupCollapsed: () => {}, - groupEnd: () => {}, - profile: () => {}, - profileEnd: () => {}, - clear: () => {}, - status: () => {} - }; -}; - -const TIMEOUT = 10_000; - -const describeCases = config => { - describe(config.name, () => { - let stderr; - beforeEach(() => { - stderr = captureStdio(process.stderr, true); - }); - afterEach(() => { - if (stderr) { - stderr.restore(); - } - }); - jest.setTimeout(TIMEOUT); - - for (const category of categories) { - // eslint-disable-next-line no-loop-func - describe(category.name, () => { - for (const testName of category.tests) { - // eslint-disable-next-line no-loop-func - describe(testName, function () { - const testDirectory = path.join(casesPath, category.name, testName); - const filterPath = path.join(testDirectory, "test.filter.js"); - if (fs.existsSync(filterPath) && !require(filterPath)()) { - describe.skip(testName, () => { - it("filtered", () => {}); - }); - return; - } - const infraStructureLog = []; - const outBaseDir = path.join(__dirname, "js"); - const testSubPath = path.join(config.name, category.name, testName); - const outputDirectory = path.join(outBaseDir, testSubPath); - const cacheDirectory = path.join(outBaseDir, ".cache", testSubPath); - let options, optionsArr, testConfig; - beforeAll(() => { - expect(() => { - options = prepareOptions( - require(path.join(testDirectory, "webpack.config.js")), - { testPath: outputDirectory } - ); - }).not.toThrow(); - optionsArr = [].concat(options); - optionsArr.forEach((options, idx) => { - if (!options.context) options.context = testDirectory; - if (!options.mode) options.mode = "production"; - if (!options.optimization) options.optimization = {}; - if (options.optimization.minimize === undefined) - options.optimization.minimize = false; - if (!options.experiments) { - options.experiments = {}; - } - if (!options.experiments.rspackFuture) { - options.experiments.rspackFuture = { - newTreeshaking: true - }; - } - // CHANGE: use rspack internal swc minimizer - // if (options.optimization.minimizer === undefined) { - // options.optimization.minimizer = [ - // new (require("terser-webpack-plugin"))({ - // parallel: false - // }) - // ]; - // } - if (!options.entry) options.entry = "./index.js"; - if (!options.target) options.target = "async-node"; - if (!options.output) options.output = {}; - if (!options.devtool) options.devtool = false; - if (options.cache === undefined) options.cache = false; - if (!options.output.path) options.output.path = outputDirectory; - // CHANGE: rspack does not support `pathinfo` yet. - // if (typeof options.output.pathinfo === "undefined") - // options.output.pathinfo = true; - if (!options.output.filename) - options.output.filename = - "bundle" + - idx + - (options.experiments && options.experiments.outputModule - ? ".mjs" - : ".js"); - if (config.cache) { - options.cache = { - cacheDirectory, - name: `config-${idx}`, - ...config.cache - }; - options.infrastructureLogging = { - debug: true, - console: createLogger(infraStructureLog) - }; - } - if (!options.snapshot) options.snapshot = {}; - // CHANGE: rspack does not support `snapshot.managedPaths` yet - // if (!options.snapshot.managedPaths) { - // options.snapshot.managedPaths = [ - // path.resolve(__dirname, "../node_modules") - // ]; - // } - }); - testConfig = { - findBundle: function (i, options) { - const ext = path.extname( - parseResource(options.output.filename).path - ); - if ( - fs.existsSync( - path.join(options.output.path, "bundle" + i + ext) - ) - ) { - return "./bundle" + i + ext; - } - }, - timeout: TIMEOUT - }; - try { - // try to load a test file - testConfig = Object.assign( - testConfig, - require(path.join(testDirectory, "test.config.js")) - ); - } catch (e) { - // ignored - } - if (testConfig.timeout) setDefaultTimeout(testConfig.timeout); - }); - afterAll(() => { - // cleanup - options = undefined; - optionsArr = undefined; - testConfig = undefined; - }); - beforeAll(() => { - rimraf.sync(cacheDirectory); - }); - const handleFatalError = (err, done) => { - const fakeStats = { - errors: [ - { - message: err.message, - stack: err.stack - } - ] - }; - if ( - checkArrayExpectation( - testDirectory, - fakeStats, - "error", - "Error", - done - ) - ) { - return; - } - // Wait for uncaught errors to occur - setTimeout(done, 200); - return; - }; - if (config.cache) { - it( - `${testName} should pre-compile to fill disk cache (1st)`, - done => { - rimraf.sync(outputDirectory); - fs.mkdirSync(outputDirectory, { recursive: true }); - infraStructureLog.length = 0; - const deprecationTracker = deprecationTracking.start(); - require("@rspack/core").rspack(options, err => { - deprecationTracker(); - const infrastructureLogging = stderr.toString(); - if (infrastructureLogging) { - return done( - new Error( - "Errors/Warnings during build:\n" + - infrastructureLogging - ) - ); - } - const infrastructureLogErrors = filterInfraStructureErrors( - infraStructureLog, - { - run: 1, - options - } - ); - if ( - infrastructureLogErrors.length && - checkArrayExpectation( - testDirectory, - { infrastructureLogs: infrastructureLogErrors }, - "infrastructureLog", - "infrastructure-log", - "InfrastructureLog", - done - ) - ) { - return; - } - if (err) return handleFatalError(err, done); - done(); - }); - }, - TIMEOUT - ); - it( - `${testName} should pre-compile to fill disk cache (2nd)`, - done => { - rimraf.sync(outputDirectory); - fs.mkdirSync(outputDirectory, { recursive: true }); - infraStructureLog.length = 0; - const deprecationTracker = deprecationTracking.start(); - require("..")(options, (err, stats) => { - deprecationTracker(); - if (err) return handleFatalError(err, done); - const { errorsCount } = stats.toJson({ - all: false, - modules: true, - errorsCount: true - }); - if (errorsCount === 0) { - const infrastructureLogging = stderr.toString(); - if (infrastructureLogging) { - return done( - new Error( - "Errors/Warnings during build:\n" + - infrastructureLogging - ) - ); - } - const allModules = children - ? children.reduce( - (all, { modules }) => all.concat(modules), - modules || [] - ) - : modules; - if ( - allModules.some( - m => m.type !== "cached modules" && !m.cached - ) - ) { - return done( - new Error( - `Some modules were not cached:\n${stats.toString({ - all: false, - modules: true, - modulesSpace: 100 - })}` - ) - ); - } - } - const infrastructureLogErrors = filterInfraStructureErrors( - infraStructureLog, - { - run: 2, - options - } - ); - if ( - infrastructureLogErrors.length && - checkArrayExpectation( - testDirectory, - { infrastructureLogs: infrastructureLogErrors }, - "infrastructureLog", - "infrastructure-log", - "InfrastructureLog", - done - ) - ) { - return; - } - done(); - }); - }, - TIMEOUT - ); - } - it( - `${testName} should compile`, - done => { - rimraf.sync(outputDirectory); - fs.mkdirSync(outputDirectory, { recursive: true }); - infraStructureLog.length = 0; - const deprecationTracker = deprecationTracking.start(); - const onCompiled = (err, stats) => { - const deprecations = deprecationTracker(); - if (err) return handleFatalError(err, done); - const statOptions = { - preset: "verbose", - colors: false - }; - fs.mkdirSync(outputDirectory, { recursive: true }); - fs.writeFileSync( - path.join(outputDirectory, "stats.txt"), - stats.toString(statOptions), - "utf-8" - ); - const jsonStats = stats.toJson({ - errorDetails: true - }); - fs.writeFileSync( - path.join(outputDirectory, "stats.json"), - JSON.stringify(jsonStats, null, 2), - "utf-8" - ); - if ( - checkArrayExpectation( - testDirectory, - jsonStats, - "error", - "Error", - done - ) - ) { - return; - } - if ( - checkArrayExpectation( - testDirectory, - jsonStats, - "warning", - "Warning", - done - ) - ) { - return; - } - const infrastructureLogging = stderr.toString(); - if (infrastructureLogging) { - return done( - new Error( - "Errors/Warnings during build:\n" + - infrastructureLogging - ) - ); - } - if ( - checkArrayExpectation( - testDirectory, - { deprecations }, - "deprecation", - "Deprecation", - done - ) - ) { - return; - } - const infrastructureLogErrors = filterInfraStructureErrors( - infraStructureLog, - { - run: 3, - options - } - ); - if ( - infrastructureLogErrors.length && - checkArrayExpectation( - testDirectory, - { infrastructureLogs: infrastructureLogErrors }, - "infrastructureLog", - "infrastructure-log", - "InfrastructureLog", - done - ) - ) { - return; - } - - let filesCount = 0; - - if (testConfig.noTests) return process.nextTick(done); - if (testConfig.beforeExecute) testConfig.beforeExecute(); - const results = []; - for (let i = 0; i < optionsArr.length; i++) { - const options = optionsArr[i]; - const bundlePath = testConfig.findBundle(i, optionsArr[i]); - if (bundlePath) { - filesCount++; - const document = new FakeDocument(outputDirectory); - const globalContext = { - console: console, - expect: expect, - setTimeout: setTimeout, - clearTimeout: clearTimeout, - document, - getComputedStyle: - document.getComputedStyle.bind(document), - location: { - href: "https://test.cases/path/index.html", - origin: "https://test.cases", - toString() { - return "https://test.cases/path/index.html"; - } - } - }; - - const requireCache = Object.create(null); - const esmCache = new Map(); - const esmIdentifier = `${category.name}-${testName}-${i}`; - const baseModuleScope = { - console: console, - it: _it, - beforeEach: _beforeEach, - afterEach: _afterEach, - expect, - jest, - __STATS__: jsonStats, - nsObj: m => { - Object.defineProperty(m, Symbol.toStringTag, { - value: "Module" - }); - return m; - } - }; - - let runInNewContext = false; - if ( - options.target === "web" || - options.target === "webworker" - ) { - baseModuleScope.window = globalContext; - baseModuleScope.self = globalContext; - baseModuleScope.URL = URL; - baseModuleScope.Worker = - require("./helpers/createFakeWorker")({ - outputDirectory - }); - runInNewContext = true; - } - if (testConfig.moduleScope) { - testConfig.moduleScope(baseModuleScope); - } - const esmContext = vm.createContext(baseModuleScope, { - name: "context for esm" - }); - - // eslint-disable-next-line no-loop-func - const _require = ( - currentDirectory, - options, - module, - esmMode, - parentModule - ) => { - if (testConfig === undefined) { - throw new Error( - `_require(${module}) called after all tests from ${category.name} ${testName} have completed` - ); - } - if (Array.isArray(module) || /^\.\.?\//.test(module)) { - let content; - let p; - let subPath = ""; - if (Array.isArray(module)) { - p = path.join( - currentDirectory, - ".array-require.js" - ); - content = `module.exports = (${module - .map(arg => { - return `require(${JSON.stringify(`./${arg}`)})`; - }) - .join(", ")});`; - } else { - p = path.join(currentDirectory, module); - content = fs.readFileSync(p, "utf-8"); - const lastSlash = module.lastIndexOf("/"); - let firstSlash = module.indexOf("/"); - - if (lastSlash !== -1 && firstSlash !== lastSlash) { - if (firstSlash !== -1) { - let next = module.indexOf("/", firstSlash + 1); - let dir = module.slice(firstSlash + 1, next); - - while (dir === ".") { - firstSlash = next; - next = module.indexOf("/", firstSlash + 1); - dir = module.slice(firstSlash + 1, next); - } - } - - subPath = module.slice( - firstSlash + 1, - lastSlash + 1 - ); - } - } - const isModule = - p.endsWith(".mjs") && - options.experiments && - options.experiments.outputModule; - - if (isModule) { - if (!vm.SourceTextModule) - throw new Error( - "Running this test requires '--experimental-vm-modules'.\nRun with 'node --experimental-vm-modules node_modules/jest-cli/bin/jest'." - ); - let esm = esmCache.get(p); - if (!esm) { - esm = new vm.SourceTextModule(content, { - identifier: esmIdentifier + "-" + p, - url: - pathToFileURL(p).href + "?" + esmIdentifier, - context: esmContext, - initializeImportMeta: (meta, module) => { - meta.url = pathToFileURL(p).href; - }, - importModuleDynamically: async ( - specifier, - module - ) => { - const result = await _require( - path.dirname(p), - options, - specifier, - "evaluated", - module - ); - return await asModule(result, module.context); - } - }); - esmCache.set(p, esm); - } - if (esmMode === "unlinked") return esm; - return (async () => { - await esm.link( - async (specifier, referencingModule) => { - return await asModule( - await _require( - path.dirname( - referencingModule.identifier - ? referencingModule.identifier.slice( - esmIdentifier.length + 1 - ) - : fileURLToPath(referencingModule.url) - ), - options, - specifier, - "unlinked", - referencingModule - ), - referencingModule.context, - true - ); - } - ); - // node.js 10 needs instantiate - if (esm.instantiate) esm.instantiate(); - await esm.evaluate(); - if (esmMode === "evaluated") return esm; - const ns = esm.namespace; - return ns.default && ns.default instanceof Promise - ? ns.default - : ns; - })(); - } else { - if (p in requireCache) { - return requireCache[p].exports; - } - const m = { - exports: {} - }; - requireCache[p] = m; - const moduleScope = { - ...baseModuleScope, - require: _require.bind( - null, - path.dirname(p), - options - ), - importScripts: url => { - expect(url).toMatch( - /^https:\/\/test\.cases\/path\// - ); - _require( - outputDirectory, - options, - `.${url.slice( - "https://test.cases/path".length - )}` - ); - }, - module: m, - exports: m.exports, - __dirname: path.dirname(p), - __filename: p, - _globalAssign: { expect } - }; - if (testConfig.moduleScope) { - testConfig.moduleScope(moduleScope); - } - if (!runInNewContext) - content = `Object.assign(global, _globalAssign); ${content}`; - const args = Object.keys(moduleScope); - const argValues = args.map(arg => moduleScope[arg]); - const code = `(function(${args.join( - ", " - )}) {${content}\n})`; - - let oldCurrentScript = document.currentScript; - document.currentScript = new CurrentScript(subPath); - const fn = runInNewContext - ? vm.runInNewContext(code, globalContext, p) - : vm.runInThisContext(code, p); - fn.call( - testConfig.nonEsmThis - ? testConfig.nonEsmThis(module) - : m.exports, - ...argValues - ); - document.currentScript = oldCurrentScript; - return m.exports; - } - } else if ( - testConfig.modules && - module in testConfig.modules - ) { - return testConfig.modules[module]; - } else { - return require(module.startsWith("node:") - ? module.slice(5) - : module); - } - }; - - try { - if (Array.isArray(bundlePath)) { - for (const bundlePathItem of bundlePath) { - results.push( - _require( - outputDirectory, - options, - "./" + bundlePathItem - ) - ); - } - } else { - results.push( - _require(outputDirectory, options, bundlePath) - ); - } - } catch (err) { - // Abort early if `_require` throws - return handleFatalError(err, done); - } - } - } - // give a free pass to compilation that generated an error - if ( - !jsonStats.errors.length && - filesCount !== optionsArr.length - ) { - return done( - new Error( - "Should have found at least one bundle file per webpack config" - ) - ); - } - Promise.all(results) - .then(() => { - if (testConfig.afterExecute) testConfig.afterExecute(); - for (const key of Object.keys(global)) { - if (key.includes("webpack")) delete global[key]; - } - if (getNumberOfTests() < filesCount) { - return done( - new Error( - "No tests exported by test case" + - getNumberOfTests() + - " " + - filesCount - ) - ); - } - done(); - }) - .catch(done); - }; - if (config.cache) { - try { - const compiler = require("..")(options); - compiler.run(err => { - if (err) return handleFatalError(err, done); - compiler.run((error, stats) => { - compiler.close(err => { - if (err) return handleFatalError(err, done); - onCompiled(error, stats); - }); - }); - }); - } catch (e) { - handleFatalError(e, done); - } - } else { - require("..")(options, onCompiled); - } - }, - TIMEOUT - ); - - const { - it: _it, - beforeEach: _beforeEach, - afterEach: _afterEach, - setDefaultTimeout, - getNumberOfTests - } = createLazyTestEnv(TIMEOUT); - }); - } - }); - } - }); -}; - -exports.describeCases = describeCases; diff --git a/packages/rspack/tests/configCases/target/async-node/index.js b/packages/rspack/tests/configCases/target/async-node/index.js deleted file mode 100644 index aef9efd4f2e..00000000000 --- a/packages/rspack/tests/configCases/target/async-node/index.js +++ /dev/null @@ -1,12 +0,0 @@ -const fs = require("fs"); - -it("basic", () => { - const os = require("os"); - const cpus = os.cpus(); - expect(cpus.length).toBeGreaterThan(0); -}); - -it("format", () => { - const content = fs.readFileSync(__filename, "utf-8"); - expect(content).toMatch(/.cpus/); -}); diff --git a/packages/rspack/tests/configCases/target/async-node/webpack.config.js b/packages/rspack/tests/configCases/target/async-node/webpack.config.js deleted file mode 100644 index 0ab3e91dfc5..00000000000 --- a/packages/rspack/tests/configCases/target/async-node/webpack.config.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports = { - target: "async-node" -}; diff --git a/packages/rspack/tests/configCases/target/mix-cjs-esm/cjs.js b/packages/rspack/tests/configCases/target/mix-cjs-esm/cjs.js deleted file mode 100644 index 4ddf1bdf13c..00000000000 --- a/packages/rspack/tests/configCases/target/mix-cjs-esm/cjs.js +++ /dev/null @@ -1,8 +0,0 @@ -const cjs = require("./lib/cjs"); -const esm = require("./lib/esm"); - -exports.getFilePath = async function () { - const cjsLib = await cjs.getFilePath(); - const esmLib = await esm.getFilePath(); - return ["cjs.js", cjsLib, esmLib].join("|"); -}; diff --git a/packages/rspack/tests/configCases/target/mix-cjs-esm/esm.js b/packages/rspack/tests/configCases/target/mix-cjs-esm/esm.js deleted file mode 100644 index 82e48834fbb..00000000000 --- a/packages/rspack/tests/configCases/target/mix-cjs-esm/esm.js +++ /dev/null @@ -1,8 +0,0 @@ -import cjs from "./lib/cjs"; -import { getFilePath as esmGetFilePath } from "./lib/esm"; - -export async function getFilePath() { - const cjsLib = await cjs.getFilePath(); - const esmLib = await esmGetFilePath(); - return ["esm.js", cjsLib, esmLib].join("|"); -} diff --git a/packages/rspack/tests/configCases/target/mix-cjs-esm/index.js b/packages/rspack/tests/configCases/target/mix-cjs-esm/index.js deleted file mode 100644 index c6666a104be..00000000000 --- a/packages/rspack/tests/configCases/target/mix-cjs-esm/index.js +++ /dev/null @@ -1,7 +0,0 @@ -const cjs = require("./cjs"); -const esm = require("./esm"); - -it("should mix cjs and esm works", async () => { - expect(await cjs.getFilePath()).toBe("cjs.js|lib/cjs.js|lib/esm.js"); - expect(await esm.getFilePath()).toBe("esm.js|lib/cjs.js|lib/esm.js"); -}); diff --git a/packages/rspack/tests/configCases/target/mix-cjs-esm/lib/cjs.js b/packages/rspack/tests/configCases/target/mix-cjs-esm/lib/cjs.js deleted file mode 100644 index 2df29813d76..00000000000 --- a/packages/rspack/tests/configCases/target/mix-cjs-esm/lib/cjs.js +++ /dev/null @@ -1,3 +0,0 @@ -exports.getFilePath = async function () { - return "lib/cjs.js"; -}; diff --git a/packages/rspack/tests/configCases/target/mix-cjs-esm/lib/esm.js b/packages/rspack/tests/configCases/target/mix-cjs-esm/lib/esm.js deleted file mode 100644 index 6377bedbb33..00000000000 --- a/packages/rspack/tests/configCases/target/mix-cjs-esm/lib/esm.js +++ /dev/null @@ -1,3 +0,0 @@ -export async function getFilePath() { - return "lib/esm.js"; -} diff --git a/packages/rspack/tests/configCases/target/mix-cjs-esm/webpack.config.js b/packages/rspack/tests/configCases/target/mix-cjs-esm/webpack.config.js deleted file mode 100644 index e25efe76128..00000000000 --- a/packages/rspack/tests/configCases/target/mix-cjs-esm/webpack.config.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports = { - target: ["node", "es5"] -}; diff --git a/packages/rspack/tests/configCases/target/node/index.js b/packages/rspack/tests/configCases/target/node/index.js deleted file mode 100644 index aef9efd4f2e..00000000000 --- a/packages/rspack/tests/configCases/target/node/index.js +++ /dev/null @@ -1,12 +0,0 @@ -const fs = require("fs"); - -it("basic", () => { - const os = require("os"); - const cpus = os.cpus(); - expect(cpus.length).toBeGreaterThan(0); -}); - -it("format", () => { - const content = fs.readFileSync(__filename, "utf-8"); - expect(content).toMatch(/.cpus/); -}); diff --git a/packages/rspack/tests/configCases/target/node/webpack.config.js b/packages/rspack/tests/configCases/target/node/webpack.config.js deleted file mode 100644 index d9d43c05c19..00000000000 --- a/packages/rspack/tests/configCases/target/node/webpack.config.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports = { - target: "node" -}; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 75adc136603..0abc055141c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -751,6 +751,9 @@ importers: '@rspack/cli': specifier: workspace:* version: link:../rspack-cli + '@rspack/plugin-minify': + specifier: workspace:* + version: link:../rspack-plugin-minify '@swc/jest': specifier: ^0.2.29 version: 0.2.36(@swc/core@1.4.0) diff --git a/webpack-test/configCases/container/0-container-full/webpack.config.js b/webpack-test/configCases/container/0-container-full/webpack.config.js index ecceb63bd99..440c439c60e 100644 --- a/webpack-test/configCases/container/0-container-full/webpack.config.js +++ b/webpack-test/configCases/container/0-container-full/webpack.config.js @@ -1,4 +1,4 @@ -const { ModuleFederationPluginV1: ModuleFederationPlugin } = require("../../../../").container; +const { ModuleFederationPluginV1: ModuleFederationPlugin } = require("@rspack/core").container; /** @type {ConstructorParameters[0]} */ const common = {