Merged in chore/remove-svgr/webpack (pull request #3071)

remove unused @svgr/webpack

* remove unused @svgr/webpack

* merge


Approved-by: Linus Flood
This commit is contained in:
Joakim Jäderberg
2025-11-05 09:31:09 +00:00
parent 94f6af563d
commit 392db172c4
4 changed files with 30 additions and 1596 deletions

View File

@@ -94,17 +94,11 @@ const nextConfig = {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
webpack: function (config: any) {
config.module.rules.push(
{
test: /\.(graphql|gql)/,
exclude: /node_modules/,
loader: "graphql-tag/loader",
},
{
test: /\.svg$/,
use: ["@svgr/webpack"],
}
)
config.module.rules.push({
test: /\.(graphql|gql)/,
exclude: /node_modules/,
loader: "graphql-tag/loader",
})
return config
},