mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
fix shared deps constant naming (#6758)
This commit is contained in:
@@ -8,7 +8,7 @@ import {
|
||||
getPackageExtensions,
|
||||
resolvePackage,
|
||||
} from '@directus/shared/utils';
|
||||
import { APP_EXTENSION_TYPES, SHARED_DEPS } from '@directus/shared/constants';
|
||||
import { APP_EXTENSION_TYPES, APP_SHARED_DEPS } from '@directus/shared/constants';
|
||||
import getDatabase from './database';
|
||||
import emitter from './emitter';
|
||||
import env from './env';
|
||||
@@ -73,7 +73,7 @@ async function getExtensions(): Promise<Extension[]> {
|
||||
}
|
||||
|
||||
async function generateExtensionBundles() {
|
||||
const sharedDepsMapping = await getSharedDepsMapping(SHARED_DEPS);
|
||||
const sharedDepsMapping = await getSharedDepsMapping(APP_SHARED_DEPS);
|
||||
const internalImports = Object.entries(sharedDepsMapping).map(([name, path]) => ({
|
||||
find: name,
|
||||
replacement: path,
|
||||
|
||||
Reference in New Issue
Block a user