/ music / double-pendulum
Sign in
music / double-pendulum
double-pendulum / vite.config.ts
13 lines · 443 BCodeBlameHistory
73fe08adouble pendulum: album app with composition 1 (poincaré)Jeremy Magland 1import { fileURLToPath } from "node:url";
2import { defineConfig } from "vite";
4// Instruments are imported live from the sibling modal-synth project.
5const modalSynth = fileURLToPath(new URL("../modal-synth/src", import.meta.url));
7export default defineConfig({
8 base: "./",
9 resolve: { alias: { "@modal-synth": modalSynth } },
10 server: { fs: { allow: [".", modalSynth] } },
11 worker: { format: "es" },
12 build: { target: "es2022" },
13});
↑↓ move↵openescclose