Skip to content

Commit

Permalink
Wrap Next config for Plausible
Browse files Browse the repository at this point in the history
  • Loading branch information
brianclemens committed May 1, 2024
1 parent 9cde0af commit 4e1bb49
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion next.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
const withNextIntl = require("next-intl/plugin")("./i18n.ts");
const { withPlausibleProxy } = require("next-plausible");

/** @type {import('next').NextConfig} */
const nextConfig = {
Expand All @@ -7,4 +8,4 @@ const nextConfig = {
},
};

module.exports = withNextIntl(nextConfig);
module.exports = withPlausibleProxy()(withNextIntl(nextConfig));

0 comments on commit 4e1bb49

Please sign in to comment.