Add stats.js for the preview panel when ?debug is on

This commit is contained in:
Ingvar Stepanyan
2021-07-22 17:40:30 +00:00
parent 4371da9270
commit 7b37bed6f2
3 changed files with 20 additions and 3 deletions

View File

@@ -38,7 +38,8 @@
"imports": {
"preact": "https://unpkg.com/preact/dist/preact.module.js",
"preact/debug": "https://unpkg.com/preact/debug/dist/debug.module.js",
"preact/devtools": "https://unpkg.com/preact@10.5.14/devtools/dist/devtools.module.js"
"preact/devtools": "https://unpkg.com/preact@10.5.14/devtools/dist/devtools.module.js",
"stats.js": "https://unpkg.com/stats.js@0.17.0/src/Stats.js"
}
}
</script>