fix(admin-next,types): fixes order page from breaking in admin server (#8730)
This commit is contained in:
@@ -18,6 +18,7 @@ export async function getViteConfig(
|
||||
const root = path.resolve(__dirname, "./")
|
||||
|
||||
const backendUrl = options.backendUrl ?? ""
|
||||
const storefrontUrl = options.storefrontUrl ?? ""
|
||||
|
||||
const baseConfig: InlineConfig = {
|
||||
root,
|
||||
@@ -33,6 +34,7 @@ export async function getViteConfig(
|
||||
define: {
|
||||
__BASE__: JSON.stringify(options.path),
|
||||
__BACKEND_URL__: JSON.stringify(backendUrl),
|
||||
__STOREFRONT_URL__: JSON.stringify(storefrontUrl),
|
||||
},
|
||||
server: {
|
||||
fs: {
|
||||
|
||||
Reference in New Issue
Block a user