Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ extension/dist

.yarn

.calcit-snippets/
.calcit-snippets/
349 changes: 208 additions & 141 deletions compact.cirru

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions deps.cirru
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@

{} (:calcit-version |0.11.8)
{} (:calcit-version |0.12.3)
:dependencies $ {} (|Memkits/genai.calcit |0.0.2)
|Respo/alerts.calcit |0.10.9
|Respo/reel.calcit |main
|Respo/respo-feather.calcit |main
|Respo/respo-markdown.calcit |0.4.11
|Respo/respo-ui.calcit |0.6.4
|Respo/respo.calcit |0.16.28
|Respo/respo.calcit |0.16.30
|calcit-lang/lilac |main
|calcit-lang/memof |0.0.23
39 changes: 23 additions & 16 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,19 +1,26 @@

<!DOCTYPE html>
<!doctype html>
<html>
<head>
<title>Gemini Msg</title>
<link
href="https://uxwing.com/wp-content/themes/uxwing/download/brands-and-social-media/google-gemini-icon.png"
rel="icon"
type="image/png"
/>
<link rel="manifest" href="./assets/manifest.json" />
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"
/>
<link
rel="stylesheet"
href="./node_modules/@tiye/main-fonts/local-fonts.css"
/>
</head>

<head>
<title>Gemini Msg</title>
<link href="https://uxwing.com/wp-content/themes/uxwing/download/brands-and-social-media/google-gemini-icon.png" rel="icon" type="image/png" />
<link rel="manifest" href="./assets/manifest.json">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"/>
<link rel="stylesheet" type="text/css" href="https://cdn.tiye.me/favored-fonts/main-fonts.css">
</head>

<body>
<div class="app" ></div>
<script type="module" src="./main.mjs" ></script>
</body>

<body>
<div class="app"></div>
<script type="module" src="./main.mjs"></script>
</body>
</html>
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"dependencies": {
"@calcit/procs": "^0.11.8",
"@google/genai": "^1.43.0",
"@calcit/procs": "^0.12.3",
"@google/genai": "^1.44.0",
"@tiye/main-fonts": "0.0.1",
"axios": "^1.12.2",
"cirru-color": "^0.2.4",
"copy-text-to-clipboard": "^3.2.2",
Expand All @@ -10,10 +11,10 @@
},
"devDependencies": {
"bottom-tip": "^0.1.5",
"vite": "^8.0.0-beta.11"
"vite": "^8.0.0-beta.18"
},
"scripts": {
"build": "yarn vite build --base ./ && rm -rfv extension/dist && cp -vr dist extension/"
"build": "rm -rfv dist && cr js && yarn vite build --base ./ && rm -rfv extension/dist && cp -vr dist extension/"
Comment thread
tiye marked this conversation as resolved.
},
"version": "0.0.1",
"packageManager": "yarn@4.12.0"
Expand Down
28 changes: 25 additions & 3 deletions vite.config.mjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,29 @@
import { defineConfig } from 'vite';
import { defineConfig } from "vite";

export default defineConfig({
build: {
minify: false
}
minify: false,
rollupOptions: {
output: {
manualChunks(id) {
if (id.includes("@google/genai")) {
return "genai";
}

if (id.includes("/openai/") || id.includes("/openai@")) {
return "openai";
}

if (
id.includes("/node_modules/respo") ||
id.includes("/node_modules/reel") ||
id.includes("/node_modules/memof") ||
id.includes("/node_modules/@calcit/procs")
) {
return "vendor-core";
}
},
},
},
},
});
Loading
Loading