From 94e59f077178a92f5af525bb914bc6ed5ec18fc7 Mon Sep 17 00:00:00 2001 From: Boshen Date: Fri, 20 Oct 2023 16:04:53 +0800 Subject: [PATCH] chore: enable oxc_resolver in webpack tests closes #4317 --- webpack-test/ConfigTestCases.template.js | 3 +++ 1 file changed, 3 insertions(+) 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) {