diff --git a/next.config.js b/next.config.js index a7e6fb4c9..9cf29493f 100644 --- a/next.config.js +++ b/next.config.js @@ -1,10 +1,10 @@ -const nextSourceMaps = require('@zeit/next-source-maps'); + const bundleAnalyzer = require('@next/bundle-analyzer')({ enabled: !!process.env.BUNDLE_ANALYZE }) -module.exports = nextSourceMaps(bundleAnalyzer({ +module.exports = bundleAnalyzer({ images: { domains: ['cdn11.bigcommerce.com'], }, @@ -56,4 +56,4 @@ module.exports = nextSourceMaps(bundleAnalyzer({ }, ] }, -})); +}); diff --git a/package.json b/package.json index 8ad9aab53..4b5569a5a 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,6 @@ "@tailwindcss/ui": "^0.6.2", "@types/lodash.throttle": "^4.1.6", "@vercel/fetch": "^6.1.0", - "@zeit/next-source-maps": "^0.0.3", "bowser": "^2.11.0", "classnames": "^2.2.6", "email-validator": "^2.0.4",