Update of packages and simplification

This commit is contained in:
Christian Anetzberger
2022-02-15 13:12:45 +01:00
parent 01907eb338
commit 3f9bbf2f27
22 changed files with 7086 additions and 6399 deletions

View File

@@ -1,34 +1,16 @@
const path = require("path");
const withPlugins = require("next-compose-plugins");
const optimizedImages = require("next-optimized-images");
module.exports = withPlugins([
[
optimizedImages,
{
mozjpeg: {
quality: 70,
},
svgo: {
plugins: [{ removeComments: false }],
},
},
],
{
sassOptions: {
includePaths: [path.join(__dirname, "styles")],
},
async rewrites() {
return [
{
module.exports = {
async redirects() {
return [
{
source: "/fertigungsverfahren",
destination: "/fertigungsverfahren/laserteile",
permanent: true
},
{
source: "/qualitaet",
destination: "/qualitaet/auszeichnungen",
permanent: true
},
];
},
]
},
]);
}