This commit is contained in:
Vitalii Litvinchuk
2026-06-10 15:09:45 +03:00
commit dc8c379ecf
20 changed files with 4457 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
import { defineConfig, loadEnv } from "vite";
import react from "@vitejs/plugin-react";
import { cryptoLockerPlugin } from "@crypto-locker/core/plugin";
export default defineConfig(({ mode }) => {
const env = loadEnv(mode, process.cwd(), '');
return {
plugins: [
react({
exclude: /\.secret\.[jt]sx?$/,
}),
cryptoLockerPlugin({
password: env.LOCKER_PASSWORD || "secret123",
}),
],
};
});