index.ts broke my tree shaking

This commit is contained in:
Belen Curcio
2021-01-11 13:55:45 -03:00
parent 28b244760a
commit 8f9bbe19ca
12 changed files with 28 additions and 34 deletions

View File

@@ -1,8 +1,4 @@
const bundleAnalyzer = require('@next/bundle-analyzer')({
enabled: !!process.env.BUNDLE_ANALYZE,
})
module.exports = bundleAnalyzer({
module.exports = {
images: {
domains: ['cdn11.bigcommerce.com'],
},
@@ -38,4 +34,4 @@ module.exports = bundleAnalyzer({
},
]
},
})
}