|
4 | 4 | setDevToolsHook |
5 | 5 | } from '@intlify/core-base' |
6 | 6 | import { getGlobalThis } from '@intlify/shared' |
7 | | -import { initDev, initFeatureFlags } from '../../vue-i18n-core/src/misc' |
| 7 | +import { initDev, initFeatureFlags } from '@intlify/vue-i18n-core/petite' |
8 | 8 |
|
9 | 9 | if (__ESM_BUNDLER__ && !__TEST__) { |
10 | 10 | initFeatureFlags() |
@@ -46,56 +46,51 @@ export type { |
46 | 46 | RemovedIndexResources, |
47 | 47 | TranslateOptions |
48 | 48 | } from '@intlify/core-base' |
| 49 | +export { createI18n, useI18n, VERSION } from '@intlify/vue-i18n-core/petite' |
49 | 50 | export type { |
| 51 | + Choice, |
50 | 52 | Composer, |
| 53 | + ComposerAdditionalOptions, |
51 | 54 | ComposerCustom, |
52 | 55 | ComposerDateTimeFormatting, |
| 56 | + ComposerExtender, |
53 | 57 | ComposerNumberFormatting, |
54 | 58 | ComposerOptions, |
55 | 59 | ComposerResolveLocaleMessageTranslation, |
56 | 60 | ComposerTranslation, |
57 | 61 | CustomBlock, |
58 | 62 | CustomBlocks, |
| 63 | + DateTimeFormatResult, |
59 | 64 | DefaultDateTimeFormatSchema, |
60 | 65 | DefaultLocaleMessageSchema, |
61 | 66 | DefaultNumberFormatSchema, |
62 | 67 | DefineDateTimeFormat, |
63 | 68 | DefineLocaleMessage, |
64 | 69 | DefineNumberFormat, |
65 | | - MissingHandler, |
66 | | - VueMessageType |
67 | | -} from '../../vue-i18n-core/src/composer' |
68 | | -export { createI18n, useI18n } from '../../vue-i18n-core/src/i18n' |
69 | | -export type { |
70 | | - ComposerAdditionalOptions, |
71 | | - ComposerExtender, |
| 70 | + Disposer, |
72 | 71 | ExportedGlobalComposer, |
73 | 72 | I18n, |
74 | 73 | I18nAdditionalOptions, |
75 | 74 | I18nMode, |
76 | 75 | I18nOptions, |
| 76 | + I18nPluginOptions, |
77 | 77 | I18nScope, |
78 | | - UseI18nOptions |
79 | | -} from '../../vue-i18n-core/src/i18n' |
80 | | -export type { |
81 | | - Choice, |
82 | | - DateTimeFormatResult, |
83 | 78 | LocaleMessageObject, |
| 79 | + MissingHandler, |
84 | 80 | NumberFormatResult, |
85 | 81 | PluralizationRulesMap, |
86 | 82 | TranslateResult, |
| 83 | + UseI18nOptions, |
87 | 84 | VueI18n, |
88 | 85 | VueI18nDateTimeFormatting, |
89 | 86 | VueI18nExtender, |
90 | 87 | VueI18nNumberFormatting, |
91 | 88 | VueI18nOptions, |
92 | 89 | VueI18nResolveLocaleMessageTranslation, |
93 | 90 | VueI18nTranslation, |
| 91 | + VueMessageType, |
94 | 92 | WarnHtmlInMessageLevel |
95 | | -} from '../../vue-i18n-core/src/legacy' |
96 | | -export type { I18nPluginOptions } from '../../vue-i18n-core/src/plugin' |
97 | | -export { VERSION } from './../../vue-i18n-core/src/misc' |
98 | | -export type { Disposer } from './../../vue-i18n-core/src/types' |
| 93 | +} from '@intlify/vue-i18n-core/petite' |
99 | 94 |
|
100 | 95 | export type { |
101 | 96 | IsEmptyObject, |
|
0 commit comments