You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The bug is the reverse check for DEV - if it is true, the "directus-extensions" should be loaded from source, otherwise from submodule, e.g. the correct line should be:
No, the check is correct. It is used for dev mode (when running pnpm dev inside /app), where the extensions have to be loaded via virtual @directus-extensions module.
It seems that you have a different problem. If this is the case, please open a new issue with a detailed description. Thanks!
Describe the Bug
https://github.com/directus/directus/blob/main/app/src/extensions.ts#L32
The bug is the reverse check for DEV - if it is true, the "directus-extensions" should be loaded from source, otherwise from submodule, e.g. the correct line should be:
customExtensions = import.meta.env.DEV
? await import(/* @vite-ignore /
${getRootPath()}extensions/sources/index.js
);: await import(/ @vite-ignore */ '@directus-extensions')
To Reproduce
any run
Directus Version
v10.10.7
Hosting Strategy
Self-Hosted (Custom)
The text was updated successfully, but these errors were encountered: