Skip to content

Commit

Permalink
feat(@formatjs/intl-locale): Use native Intl.getCanonicalLocales
Browse files Browse the repository at this point in the history
BREAKING CHANGE: This requires @formatjs/intl-getcanonicallocales on
IE11 and below
  • Loading branch information
longlho committed May 23, 2020
1 parent 6fd12ec commit ab79d61
Show file tree
Hide file tree
Showing 12 changed files with 122 additions and 1,116 deletions.
4 changes: 3 additions & 1 deletion packages/intl-locale/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@
"url": "https://github.com/formatjs/formatjs/issues"
},
"dependencies": {
"@formatjs/intl-utils": "2.0.4"
"@formatjs/intl-utils": "2.0.4",
"@formatjs/intl-getcanonicallocales": "1.1.1",
"cldr-core": "^36.0.0"
},
"devDependencies": {
"@types/jest": "^25.2.1",
Expand Down
36 changes: 0 additions & 36 deletions packages/intl-locale/src/emitter.ts

This file was deleted.

Loading

0 comments on commit ab79d61

Please sign in to comment.