mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-14 07:08:30 +00:00
fix: migrate more imports
This commit is contained in:
parent
6ce8a3feba
commit
4f94de86db
@ -1,6 +1,7 @@
|
|||||||
import { useState, useRef, useCallback, useMemo, useEffect } from 'react';
|
import { useState, useRef, useCallback, useMemo, useEffect } from 'react';
|
||||||
import { Icon } from './Icon';
|
import { Icon } from './Icon';
|
||||||
import { silence, getPunchcardPainter, noteToMidi, _mod } from '@strudel/core';
|
import { silence, noteToMidi, _mod } from '@strudel/core';
|
||||||
|
import { getPunchcardPainter } from '@strudel/canvas';
|
||||||
import { transpiler } from '@strudel/transpiler';
|
import { transpiler } from '@strudel/transpiler';
|
||||||
import { getAudioContext, webaudioOutput, initAudioOnFirstClick } from '@strudel/webaudio';
|
import { getAudioContext, webaudioOutput, initAudioOnFirstClick } from '@strudel/webaudio';
|
||||||
import { StrudelMirror } from '@strudel/codemirror';
|
import { StrudelMirror } from '@strudel/codemirror';
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
import { createCanvas } from 'canvas';
|
import { createCanvas } from 'canvas';
|
||||||
import { pianoroll } from '@strudel/core';
|
import { pianoroll } from '@strudel/canvas';
|
||||||
import { evaluate } from '@strudel/transpiler';
|
import { evaluate } from '@strudel/transpiler';
|
||||||
import '../../../../test/runtime.mjs';
|
import '../../../../test/runtime.mjs';
|
||||||
import * as tunes from '../../repl/tunes.mjs';
|
import * as tunes from '../../repl/tunes.mjs';
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
import { createCanvas } from 'canvas';
|
import { createCanvas } from 'canvas';
|
||||||
import { pianoroll } from '@strudel/core';
|
import { pianoroll } from '@strudel/canvas';
|
||||||
import { evaluate } from '@strudel/transpiler';
|
import { evaluate } from '@strudel/transpiler';
|
||||||
import '../../../../test/runtime.mjs';
|
import '../../../../test/runtime.mjs';
|
||||||
import { getMyPatterns } from '../../my_patterns';
|
import { getMyPatterns } from '../../my_patterns';
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user