From bea94e545d0cd671193bf69a0b4678df87912ba9 Mon Sep 17 00:00:00 2001 From: Nikita Karamov Date: Thu, 10 Feb 2022 22:16:26 +0100 Subject: [PATCH] Re-export shareon with `export ... from` --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 7439056..ef7818d 100644 --- a/src/index.js +++ b/src/index.js @@ -6,4 +6,4 @@ if (s && s.hasAttribute("init")) { initializeShareon(); } -export default initializeShareon; +export { default } from "./shareon";