feat(dashboard,admin-sdk,admin-shared,admin-vite-plugin): Add support for UI extensions (#7383)
* intial work * update lock * add routes and fix HMR of configs * cleanup * rm imports * rm debug from plugin * address feedback * address feedback
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import { VIRTUAL_MODULES } from "@medusajs/admin-shared"
|
||||
import { defineConfig } from "tsup"
|
||||
|
||||
export default defineConfig({
|
||||
entry: ["./src/app.tsx"],
|
||||
format: ["cjs", "esm"],
|
||||
external: [...VIRTUAL_MODULES, "virtual:config"],
|
||||
tsconfig: "tsconfig.build.json",
|
||||
clean: true,
|
||||
})
|
||||
Reference in New Issue
Block a user