Closed devrsi0n closed 2 years ago
It looks like we did use <script>
in head
. Can we use next/script
as the doc suggested?
Hi @devrsi0n,
I noticed this morning and fixed it in https://github.com/4lejandrito/next-plausible/pull/35. The problem is that there is a bug in nextjs (https://github.com/vercel/next.js/issues/33686) that breaks the expected behaviour, so I cannot merge it.
@4lejandrito Thanks for the quick response, let's hold it until next.js fixes it.
In the meantime I've published next-plausible@3.1.5
with https://github.com/4lejandrito/next-plausible/commit/db666f59ab01100d4d1d99e082fabc05c3303267 to at least avoid the warning when running next dev
.
Thanks, that's helpful!
When I migrate chirpy to next@12.1, there is a warning about script usage with next-plausible.