fix: tonal import in autocomplete + add tonal to codemirror package dependencies

This commit is contained in:
Felix Roos 2025-10-18 08:49:31 +02:00
parent be61d08cc6
commit 105db2a4ca
No known key found for this signature in database
4 changed files with 7 additions and 3 deletions

View file

@ -3,7 +3,7 @@ import { autocompletion } from '@codemirror/autocomplete';
import { h } from './html';
import { Scale } from '@tonaljs/tonal';
import { soundMap } from 'superdough';
import { complex } from '../tonal/ireal.mjs';
import { complex } from '@strudel/tonal';
const escapeHtml = (str) => {
const div = document.createElement('div');