mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
Remove extensions-sdk and axios from the list of shared deps (#11099)
This ensures that extensions work with an out-of-root extensions folder. Instead of leaving the list of API shared deps empty, this adds `directus` as the only shared dep because it is never a good idea to bundle the Directus API into an extension.
This commit is contained in:
committed by
GitHub
parent
ff63ed498a
commit
9237a6452a
@@ -1,5 +1,5 @@
|
||||
export const APP_SHARED_DEPS = ['@directus/extensions-sdk', 'vue', 'vue-router', 'vue-i18n', 'pinia'];
|
||||
export const API_SHARED_DEPS = ['@directus/extensions-sdk', 'axios'];
|
||||
export const API_SHARED_DEPS = ['directus'];
|
||||
|
||||
export const APP_EXTENSION_TYPES = ['interface', 'display', 'layout', 'module', 'panel'] as const;
|
||||
export const API_EXTENSION_TYPES = ['hook', 'endpoint'] as const;
|
||||
|
||||
Reference in New Issue
Block a user