From 4e1bb4942550341da4f27df37e06fb95aff24ae5 Mon Sep 17 00:00:00 2001 From: Brian Clemens Date: Wed, 1 May 2024 20:31:56 +0900 Subject: [PATCH] Wrap Next config for Plausible --- next.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/next.config.js b/next.config.js index c764b887..4d02cbbe 100644 --- a/next.config.js +++ b/next.config.js @@ -1,4 +1,5 @@ const withNextIntl = require("next-intl/plugin")("./i18n.ts"); +const { withPlausibleProxy } = require("next-plausible"); /** @type {import('next').NextConfig} */ const nextConfig = { @@ -7,4 +8,4 @@ const nextConfig = { }, }; -module.exports = withNextIntl(nextConfig); +module.exports = withPlausibleProxy()(withNextIntl(nextConfig));