Skip to content

Commit eb2af62

Browse files
authored
fix(ui5-icons): generate i18n JSON imports (#13583)
The icons-collection build pointed the i18n JSON imports generator at `src/generated/assets/i18n`, which only contains `.json` files. The generator regex only matches `.properties` files, so it found nothing and wrote an empty i18n.ts — making Assets.js a noop and causing the "Message bundle assets are not configured" warning. Fix by pointing the generator at `src/i18n` (the .properties source), consistent with how components-package configures the same step. Fixes #13417
1 parent 0ec1c40 commit eb2af62

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/tools/icons-collection

packages/tools/icons-collection/nps.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ const getScripts = (options) => {
6767
},
6868
jsonImports: {
6969
default: "ui5nps build.jsonImports.i18n",
70-
i18n: `ui5nps-script "${LIB}/generate-json-imports/i18n.js" src/generated/assets/i18n src/generated/json-imports`,
70+
i18n: `ui5nps-script "${LIB}/generate-json-imports/i18n.js" src/i18n src/generated/json-imports`,
7171
},
7272
icons: createJSImportsCmd,
7373
},

0 commit comments

Comments
 (0)