feat(app): add browser toolkit support

This commit is contained in:
2026-06-12 08:19:40 -05:00
parent 255e5a6b24
commit 26bdc8747f
71 changed files with 2746 additions and 314 deletions
+5
View File
@@ -3,6 +3,8 @@ import path from 'node:path';
import react from '@vitejs/plugin-react';
import { defineConfig } from 'vite';
import packageJson from './package.json';
const platformExtensions = [
'.web.tsx',
'.web.ts',
@@ -16,6 +18,9 @@ const platformExtensions = [
];
export default defineConfig({
define: {
'import.meta.env.VITE_APP_VERSION': JSON.stringify(packageJson.version),
},
plugins: [react()],
resolve: {
alias: [{ find: /^react-native$/, replacement: 'react-native-web' }],