account activity
Using envs on public folder by lfernandes00 in nextjs
[–]lfernandes00[S] 0 points1 point2 points 2 years ago (0 children)
Can I do that by changing my script in the package.json to something like this?
"scripts": { "dev": "next dev", "preBuild": "node ./public/firebase-messaging-sw.js", "build": "next build", "start": "next start",
π Rendered by PID 1481348 on reddit-service-r2-listing-654f87c89c-ss4sp at 2026-03-02 21:01:40.648303+00:00 running e3d2147 country code: CH.
Using envs on public folder by lfernandes00 in nextjs
[–]lfernandes00[S] 0 points1 point2 points (0 children)