feat: add cypress

This commit is contained in:
Simon Emanuelsson
2024-02-29 10:35:40 +01:00
parent 57d7ab3092
commit b130ce11c6
16 changed files with 4645 additions and 17 deletions

View File

@@ -8,6 +8,11 @@ jiti("./env/client")
/** @type {import('next').NextConfig} */
const nextConfig = {
eslint: { ignoreDuringBuilds: true },
generateBuildId: async () => {
return process.env.BUILD_ID
},
images: {
remotePatterns: [
{
@@ -18,6 +23,14 @@ const nextConfig = {
],
},
logging: {
fetches: {
fullUrl: true,
},
},
output: "standalone",
webpack: function (config, options) {
config.module.rules.push({
test: /\.(graphql|gql)/,
@@ -25,14 +38,8 @@ const nextConfig = {
loader: "graphql-tag/loader",
})
return config;
return config
},
logging: {
fetches: {
fullUrl: true,
},
},
};
}
export default nextConfig