diff --git a/rspack.config.js b/rspack.config.js index c4ee7d9a49..968f30dd4a 100644 --- a/rspack.config.js +++ b/rspack.config.js @@ -82,7 +82,6 @@ module.exports = [ }, { experiments: { - css: true, outputModule: true, }, entry: { @@ -126,7 +125,12 @@ module.exports = [ path.resolve(__dirname, "t/cypress/"), ], type: "javascript/auto", - } + }, + { + test: /\.css$/i, + type: "javascript/auto", + use: ["style-loader", "css-loader"], + }, ], }, plugins: [