From 394d9561e8e02ce836bf1cba342d0aeef50c0c61 Mon Sep 17 00:00:00 2001 From: Stuart Aylward Date: Wed, 8 Aug 2018 14:42:50 +0100 Subject: [PATCH 1/3] Update index.js fixes exports is not defined issue when babel to ES5 --- index.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/index.js b/index.js index e76f5bd..55f3370 100644 --- a/index.js +++ b/index.js @@ -1,5 +1,2 @@ -import CircularProgress from './src/CircularProgress'; -import AnimatedCircularProgress from './src/AnimatedCircularProgress'; - -exports.CircularProgress = CircularProgress; -exports.AnimatedCircularProgress = AnimatedCircularProgress; +export { default as CircularProgress } from './src/CircularProgress'; +export { default as AnimatedCircularProgress } from './src/AnimatedCircularProgress'; From 059b8a3e86ac5fb084e2c24a6dffd3eaa15f9c31 Mon Sep 17 00:00:00 2001 From: Stuart Aylward Date: Thu, 9 Aug 2018 10:40:51 +0100 Subject: [PATCH 2/3] Update index.js update export syntax style as requested --- index.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 55f3370..29e7a15 100644 --- a/index.js +++ b/index.js @@ -1,2 +1,4 @@ -export { default as CircularProgress } from './src/CircularProgress'; -export { default as AnimatedCircularProgress } from './src/AnimatedCircularProgress'; +import CircularProgress from './src/CircularProgress'; +import AnimatedCircularProgress from './src/AnimatedCircularProgress'; + +export { CirculartProgress, AnimatedCircularProgress } From 895e56948906e08be96940531c96227c194e9ca2 Mon Sep 17 00:00:00 2001 From: Stuart Aylward Date: Thu, 9 Aug 2018 11:17:56 +0100 Subject: [PATCH 3/3] Update index.js corrected typo. --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 29e7a15..d1a8891 100644 --- a/index.js +++ b/index.js @@ -1,4 +1,4 @@ import CircularProgress from './src/CircularProgress'; import AnimatedCircularProgress from './src/AnimatedCircularProgress'; -export { CirculartProgress, AnimatedCircularProgress } +export { CircularProgress, AnimatedCircularProgress }