Skip to content

Commit 3526567

Browse files
authored
Add ".js" extension to imports in fluent-react (#577)
Similar change was applied to different modules, but react was skipped somehow. Lack of this change breaks build on webpack5
1 parent 186da02 commit 3526567

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

fluent-react/src/index.ts

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,12 @@
1717
* components for more information.
1818
*/
1919

20-
export { ReactLocalization} from "./localization";
21-
export { LocalizationProvider } from "./provider";
22-
export { withLocalization, WithLocalizationProps } from "./with_localization";
23-
export { Localized, LocalizedProps } from "./localized";
24-
export { MarkupParser } from "./markup";
25-
export { useLocalization } from "./use_localization";
20+
export { ReactLocalization} from "./localization.js";
21+
export { LocalizationProvider } from "./provider.js";
22+
export {
23+
withLocalization,
24+
WithLocalizationProps
25+
} from "./with_localization.js";
26+
export { Localized, LocalizedProps } from "./localized.js";
27+
export { MarkupParser } from "./markup.js";
28+
export { useLocalization } from "./use_localization.js";

0 commit comments

Comments
 (0)