From 9aaaa755c7051830cd4f668f11dc6696e9422141 Mon Sep 17 00:00:00 2001 From: Felix Roos Date: Thu, 22 Dec 2022 17:23:35 +0100 Subject: [PATCH] fix import + update build task --- package.json | 2 +- website/src/repl/Repl.jsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 079a1a55..db694284 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "snapshot": "vitest run -u --silent", "repl": "cd website && npm run dev", "osc": "cd packages/osc && npm run server", - "build": "rm -rf out && cd repl && npm run build && cd ../tutorial && npm run build", + "build": "cd website && npm run build", "preview": "npx serve ./out", "deploy": "NODE_DEBUG=gh-pages gh-pages -d out", "jsdoc": "jsdoc packages/ -c jsdoc.config.json", diff --git a/website/src/repl/Repl.jsx b/website/src/repl/Repl.jsx index b6d1e006..ff6be87b 100644 --- a/website/src/repl/Repl.jsx +++ b/website/src/repl/Repl.jsx @@ -21,7 +21,7 @@ import './Repl.css'; import { Footer } from './Footer'; import { Header } from './Header'; import { prebake } from './prebake.mjs'; -import * as tunes from '../../../tunes.mjs'; +import * as tunes from './tunes.mjs'; initAudioOnFirstClick();