diff --git a/webpack-test/ConfigTestCases.template.js b/webpack-test/ConfigTestCases.template.js index efb9ff817765..a87829c65ef0 100644 --- a/webpack-test/ConfigTestCases.template.js +++ b/webpack-test/ConfigTestCases.template.js @@ -137,6 +137,9 @@ const describeCases = config => { // path.resolve(__dirname, "../node_modules") // ]; // } + if (!options.experiments) options.experiments = {}; + if (!options.experiments.rspackFuture) options.experiments.rspackFuture = {}; + options.experiments.rspackFuture.newResolver = true; }); testConfig = { findBundle: function(i, options) {