diff --git a/webpack-test/cases/large/big-assets/index.js b/webpack-test/cases/large/big-assets/index.js index 106c4f2c339..81ac4ad5083 100644 --- a/webpack-test/cases/large/big-assets/index.js +++ b/webpack-test/cases/large/big-assets/index.js @@ -1,4 +1,4 @@ -const createHash = require("../../../../lib/util/hash/xxhash64"); +const createHash = require("@rspack/core/dist/util/hash/xxhash64"); const fs = require("fs"); const h = url => { diff --git a/webpack-test/cases/large/big-assets/test.filter.js b/webpack-test/cases/large/big-assets/test.filter.js index 6fb7deae5b2..3647ce9c8b0 100644 --- a/webpack-test/cases/large/big-assets/test.filter.js +++ b/webpack-test/cases/large/big-assets/test.filter.js @@ -5,6 +5,6 @@ module.exports = function (config) { }; */ -module.exports = () => {return false} +module.exports = () => {return "https://github.com/web-infra-dev/rspack/issues/3180"} \ No newline at end of file diff --git a/webpack-test/cases/large/many-replacements/test.filter.js b/webpack-test/cases/large/many-replacements/test.filter.js index f26da2cb432..1ae95bcd901 100644 --- a/webpack-test/cases/large/many-replacements/test.filter.js +++ b/webpack-test/cases/large/many-replacements/test.filter.js @@ -5,6 +5,6 @@ module.exports = function (config) { }; */ -module.exports = () => {return tr} +module.exports = () => {return "https://github.com/web-infra-dev/rspack/issues/4396"} \ No newline at end of file diff --git a/webpack-test/cases/loaders/async/test.filter.js b/webpack-test/cases/loaders/async/test.filter.js deleted file mode 100644 index 0e2d717f967..00000000000 --- a/webpack-test/cases/loaders/async/test.filter.js +++ /dev/null @@ -1,4 +0,0 @@ - -module.exports = () => {return true} - - \ No newline at end of file diff --git a/webpack-test/cases/loaders/coffee-loader/test.filter.js b/webpack-test/cases/loaders/coffee-loader/test.filter.js index 0557cb116c1..801a0693f49 100644 --- a/webpack-test/cases/loaders/coffee-loader/test.filter.js +++ b/webpack-test/cases/loaders/coffee-loader/test.filter.js @@ -1,4 +1,4 @@ -module.exports = () => {return false} +module.exports = () => {return "https://github.com/web-infra-dev/rspack/issues/4396"} \ No newline at end of file diff --git a/webpack-test/cases/loaders/context/test.filter.js b/webpack-test/cases/loaders/context/test.filter.js index c62d7f60e0c..4dbfb2fa557 100644 --- a/webpack-test/cases/loaders/context/test.filter.js +++ b/webpack-test/cases/loaders/context/test.filter.js @@ -7,6 +7,6 @@ module.exports = config => { }; */ -module.exports = () => {return false} +module.exports = () => {return "https://github.com/web-infra-dev/rspack/issues/4397"} \ No newline at end of file diff --git a/webpack-test/cases/loaders/css-loader/test.filter.js b/webpack-test/cases/loaders/css-loader/test.filter.js deleted file mode 100644 index 0e2d717f967..00000000000 --- a/webpack-test/cases/loaders/css-loader/test.filter.js +++ /dev/null @@ -1,4 +0,0 @@ - -module.exports = () => {return true} - - \ No newline at end of file diff --git a/webpack-test/cases/loaders/import-module/test.filter.js b/webpack-test/cases/loaders/import-module/test.filter.js index 937ca57009c..566c410a79e 100644 --- a/webpack-test/cases/loaders/import-module/test.filter.js +++ b/webpack-test/cases/loaders/import-module/test.filter.js @@ -5,6 +5,6 @@ module.exports = config => { }; */ -module.exports = () => {return false} +module.exports = () => {return "https://github.com/web-infra-dev/rspack/issues/4398"} \ No newline at end of file diff --git a/webpack-test/cases/loaders/json-loader/test.filter.js b/webpack-test/cases/loaders/json-loader/test.filter.js deleted file mode 100644 index 0e2d717f967..00000000000 --- a/webpack-test/cases/loaders/json-loader/test.filter.js +++ /dev/null @@ -1,4 +0,0 @@ - -module.exports = () => {return true} - - \ No newline at end of file diff --git a/webpack-test/cases/loaders/less-loader/test.filter.js b/webpack-test/cases/loaders/less-loader/test.filter.js deleted file mode 100644 index 0e2d717f967..00000000000 --- a/webpack-test/cases/loaders/less-loader/test.filter.js +++ /dev/null @@ -1,4 +0,0 @@ - -module.exports = () => {return true} - - \ No newline at end of file diff --git a/webpack-test/cases/loaders/module-description-file/test.filter.js b/webpack-test/cases/loaders/module-description-file/test.filter.js deleted file mode 100644 index 7961ae75898..00000000000 --- a/webpack-test/cases/loaders/module-description-file/test.filter.js +++ /dev/null @@ -1,4 +0,0 @@ - -module.exports = () => {return "blocked by https://github.com/web-infra-dev/rspack/issues/3737"} - - \ No newline at end of file diff --git a/webpack-test/cases/loaders/pug-loader/test.filter.js b/webpack-test/cases/loaders/pug-loader/test.filter.js index cf024c8d760..35e7eb878cc 100644 --- a/webpack-test/cases/loaders/pug-loader/test.filter.js +++ b/webpack-test/cases/loaders/pug-loader/test.filter.js @@ -1,12 +1,5 @@ - -/* const supportsRequireInModule = require("../../../helpers/supportsRequireInModule"); module.exports = config => { return !config.module || supportsRequireInModule(); }; - -*/ -module.exports = () => {return true} - - \ No newline at end of file diff --git a/webpack-test/cases/loaders/query/test.filter.js b/webpack-test/cases/loaders/query/test.filter.js index 930866336f1..083dd3e5e5d 100644 --- a/webpack-test/cases/loaders/query/test.filter.js +++ b/webpack-test/cases/loaders/query/test.filter.js @@ -1,5 +1,3 @@ +const { FilteredStatus } = require("../../../lib/util/filterUtil") -// Didn't turn on every cases -module.exports = () => {return true} - - \ No newline at end of file +module.exports = () => {return [FilteredStatus.PARTIAL_PASS, "https://github.com/web-infra-dev/rspack/issues/3180, https://github.com/web-infra-dev/rspack/issues/4397"]} diff --git a/webpack-test/cases/loaders/raw-loader/test.filter.js b/webpack-test/cases/loaders/raw-loader/test.filter.js deleted file mode 100644 index 0e2d717f967..00000000000 --- a/webpack-test/cases/loaders/raw-loader/test.filter.js +++ /dev/null @@ -1,4 +0,0 @@ - -module.exports = () => {return true} - - \ No newline at end of file diff --git a/webpack-test/cases/loaders/resolve/test.filter.js b/webpack-test/cases/loaders/resolve/test.filter.js index 11252c2ccb6..9d8b25bfd46 100644 --- a/webpack-test/cases/loaders/resolve/test.filter.js +++ b/webpack-test/cases/loaders/resolve/test.filter.js @@ -1,4 +1,4 @@ -module.exports = () => {return "Rspack does not support resolving a virtual resource with only loader available, see: query test"} +module.exports = () => {return "https://github.com/web-infra-dev/rspack/issues/3180"} \ No newline at end of file diff --git a/webpack-test/cases/loaders/utils/test.filter.js b/webpack-test/cases/loaders/utils/test.filter.js index 1866bde3fbf..f2b579d55d6 100644 --- a/webpack-test/cases/loaders/utils/test.filter.js +++ b/webpack-test/cases/loaders/utils/test.filter.js @@ -1,4 +1,4 @@ -module.exports = () => {return "blocked by context support for loader"} +module.exports = () => {return "https://github.com/web-infra-dev/rspack/issues/4397"} \ No newline at end of file