mirror of
https://github.com/vercel/commerce.git
synced 2025-03-14 22:42:33 +00:00
Adding sourcemaps
This commit is contained in:
parent
d2c8bf1dc9
commit
2b0e5a4ea3
@ -1,8 +1,10 @@
|
||||
|
||||
const nextSourceMaps = require('@zeit/next-source-maps');
|
||||
const bundleAnalyzer = require('@next/bundle-analyzer')({
|
||||
enabled: !!process.env.BUNDLE_ANALYZE
|
||||
})
|
||||
|
||||
module.exports = module.exports = bundleAnalyzer({
|
||||
module.exports = nextSourceMaps(bundleAnalyzer({
|
||||
images: {
|
||||
domains: ['cdn11.bigcommerce.com'],
|
||||
},
|
||||
@ -54,4 +56,4 @@ module.exports = module.exports = bundleAnalyzer({
|
||||
},
|
||||
]
|
||||
},
|
||||
});
|
||||
}));
|
||||
|
@ -19,6 +19,7 @@
|
||||
"@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",
|
||||
|
@ -2090,6 +2090,11 @@
|
||||
async-retry "1.2.3"
|
||||
lru-cache "5.1.1"
|
||||
|
||||
"@zeit/next-source-maps@^0.0.3":
|
||||
version "0.0.3"
|
||||
resolved "https://registry.yarnpkg.com/@zeit/next-source-maps/-/next-source-maps-0.0.3.tgz#d62e93b4f5ccdd542c8530d21f60dd2757d98e3c"
|
||||
integrity sha512-gFDf7yQI8r/fdzTKJG9cp0rhKscRJWs/uebhScj8nZINT16kPTVm23JAi5EivO5pAJmHGzT1A8dwxAhTX0liNw==
|
||||
|
||||
abort-controller@3.0.0:
|
||||
version "3.0.0"
|
||||
resolved "https://registry.yarnpkg.com/abort-controller/-/abort-controller-3.0.0.tgz#eaf54d53b62bae4138e809ca225c8439a6efb392"
|
||||
|
Loading…
x
Reference in New Issue
Block a user