Skip to content

Commit

Permalink
fix(date): 导出的语言包后面加上 Locale
Browse files Browse the repository at this point in the history
  • Loading branch information
fjc0k committed Nov 8, 2021
1 parent 9d0e736 commit d1bb828
Showing 1 changed file with 81 additions and 81 deletions.
162 changes: 81 additions & 81 deletions src/date/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -254,87 +254,87 @@ export {
// 手动导出以解决 @microsoft/api-extractor 的问题
// ref: https://github.com/date-fns/date-fns/blob/master/scripts/_lib/listLocales.js#L13
// ref: https://github.com/date-fns/date-fns/blob/master/outdatedLocales.json
// @index(['../../node_modules/date-fns/esm/locale/*', '!**/{_*,ar,fil,fr-CH,nl-BE}'], (f, _) => `${f.name.replace(/-/g, '')},`, { onlyDirectories: true })
af,
arDZ,
arMA,
arSA,
arTN,
az,
be,
bg,
bn,
bs,
ca,
cs,
cy,
da,
de,
deAT,
el,
enAU,
enCA,
enGB,
enIN,
enNZ,
enUS,
enZA,
eo,
es,
et,
eu,
faIR,
fi,
fr,
frCA,
gd,
gl,
gu,
he,
hi,
hr,
ht,
hu,
hy,
id,
is,
it,
ja,
ka,
kk,
kn,
ko,
lb,
lt,
lv,
mk,
mn,
ms,
mt,
nb,
nl,
nn,
pl,
pt,
ptBR,
ro,
ru,
sk,
sl,
sq,
sr,
srLatn,
sv,
ta,
te,
th,
tr,
ug,
uk,
uz,
vi,
zhCN,
zhTW,
// @index(['../../node_modules/date-fns/esm/locale/*', '!**/{_*,ar,fil,fr-CH,nl-BE}'], (f, _) => `${f.name.replace(/-/g, '')} as ${f.name.replace(/-/g, '')}Locale,`, { onlyDirectories: true })
af as afLocale,
arDZ as arDZLocale,
arMA as arMALocale,
arSA as arSALocale,
arTN as arTNLocale,
az as azLocale,
be as beLocale,
bg as bgLocale,
bn as bnLocale,
bs as bsLocale,
ca as caLocale,
cs as csLocale,
cy as cyLocale,
da as daLocale,
de as deLocale,
deAT as deATLocale,
el as elLocale,
enAU as enAULocale,
enCA as enCALocale,
enGB as enGBLocale,
enIN as enINLocale,
enNZ as enNZLocale,
enUS as enUSLocale,
enZA as enZALocale,
eo as eoLocale,
es as esLocale,
et as etLocale,
eu as euLocale,
faIR as faIRLocale,
fi as fiLocale,
fr as frLocale,
frCA as frCALocale,
gd as gdLocale,
gl as glLocale,
gu as guLocale,
he as heLocale,
hi as hiLocale,
hr as hrLocale,
ht as htLocale,
hu as huLocale,
hy as hyLocale,
id as idLocale,
is as isLocale,
it as itLocale,
ja as jaLocale,
ka as kaLocale,
kk as kkLocale,
kn as knLocale,
ko as koLocale,
lb as lbLocale,
lt as ltLocale,
lv as lvLocale,
mk as mkLocale,
mn as mnLocale,
ms as msLocale,
mt as mtLocale,
nb as nbLocale,
nl as nlLocale,
nn as nnLocale,
pl as plLocale,
pt as ptLocale,
ptBR as ptBRLocale,
ro as roLocale,
ru as ruLocale,
sk as skLocale,
sl as slLocale,
sq as sqLocale,
sr as srLocale,
srLatn as srLatnLocale,
sv as svLocale,
ta as taLocale,
te as teLocale,
th as thLocale,
tr as trLocale,
ug as ugLocale,
uk as ukLocale,
uz as uzLocale,
vi as viLocale,
zhCN as zhCNLocale,
zhTW as zhTWLocale,
// @endindex
} from 'date-fns/esm/locale'

Expand Down

0 comments on commit d1bb828

Please sign in to comment.