diff options
| author | Nicolas James <Eele1Ephe7uZahRie@tutanota.com> | 2025-03-08 18:06:01 +1100 |
|---|---|---|
| committer | Nicolas James <Eele1Ephe7uZahRie@tutanota.com> | 2025-03-08 18:06:01 +1100 |
| commit | abcda31ed3631f1ca38c2305b404c931dd4ed61b (patch) | |
| tree | bd0bf6fa883718501dbeedd28edb098521e44c8b /webpack.config.js | |
| parent | ebabf3c6ea537d7ef53634748295cc9411ccdbaf (diff) | |
Correct loading of css from invalid css-loader v3/v4 migration
Diffstat (limited to 'webpack.config.js')
| -rw-r--r-- | webpack.config.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/webpack.config.js b/webpack.config.js index ce4f1da..7b4ec9f 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -25,15 +25,15 @@ module.exports = { type: "asset/resource", }, { - test: /\.css$/i, - use: [ - "style-loader", + test: /\.css$/, + use: ["style-loader", { loader: "css-loader", options: { - importLoaders: 1, - modules: true, - }, + modules: { + namedExport: false, + }, + } }, ], }, |
