Skip to content

Commit

Permalink
remove intl polyfilling
Browse files Browse the repository at this point in the history
  • Loading branch information
Aliaksandr Yankouski committed Jul 12, 2018
1 parent 147fd86 commit 850548d
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 57 deletions.
5 changes: 2 additions & 3 deletions packages/kbn-i18n/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"private": true,
"scripts": {
"build": "yarn build:web && yarn build:node",
"build:web": "cross-env BABEL_ENV=web babel src --out-dir target/web --copy-files",
"build:node": "cross-env BABEL_ENV=node babel src --out-dir target/node --copy-files",
"build:web": "cross-env BABEL_ENV=web babel src --out-dir target/web",
"build:node": "cross-env BABEL_ENV=node babel src --out-dir target/node",
"kbn:bootstrap": "yarn build",
"kbn:watch": "yarn build --watch"
},
Expand All @@ -21,7 +21,6 @@
},
"dependencies": {
"accept-language-parser": "^1.5.0",
"intl": "^1.2.5",
"intl-format-cache": "^2.1.0",
"intl-messageformat": "^2.2.0",
"intl-relativeformat": "^2.1.0",
Expand Down
21 changes: 0 additions & 21 deletions packages/kbn-i18n/src/core/i18n/browser.js

This file was deleted.

5 changes: 2 additions & 3 deletions packages/kbn-i18n/src/core/i18n/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,5 @@
* under the License.
*/

import './intl_polyfill';

export * from './browser';
export { formats } from './formats';
export * from './i18n';
22 changes: 0 additions & 22 deletions packages/kbn-i18n/src/core/i18n/intl_polyfill.js

This file was deleted.

4 changes: 0 additions & 4 deletions packages/kbn-i18n/src/core/i18n/package.json

This file was deleted.

4 changes: 0 additions & 4 deletions packages/kbn-i18n/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1053,10 +1053,6 @@ intl-relativeformat@^2.0.0, intl-relativeformat@^2.1.0:
dependencies:
intl-messageformat "^2.0.0"

intl@^1.2.5:
version "1.2.5"
resolved "https://registry.yarnpkg.com/intl/-/intl-1.2.5.tgz#82244a2190c4e419f8371f5aa34daa3420e2abde"

invariant@^2.1.1, invariant@^2.2.2:
version "2.2.4"
resolved "https://registry.yarnpkg.com/invariant/-/invariant-2.2.4.tgz#610f3c92c9359ce1db616e538008d23ff35158e6"
Expand Down

0 comments on commit 850548d

Please sign in to comment.