added a filenamemapper , used to faster switch between filenames.

This commit is contained in:
Stephan Stang 2025-11-25 15:41:46 +01:00
parent 39fe0c81e5
commit 3e5a88f42d
2 changed files with 6 additions and 2 deletions

View File

@ -1,8 +1,8 @@
import fs from "fs"
import path from "path"
import { jsonFileNames } from "./devJsonFileNames";
//const fileName = "ste.medusa-starter.design.json";
const fileName = "ste.playground.design.json";
const fileName = jsonFileNames.stePlayGround;
export async function loadDesignConfig() {
const filePath = path.join(process.cwd(), "config", fileName)

View File

@ -0,0 +1,4 @@
export const jsonFileNames = {
steMedusaStarter: "ste.medusa-starter.design.json",
stePlayGround: "ste.playground.design.json"
};