diff options
author | Marcin Zelent <marcin@zelent.net> | 2022-11-16 15:16:38 +0100 |
---|---|---|
committer | Marcin Zelent <marcin@zelent.net> | 2022-11-16 15:16:38 +0100 |
commit | f2ecc1803f3ea294a0c6b7915b61348ed0395b26 (patch) | |
tree | e8c6fb1350ae4f659b3f9ef8d17157158b974b16 /next.config.js | |
parent | efb64f24d6200a39870c0e8966ab4f87e07c93a9 (diff) |
Remade and extended the app using React
Diffstat (limited to 'next.config.js')
-rw-r--r-- | next.config.js | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/next.config.js b/next.config.js deleted file mode 100644 index edadc14..0000000 --- a/next.config.js +++ /dev/null @@ -1,34 +0,0 @@ -/* eslint-disable @typescript-eslint/no-var-requires */ -const withPlugins = require('next-compose-plugins'); -const optimizedImages = require('next-optimized-images'); -// eslint-disable-next-line import/no-extraneous-dependencies -const sharp = require('responsive-loader/sharp'); - -module.exports = withPlugins( - [ - [ - optimizedImages, - { - defaultImageLoader: 'responsive-loader', - handleImages: ['jpeg', 'png', 'svg', 'webp', 'gif'], - optimizeImages: true, - optimizeImagesInDev: true, - responsive: { - adapter: sharp, - quality: 75, - size: 1920, - }, - }, - ], - ], - { - webpack: (config) => { - config.module.rules.push({ - test: /\.gpx/, - use: 'raw-loader', - }); - - return config; - }, - }, -); |