added a filenamemapper , used to faster switch between filenames.
This commit is contained in:
parent
39fe0c81e5
commit
3e5a88f42d
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -0,0 +1,4 @@
|
|||
export const jsonFileNames = {
|
||||
steMedusaStarter: "ste.medusa-starter.design.json",
|
||||
stePlayGround: "ste.playground.design.json"
|
||||
};
|
||||
Loading…
Reference in New Issue