@@ -100,13 +100,14 @@ internalTypeNames.push(...getExportNames(internalTypesIndexPath));
100100function resolveBaseExport ( importedName : string ) : string | undefined {
101101 const directMap : Record < string , string > = {
102102 VersionInfo : `${ basePackageName } /VersionInfo` ,
103- I18nStore : `${ basePackageName } /internal/stores/I18nStore.js ` ,
104- StyleStore : `${ basePackageName } /internal/stores/StyleStore.js ` ,
105- CssSizeVariables : `${ basePackageName } /internal/styling/CssSizeVariables.js ` ,
103+ I18nStore : `${ basePackageName } /internal/stores/I18nStore` ,
104+ StyleStore : `${ basePackageName } /internal/stores/StyleStore` ,
105+ CssSizeVariables : `${ basePackageName } /internal/styling/CssSizeVariables` ,
106106 ThemingParameters : `${ basePackageName } /ThemingParameters` ,
107- withWebComponent : `${ basePackageName } /internal/wrapper/withWebComponent.js` ,
108- utils : `${ basePackageName } /internal/utils/index.js` ,
109- addCustomCSSWithScoping : `${ basePackageName } /internal/addCustomCSSWithScoping.js` ,
107+ withWebComponent : `${ basePackageName } /internal/wrapper/withWebComponent` ,
108+ utils : `${ basePackageName } /internal/utils` ,
109+ addCustomCSSWithScoping : `${ basePackageName } /internal/utils` ,
110+ UI5WCSlotsNode : `${ basePackageName } /types` ,
110111 } ;
111112
112113 if ( directMap [ importedName ] ) {
@@ -116,16 +117,13 @@ function resolveBaseExport(importedName: string): string | undefined {
116117 return `${ basePackageName } /hooks` ;
117118 }
118119 if ( internalHookNames . includes ( importedName ) ) {
119- return `${ basePackageName } /internal/hooks/index.js ` ;
120+ return `${ basePackageName } /internal/hooks` ;
120121 }
121122 if ( internalUtilNames . includes ( importedName ) ) {
122- return `${ basePackageName } /internal/utils/index.js ` ;
123+ return `${ basePackageName } /internal/utils` ;
123124 }
124125 if ( internalTypeNames . includes ( importedName ) ) {
125- return `${ basePackageName } /internal/types/index.js` ;
126- }
127- if ( importedName === 'UI5WCSlotsNode' ) {
128- return `${ basePackageName } /types` ;
126+ return `${ basePackageName } /internal/types` ;
129127 }
130128 return undefined ;
131129}
@@ -200,7 +198,7 @@ export default function transform(file: FileInfo, api: API): string | undefined
200198 j . literal ( newSource ) ,
201199 ) ;
202200
203- // Namespace import deltas
201+ // Delta: Namespace imports
204202 if ( pkg === basePackageName && [ 'Device' , 'hooks' ] . includes ( importedName ) ) {
205203 const newImport = j . importDeclaration (
206204 [ j . importNamespaceSpecifier ( j . identifier ( ( spec . local ?. name as string ) || importedName ) ) ] ,
0 commit comments