mirror of
https://github.com/vercel/commerce.git
synced 2025-05-18 07:26:59 +00:00
16 lines
310 B
JavaScript
16 lines
310 B
JavaScript
const commerce = require('./commerce.config.json')
|
|
|
|
module.exports = {
|
|
commerce,
|
|
images: {
|
|
domains: ['localhost'],
|
|
},
|
|
webpack: (config, { isServer }) => {
|
|
if (!isServer) {
|
|
config.resolve.fallback.fs = false;
|
|
config.resolve.fallback.constants = false;
|
|
}
|
|
return config;
|
|
}
|
|
}
|