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

@@ -29,17 +29,11 @@ const nextConfig: NextConfig = {
},
webpack: function (config) {
config.module.rules.push(
{
config.module.rules.push({
test: /\.(graphql|gql)/,
exclude: /node_modules/,
loader: "graphql-tag/loader",
},
{
test: /\.svg$/,
use: ["@svgr/webpack"],
}
)
})
return config
},

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(
{
config.module.rules.push({
test: /\.(graphql|gql)/,
exclude: /node_modules/,
loader: "graphql-tag/loader",
},
{
test: /\.svg$/,
use: ["@svgr/webpack"],
}
)
})
return config
},

View File

@@ -98,7 +98,6 @@
"@lokalise/node-api": "^14.0.0",
"@react-aria/test-utils": "1.0.0-alpha.8",
"@scandic-hotels/typescript-config": "workspace:*",
"@svgr/webpack": "^8.1.0",
"@testing-library/react": "^16.3.0",
"@testing-library/user-event": "^14.6.1",
"@types/adm-zip": "^0.5.7",

1593
yarn.lock

File diff suppressed because it is too large Load Diff