feat(): Add support for store locales end point (#14307)
**What** Add support for `store/locales` which return the configured supported locales
This commit is contained in:
committed by
GitHub
parent
665b80adb1
commit
0f1566c644
@@ -1,12 +1,8 @@
|
||||
import { ModuleJoinerConfig } from "@medusajs/framework/types"
|
||||
import {
|
||||
FeatureFlag,
|
||||
MEDUSA_SKIP_FILE,
|
||||
Modules,
|
||||
} from "@medusajs/framework/utils"
|
||||
import { MEDUSA_SKIP_FILE, Modules } from "@medusajs/framework/utils"
|
||||
|
||||
export const StoreLocales: ModuleJoinerConfig = {
|
||||
[MEDUSA_SKIP_FILE]: !FeatureFlag.isFeatureEnabled("translation"),
|
||||
[MEDUSA_SKIP_FILE]: process.env.MEDUSA_FF_TRANSLATION !== "true",
|
||||
isLink: true,
|
||||
isReadOnlyLink: true,
|
||||
extends: [
|
||||
|
||||
Reference in New Issue
Block a user