Initial stab at vitejs update

This commit is contained in:
2024-03-24 11:18:29 -06:00
parent 7ce00b86e8
commit 38f44771e9
19 changed files with 4982 additions and 11083 deletions

View File

@@ -539,9 +539,7 @@ import {
EndorserRateLimits,
ImageRateLimits,
} from "@/libs/endorserServer";
// eslint-disable-next-line @typescript-eslint/no-var-requires
const Buffer = require("buffer/").Buffer;
import { Buffer } from "buffer/";
interface IAccount {
did: string;

View File

@@ -385,7 +385,7 @@ export default class Help extends Vue {
$notify!: (notification: NotificationIface, timeout?: number) => void;
package = Package;
commitHash = process.env.VUE_APP_GIT_HASH;
commitHash = import.meta.env.VITE_GIT_HASH;
showOnboardInfo() {
this.$notify(