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:
@@ -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
|
||||
},
|
||||
|
||||
@@ -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
|
||||
},
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user