feat: bug fixes and update core deps

This commit is contained in:
Travis Fischer
2022-03-24 23:34:40 -04:00
parent ea64a04cbb
commit c7a80fb035
11 changed files with 141 additions and 137 deletions

View File

@@ -1,15 +1,8 @@
const withPlugins = require('next-compose-plugins')
// const withTM = require('next-transpile-modules')([
// 'react-notion-x',
// 'notion-client',
// 'notion-utils',
// 'notion-types'
// ])
const withBundleAnalyzer = require('@next/bundle-analyzer')({
enabled: process.env.ANALYZE === 'true'
})
import withBundleAnalyzer from '@next/bundle-analyzer'
module.exports = withPlugins([withBundleAnalyzer], {
export default withBundleAnalyzer({
enabled: process.env.ANALYZE === 'true'
})({
staticPageGenerationTimeout: 300,
images: {
domains: [