From 0049fb90cf9702cfb82b48c6911bedd319835dc8 Mon Sep 17 00:00:00 2001
From: Tsachi Shlidor
Date: Thu, 26 Dec 2024 17:04:50 +0200
Subject: [PATCH] feat: light esm build (#765)
* feat: light esm build
* chore: esm tests
* chore: e2e & devServer
* chore: e2e
---
docs/es-modules/all.html | 64 ++++++++++++++++++
docs/es-modules/index.html | 3 +
docs/es-modules/light.html | 65 +++++++++++++++++++
docs/es-modules/package.json | 2 +-
package.json | 16 ++++-
src/index.all.js | 1 -
src/plugins/index.js | 6 +-
src/utils/get-analytics-player-options.js | 4 +-
.../specs/linksConsoleErrorsEsmPage.spec.ts | 2 +-
test/e2e/testData/ExampleLinkNames.ts | 2 +
test/e2e/testData/esmPageLinksData.ts | 2 +
webpack/dev.config.js | 1 -
webpack/es-light.config.js | 17 +++++
13 files changed, 171 insertions(+), 14 deletions(-)
create mode 100644 docs/es-modules/all.html
create mode 100644 docs/es-modules/light.html
create mode 100644 webpack/es-light.config.js
diff --git a/docs/es-modules/all.html b/docs/es-modules/all.html
new file mode 100644
index 00000000..ca93f9cb
--- /dev/null
+++ b/docs/es-modules/all.html
@@ -0,0 +1,64 @@
+
+
+
+
+ Cloudinary Video Player
+
+
+
+
+
+
+
+
Cloudinary Video Player
+
/all
build
+
+
Using the /all
build, you get a build that already includes all plugins (except the big /dash
plugin), saving you the need to import them separately
+
+
+
+
+ Full documentation
+
+
+
+
+
+
+
+
+
diff --git a/docs/es-modules/index.html b/docs/es-modules/index.html
index fd44416f..1dc7317f 100644
--- a/docs/es-modules/index.html
+++ b/docs/es-modules/index.html
@@ -75,6 +75,9 @@ Code examples:
UI Config
VAST & VPAID Support
VR/360 Videos
+
+ /all
build
+ /light
build
+
+
+
+
+
+
+
diff --git a/docs/es-modules/light.html b/docs/es-modules/light.html
new file mode 100644
index 00000000..da8bda20
--- /dev/null
+++ b/docs/es-modules/light.html
@@ -0,0 +1,65 @@
+
+
+