diff --git a/webapp/bridge.js b/webapp/bridge.js index 41e1af8..0d8adb3 100644 --- a/webapp/bridge.js +++ b/webapp/bridge.js @@ -122,7 +122,6 @@ function migrateBufferFileToLibrary() { } migrateBufferFileToLibrary() - const Heynote = { platform: platform, defaultFontFamily: "Hack", diff --git a/webapp/vite.config.js b/webapp/vite.config.js index 7191747..748e3ea 100644 --- a/webapp/vite.config.js +++ b/webapp/vite.config.js @@ -26,7 +26,6 @@ const middleware = () => { } } - // https://vitejs.dev/config/ export default defineConfig({ publicDir: "../public", @@ -54,5 +53,6 @@ export default defineConfig({ define: { '__APP_VERSION__': JSON.stringify(process.env.npm_package_version), '__GIT_HASH__': JSON.stringify(child.execSync('git rev-parse --short HEAD').toString().trim()), + '__TESTS__': process.env.HEYNOTE_TESTS, }, })