Implement big text view and preliminary i18n

This commit is contained in:
aet
2021-11-06 21:49:54 -04:00
parent d2ae4be194
commit 7ee6990be1
22 changed files with 624 additions and 263 deletions

View File

@ -1,10 +1,11 @@
import { defineConfig } from "vite"
import react from "@vitejs/plugin-react"
import yaml from "@rollup/plugin-yaml"
// https://vitejs.dev/config/
export default defineConfig({
base: "./",
plugins: [react()],
plugins: [react(), yaml()],
define: {
global: "globalThis",
"process.browser": "true",
@ -16,6 +17,7 @@ export default defineConfig({
resolve: {
alias: {
path: require.resolve("path-browserify"),
buffer: require.resolve("buffer"),
},
},
})