summaryrefslogtreecommitdiff
path: root/contrib/build-fast-web.sh
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/build-fast-web.sh')
-rwxr-xr-xcontrib/build-fast-web.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/contrib/build-fast-web.sh b/contrib/build-fast-web.sh
index ddc9f10f3..2f213e5f6 100755
--- a/contrib/build-fast-web.sh
+++ b/contrib/build-fast-web.sh
@@ -84,6 +84,12 @@ function build_preact_compat() {
esbuild $BUNDLE_OPTIONS --loader:.js=jsx vendor/preact/test-utils/src/index.js > $DIST/react-dom/test-utils/index.js
}
+function build_qrcode() {
+ mkdir -p $DIST/qrcode-generator
+
+ esbuild $BUNDLE_OPTIONS vendor/qrcode-generator/js/qrcode.js > $DIST/qrcode-generator/index.js
+}
+
function build_history() {
mkdir -p $DIST/{history,resolve-pathname,value-equal,tiny-warning,tiny-invariant}
@@ -133,6 +139,7 @@ build_preact
build_preact-router
build_preact_compat
+build_qrcode
build_history
build_linaria