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(
|
||||
{
|
||||
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
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user