feat: add cypress
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user