You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Portfolio/next.config.js

19 lines
357 B

// @ts-check
/**
* @type {import('next').NextConfig}
*/
module.exports = {
images: {
loader: 'imgix',
path: process.env.IMGIX_PATH || 'https://guusvanmeerveld.imgix.net',
},
env: {
CDN_ENDPOINT: process.env.CDN_ENDPOINT,
},
webpack: (config) => {
config.module.rules.push({ test: /\.svg$/, use: ['@svgr/webpack'] });
return config;
},
};