Add SmartStart/QR scan support for Z-Wave JS (#10726)

This commit is contained in:
Bram Kragten
2021-12-01 23:12:52 +01:00
committed by GitHub
parent 68373e6372
commit 4b49da58b1
16 changed files with 602 additions and 110 deletions

View File

@@ -79,6 +79,11 @@ function copyFonts(staticDir) {
);
}
function copyQrScannerWorker(staticDir) {
const staticPath = genStaticPath(staticDir);
copyFileDir(npmPath("qr-scanner/qr-scanner-worker.min.js"), staticPath("js"));
}
function copyMapPanel(staticDir) {
const staticPath = genStaticPath(staticDir);
copyFileDir(
@@ -125,6 +130,9 @@ gulp.task("copy-static-app", async () => {
// Panel assets
copyMapPanel(staticDir);
// Qr Scanner assets
copyQrScannerWorker(staticDir);
});
gulp.task("copy-static-demo", async () => {