Ensure all UMB_ constants is exported (#17683)
* export consts * remove lexer * init work on test for all consts to be exported * temporary solution to working test * fix test * fix one consts * update package-lock * remove imports * fix auto generation of test * correct test * important mistake correction * fix workspace * fix webhooks * fix users * UMB_CREATE_USER_CLIENT_CREDENTIAL_MODAL_ALIAS * fix user group * fix tree const exports * tiptap const exports * fix templates consts export * tags * stylesheets * static files * settings * static file system * section * search * scripts * fix tsc * relation * relation-type * recycle bin * property type * picker * partial views * tsc corrections * fix circular * package * member * member type * move constants to constants file * member group + documnet type * media * media-type * revert tsconfig change * log viewer * language * imaging * healt check * entity actions * user permissions * adjust test text * document * update consts * document type etc * blueprint * dictionary * data-type * current-user * culture * content-type * circular dependency * block-list * block-grid * fix type import * auto lint fixes * fix tsc * update test * make sure always to call check-const-generation * fix circular dependencies * consts for content package
This commit is contained in:
@@ -15,7 +15,6 @@ export const createImportMap = (args) => {
|
||||
let modulePath = value;
|
||||
if (typeof args.rootDir !== 'undefined') modulePath = modulePath.replace(/^\.\/dist-cms/, args.rootDir);
|
||||
if (args.replaceModuleExtensions) modulePath = modulePath.replace('.js', '.ts');
|
||||
console.log('replacing', value, 'with', modulePath);
|
||||
const importAlias = `${packageJsonName}/${moduleName}`;
|
||||
|
||||
imports[importAlias] = modulePath;
|
||||
|
||||
Reference in New Issue
Block a user