mirror of
https://github.com/XFox111/my-website.git
synced 2026-04-22 07:28:01 +03:00
feat!: site refresh + dependency update
This commit is contained in:
@@ -28,6 +28,50 @@ const nextConfig = {
|
||||
]
|
||||
}
|
||||
];
|
||||
},
|
||||
|
||||
turbopack:
|
||||
{
|
||||
rules:
|
||||
{
|
||||
"*.svg":
|
||||
{
|
||||
condition:
|
||||
{
|
||||
// apply only for @fluentui/svg-icons package
|
||||
path: /node_modules[\\/]@fluentui[\\/]svg-icons[\\/]/
|
||||
},
|
||||
as: "*.js",
|
||||
loaders:
|
||||
[
|
||||
{
|
||||
loader: "@svgr/webpack",
|
||||
options:
|
||||
{
|
||||
icon: true,
|
||||
expandProps: true,
|
||||
svgoConfig:
|
||||
{
|
||||
plugins:
|
||||
[
|
||||
{
|
||||
name: "preset-default",
|
||||
params:
|
||||
{
|
||||
overrides:
|
||||
{
|
||||
cleanupIds: true,
|
||||
removeViewBox: false
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user