Skip to content

Commit

Permalink
Add critters
Browse files Browse the repository at this point in the history
Todo: Find a fix or workaround for GoogleChromeLabs/critters#111

Signed-off-by: C0D3 M4513R <[email protected]>
  • Loading branch information
C0D3-M4513R committed Aug 9, 2024
1 parent 3fe0ad4 commit 9ea0b54
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 32 deletions.
35 changes: 4 additions & 31 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
},
"devDependencies": {
"@vitejs/plugin-vue": "^5.0.4",
"critters": "^0.0.24",
"vite": "^5.1.5",
"vite-plugin-pages": "^0.32.1",
"vite-ssg": "^0.23.8",
Expand Down
6 changes: 5 additions & 1 deletion vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,11 @@ export default defineConfig({
}
},
ssgOptions: {
script: "async",
crittersOptions : {
path: "./dist",
pruneSource: true,
fonts: true,
},
formatting: "minify",
dirStyle: "nested",
/*include the dynamic FAQ routes*/
Expand Down

0 comments on commit 9ea0b54

Please sign in to comment.