From bc748df41eb12b67c8bf7a4bb12d67a80a89a240 Mon Sep 17 00:00:00 2001 From: Dmitry Lyzo Date: Tue, 17 Dec 2019 19:02:38 +0300 Subject: [PATCH] Fix require of 'export default' --- src/bundle.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bundle.js b/src/bundle.js index 508e2c3065..4748c6d281 100644 --- a/src/bundle.js +++ b/src/bundle.js @@ -17,7 +17,7 @@ _define("fetch", function() { }); // flvjs -var flvjs = require("flv.js"); +var flvjs = require("flv.js").default; _define("flvjs", function() { return flvjs; }); @@ -54,7 +54,7 @@ _define("native-promise-only", function() { }); // resize-observer-polyfill -var resize = require("resize-observer-polyfill"); +var resize = require("resize-observer-polyfill").default; _define("resize-observer-polyfill", function() { return resize; }); @@ -73,7 +73,7 @@ _define("swiper", function() { }); // sortable -var sortable = require("sortablejs"); +var sortable = require("sortablejs").default; _define("sortable", function() { return sortable; });