25 lines
469 B
JavaScript
25 lines
469 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
images: {
|
|
remotePatterns: [
|
|
{
|
|
protocol: "https",
|
|
hostname: "eu-images.contentstack.com",
|
|
pathname: "/v3/assets/**",
|
|
},
|
|
],
|
|
},
|
|
|
|
webpack: function (config, options) {
|
|
config.module.rules.push({
|
|
test: /\.(graphql|gql)/,
|
|
exclude: /node_modules/,
|
|
loader: "graphql-tag/loader"
|
|
});
|
|
|
|
return config;
|
|
}
|
|
};
|
|
|
|
module.exports = nextConfig;
|