From d232e9fd2688461c9db70c5d6c4b1067e38ce31e Mon Sep 17 00:00:00 2001 From: David Date: Thu, 22 Jun 2017 15:20:04 +0200 Subject: [PATCH] Making sure that loading it with webpack resolves to non-polyfill when native support Loading it with webpack would require additional checkings which are actually not required if we just return `global.Intl` as it is set to Polyfill anyway when no native support is given. --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 599cf0b3b..ae994603f 100644 --- a/index.js +++ b/index.js @@ -12,4 +12,4 @@ if (!global.Intl) { } // providing an idiomatic api for the nodejs version of this module -module.exports = global.IntlPolyfill; +module.exports = global.Intl;