chore: setup bundle analyzer
This commit is contained in:
parent
cf2d0fdfe1
commit
fc907b02d5
5 changed files with 864 additions and 20 deletions
|
|
@ -1,4 +1,6 @@
|
|||
module.exports = {
|
||||
reactStrictMode: true,
|
||||
transpilePackages: ["ui"],
|
||||
};
|
||||
const withPlugins = require("next-compose-plugins")
|
||||
const withBundleAnalyzer = require("@next/bundle-analyzer")({
|
||||
enabled: process.env.ANALYZE === "true",
|
||||
})
|
||||
|
||||
module.exports = withPlugins([[withBundleAnalyzer]], { reactStrictMode: true, transpilePackages: ["ui"] })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue