summaryrefslogtreecommitdiffstats
path: root/toolkit/content/vendor/lit/bundle-lit.sh
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/content/vendor/lit/bundle-lit.sh')
-rwxr-xr-xtoolkit/content/vendor/lit/bundle-lit.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/toolkit/content/vendor/lit/bundle-lit.sh b/toolkit/content/vendor/lit/bundle-lit.sh
new file mode 100755
index 0000000000..532b48337f
--- /dev/null
+++ b/toolkit/content/vendor/lit/bundle-lit.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+cp *.patch lit/
+cd lit
+git apply *.patch
+../../../../../mach npm install
+../../../../../mach npm run build
+cp packages/lit/lit-all.min.js ../../../widgets/vendor/lit.all.mjs
+rm -rf * .*
+cp ../LICENSE .