Skip to content

Commit c0797df

Browse files
committed
Fix Plausible nextConfig import
1 parent 450d0ff commit c0797df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/create-next-stack/src/main/plugins/plausible.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export const plausiblePlugin = createPlugin({
6060
},
6161
nextConfigJs: {
6262
imports: endent`
63-
import { withPlausibleProxy } from "next-plausible";
63+
const { withPlausibleProxy } = require("next-plausible");
6464
`,
6565
wrappersStart: "withPlausibleProxy()(",
6666
wrappersEnd: ")",

0 commit comments

Comments
 (0)