chore: setup open telemetry
This commit is contained in:
parent
f0f305d97a
commit
474a3dc1fb
5 changed files with 521 additions and 6 deletions
|
|
@ -1,6 +1,13 @@
|
|||
const withPlugins = require("next-compose-plugins")
|
||||
/* eslint-disable @typescript-eslint/no-var-requires */
|
||||
const withBundleAnalyzer = require("@next/bundle-analyzer")({
|
||||
enabled: process.env.ANALYZE === "true",
|
||||
})
|
||||
const withPlugins = require("next-compose-plugins")
|
||||
|
||||
module.exports = withPlugins([[withBundleAnalyzer]], { reactStrictMode: true, transpilePackages: ["ui"] })
|
||||
/**
|
||||
* @type {import('next').NextConfig}
|
||||
*/
|
||||
module.exports = withPlugins([[withBundleAnalyzer]], {
|
||||
reactStrictMode: true,
|
||||
experimental: { instrumentationHook: true },
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue