]> zoso.dev Git - nano-pow.git/commitdiff
Fix imports for test page.
authorChris Duncan <chris@zoso.dev>
Sun, 12 Jan 2025 22:40:50 +0000 (14:40 -0800)
committerChris Duncan <chris@zoso.dev>
Sun, 12 Jan 2025 22:40:50 +0000 (14:40 -0800)
test.html

index 4d85bc7e63408e170eed17e8911d6c5b72f0cdf4..21777b90918b9967a4a35ef3d43272a5e6cc0e82 100644 (file)
--- a/test.html
+++ b/test.html
@@ -7,11 +7,12 @@ SPDX-License-Identifier: GPL-3.0-or-later
 
 <head>
        <link rel="icon" href="./favicon.ico">
-       <script type="module" src="../dist/global.min.js"></script>
+       <script type="module" src="./dist/main.min.js"></script>
        <!-- Comment out nano-pow from CDN if testing locally -->
        <!-- <script type="module" src="https://cdn.jsdelivr.net/npm/nano-pow@1.1.0/dist/global.min.js"></script> -->
        <script type="module" src="https://cdn.jsdelivr.net/npm/nano-webgl-pow@1.1.1/nano-webgl-pow.js"></script>
        <script type="module">
+               import { NanoPow, NanoPowGl, NanoPowGpu } from './dist/main.min.js'
                const COUNT = 0x20
                let times = []