Skip to content

Commit 5466ca9

Browse files
authored
feat: add axiom web vitals (#725)
1 parent 099a74a commit 5466ca9

File tree

3 files changed

+12828
-7403
lines changed

3 files changed

+12828
-7403
lines changed

next.config.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
/** @type {import('next').NextConfig} */
2+
const { withAxiom } = require("next-axiom");
23

3-
module.exports = {
4+
module.exports = withAxiom({
45
rewrites() {
56
return {
67
beforeFiles: [],
@@ -25,4 +26,4 @@ module.exports = {
2526
locales: ["en-US", "zh-CN"],
2627
defaultLocale: "en-US",
2728
},
28-
};
29+
});

0 commit comments

Comments
 (0)