Files
react/examples/tree-shaking-nextjs/next.config.js
2020-08-24 18:40:07 +08:00

7 lines
227 B
JavaScript

const withTM = require('next-transpile-modules')(['@geist-ui/react'])
const withBundleAnalyzer = require('@next/bundle-analyzer')({
enabled: process.env.ANALYZE === 'true',
})
module.exports = withTM(withBundleAnalyzer({}))