mirror of
https://github.com/vercel/commerce.git
synced 2025-05-16 22:46:58 +00:00
test31
This commit is contained in:
parent
41f2b35ba9
commit
a0c8678c6c
@ -10,9 +10,12 @@ const isVendure = provider === '@vercel/commerce-vendure'
|
||||
|
||||
module.exports = withCommerceConfig({
|
||||
commerce,
|
||||
i18n: {
|
||||
locales: ['en-US', 'es'],
|
||||
defaultLocale: 'en-US',
|
||||
// i18n: {
|
||||
// locales: ['en-US', 'es'],
|
||||
// defaultLocale: 'en-US',
|
||||
// },
|
||||
images: {
|
||||
unoptimized: true,
|
||||
},
|
||||
rewrites() {
|
||||
return [
|
||||
@ -38,7 +41,8 @@ module.exports = withCommerceConfig({
|
||||
|
||||
// Avoid Module not found: ESM packages (supports-color) need to be imported. Use 'import' to reference the package instead. https://nextjs.org/docs/messages/import-esm-externals
|
||||
experimental: {
|
||||
esmExternals: 'loose',
|
||||
esmExternals: true,
|
||||
// esmExternals: 'loose',
|
||||
},
|
||||
})
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"dev": "next dev",
|
||||
"build": "next build",
|
||||
"build": "next build && next export",
|
||||
"start": "next start",
|
||||
"analyze": "BUNDLE_ANALYZE=both next build",
|
||||
"lint": "next lint",
|
||||
|
Loading…
x
Reference in New Issue
Block a user