commerce/framework/elasticpath/next.config.js
2021-09-28 18:24:43 +05:30

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;
}
};