diff --git a/postcss.config.js b/postcss.config.js index 2e7af2b..2aa7205 100644 --- a/postcss.config.js +++ b/postcss.config.js @@ -3,4 +3,4 @@ export default { tailwindcss: {}, autoprefixer: {}, }, -} +}; diff --git a/src/js/communication.js b/src/js/communication.js index df0e478..83da3c2 100644 --- a/src/js/communication.js +++ b/src/js/communication.js @@ -1,6 +1,6 @@ /** Communication Logic with the Boat. */ import { invoke } from "@tauri-apps/api"; -import { emit, listen } from "@tauri-apps/api/event"; +import { listen } from "@tauri-apps/api/event"; import * as logging from "tauri-plugin-log-api"; import * as boat_vars from "./data"; @@ -26,7 +26,7 @@ if (run_button === null) { } catch (e) { logging.error(e); } - }) + }); } /** The current connected port. diff --git a/tailwind.config.js b/tailwind.config.js index 0e1c520..2b5008a 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -5,5 +5,5 @@ export default { extend: {}, }, plugins: [], -} +}; diff --git a/vite.config.js b/vite.config.js index 95f036a..46d3b20 100644 --- a/vite.config.js +++ b/vite.config.js @@ -1,3 +1,5 @@ +import * as process from "process"; + export default { root: "./src", // prevent vite from obscuring rust errors @@ -17,4 +19,4 @@ export default { // produce sourcemaps for debug builds sourcemap: !!process.env.TAURI_DEBUG, } -} +};