diff --git a/examples/codemirror-repl/main.js b/examples/codemirror-repl/main.js index 815db187..5b5714fb 100644 --- a/examples/codemirror-repl/main.js +++ b/examples/codemirror-repl/main.js @@ -1,6 +1,7 @@ import { StrudelMirror } from '@strudel/codemirror'; import { funk42 } from './tunes'; -import { drawPianoroll, evalScope } from '@strudel/core'; +import { evalScope } from '@strudel/core'; +import { drawPianoroll } from '@strudel/draw'; import './style.css'; import { initAudioOnFirstClick } from '@strudel/webaudio'; import { transpiler } from '@strudel/transpiler'; @@ -26,6 +27,7 @@ const editor = new StrudelMirror({ initAudioOnFirstClick(); // needed to make the browser happy (don't await this here..) const loadModules = evalScope( import('@strudel/core'), + import('@strudel/draw'), import('@strudel/mini'), import('@strudel/tonal'), import('@strudel/webaudio'), diff --git a/examples/codemirror-repl/package.json b/examples/codemirror-repl/package.json index 403f34af..ec178d48 100644 --- a/examples/codemirror-repl/package.json +++ b/examples/codemirror-repl/package.json @@ -14,6 +14,7 @@ "dependencies": { "@strudel/codemirror": "workspace:*", "@strudel/core": "workspace:*", + "@strudel/draw": "workspace:*", "@strudel/mini": "workspace:*", "@strudel/soundfonts": "workspace:*", "@strudel/tonal": "workspace:*",