fix: use Tone.js global object from CDN instead of ES module import

- Remove ES module import statement from dashboard.js
- Use global Tone object loaded via CDN
- Remove type=module from script tag
- Fixes module resolution error
This commit is contained in:
MythEclipse
2026-05-13 22:48:03 +07:00
parent bc212333d8
commit 65dc73e903
2 changed files with 2 additions and 3 deletions

View File

@@ -1,5 +1,4 @@
import * as Tone from 'tone';
// Tone.js loaded via CDN as global object
const bootstrapData = JSON.parse(document.getElementById('__DASHBOARD_DATA__')?.textContent || '{}');
const state = {
socket: null,