mirror of
https://github.com/vercel/commerce.git
synced 2025-05-18 15:36:58 +00:00
25 lines
481 B
JavaScript
25 lines
481 B
JavaScript
const commerce = require('./commerce.config.json')
|
|
|
|
module.exports = {
|
|
images: {
|
|
disableStaticImages: true,
|
|
domains: [
|
|
'localhost',
|
|
'206.189.135.123',
|
|
's3-eu-west-1.amazonaws.com'
|
|
]
|
|
},
|
|
commerce,
|
|
i18n: {
|
|
locales: ['en-US'],
|
|
defaultLocale: 'en-US',
|
|
},
|
|
webpack: (config, { isServer }) => {
|
|
if (!isServer) {
|
|
config.resolve.fallback.fs = false;
|
|
config.resolve.fallback.constants = false;
|
|
}
|
|
return config;
|
|
}
|
|
};
|