You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I actually was not able to implement next-pwa into my esm config alongside the bundle analyzer and axiom.
I looked at this template to solve the problem, but I was not able to get it working
import{withAxiom}from'next-axiom'importwithBundleAnalyzerfrom'@next/bundle-analyzer'importpkgfrom'./next-i18next.config.js'const{ i18n }=pkg// create the bundle analyzer configconstwithMyBundleAnalyzer=withBundleAnalyzer({enabled: process.env.ANALYZE==='true'})/** * Run `build` or `dev` with `SKIP_ENV_VALIDATION` to skip env validation. * This is especially useful for Docker builds. */!process.env.SKIP_ENV_VALIDATION&&(awaitimport('./src/env.mjs'))/** @type {import("next").NextConfig} */constconfig=withMyBundleAnalyzer(withAxiom({reactStrictMode: true,
i18n
}))exportdefaultconfig
The text was updated successfully, but these errors were encountered:
Hi, I actually was not able to implement next-pwa into my esm config alongside the bundle analyzer and axiom.
I looked at this template to solve the problem, but I was not able to get it working
The text was updated successfully, but these errors were encountered: