Open gtokman opened 2 weeks ago
When I to proxy with the following config:
const { withPlausibleProxy } = require('next-plausible') module.exports = withPlausibleProxy()(withBundleAnalyzer(withContentlayer(nextConfig)))
I get the following error:
script.file-downloads.hash.outbound-links.tagged-events.js:1 Uncaught SyntaxError: Unexpected token '<' (at script.file-downloads.hash.outbound-links.tagged-events.js:1:1)
I updated the provider:
<PlausibleProvider domain={domain} trackOutboundLinks trackFileDownloads hash taggedEvents enabled={domain.indexOf('localhost') !== -1 || undefined} trackLocalhost={domain.indexOf('localhost') !== -1} />
Unclear if content layer is causing this error or my next version 14.2.7.
14.2.7
When I to proxy with the following config:
I get the following error:
I updated the provider:
Unclear if content layer is causing this error or my next version
14.2.7
.