@selfcommunity/react-i18n 0.5.0-alpha.8 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/cjs/index.js CHANGED
@@ -1,12 +1,7 @@
1
1
  "use strict";
2
-
3
- exports.__esModule = true;
4
- exports.default = void 0;
5
- var _en = _interopRequireDefault(require("./locales/en.json"));
6
- var _it = _interopRequireDefault(require("./locales/it.json"));
7
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
8
- var _default = {
9
- en: _en.default,
10
- it: _it.default
11
- };
12
- exports.default = _default;
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ const en_json_1 = tslib_1.__importDefault(require("./locales/en.json"));
5
+ const it_json_1 = tslib_1.__importDefault(require("./locales/it.json"));
6
+ const locales = { en: en_json_1.default, it: it_json_1.default };
7
+ exports.default = locales;