diff --git a/lib/appConfig.ts b/lib/appConfig.ts index 05352be..9398d7e 100644 --- a/lib/appConfig.ts +++ b/lib/appConfig.ts @@ -127,7 +127,7 @@ export const createAppConfig = (entries: { [entryAlias: string]: string }, optio } return { // already contains the "js/" prefix as it is our output file configuration - runtime: `OC.filePath('${appName}', '', '${filename}')`, + runtime: `window.OC.filePath('${appName}', '', '${filename}')`, } }, },