Update of packages and simplification
This commit is contained in:
@@ -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
|
||||
},
|
||||
];
|
||||
},
|
||||
]
|
||||
},
|
||||
]);
|
||||
}
|
||||
Reference in New Issue
Block a user