From 5debfdcc702af6bb005a3621aa59f794d2154c53 Mon Sep 17 00:00:00 2001 From: Vinayak Kulkarni Date: Thu, 28 May 2020 12:05:45 +0530 Subject: [PATCH 1/2] fix: update file name for minified build --- build/rollup.min.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/rollup.min.config.js b/build/rollup.min.config.js index 70ab8ef0..2ff530b5 100644 --- a/build/rollup.min.config.js +++ b/build/rollup.min.config.js @@ -8,7 +8,7 @@ export default { output: { format: 'umd', name: 'SOffline', - file: 'dist/s-clappr.min.js', + file: 'dist/s-offline.min.js', }, plugins: [ svelte({ From 3133e68ccf76e990bbeb73c670a1addbe1d230c9 Mon Sep 17 00:00:00 2001 From: Vinayak Kulkarni Date: Thu, 28 May 2020 12:05:57 +0530 Subject: [PATCH 2/2] fix: use correct export --- src/index.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/index.js b/src/index.js index f0735c12..9c3c078d 100644 --- a/src/index.js +++ b/src/index.js @@ -1,7 +1,3 @@ import SOffline from './SOffline.svelte'; -const app = new SOffline({ - target: document.body, -}); - -export default app; \ No newline at end of file +export default SOffline; \ No newline at end of file