Skip to content

Commit

Permalink
cache
Browse files Browse the repository at this point in the history
  • Loading branch information
elringus committed Nov 10, 2023
1 parent 6a38fff commit de4cea2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
- run: sudo apt install ffmpeg -y
- run: npm ci
- run: npm run build
- uses: actions/configure-pages@v3
Expand Down
7 changes: 6 additions & 1 deletion docs/.vitepress/ext/vite/vite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@ import { UserConfig, Alias } from "vite";
import imgit from "../../imgit/plugin/vite";

export const Vite: UserConfig = {
plugins: [imgit({ ext: ".md", enforce: "pre", local: "./docs/public/assets" })],
plugins: [imgit({
ext: ".md",
enforce: "pre",
local: "./docs/public/assets",
cache: "./docs/public/assets/remote/.cache"
})],
resolve: { alias: [override("NotFound", "not-found")] }
};

Expand Down
1 change: 1 addition & 0 deletions docs/public/assets/remote/.cache/size.json

Large diffs are not rendered by default.

0 comments on commit de4cea2

Please sign in to comment.